• Anti Weeb Penguin
    link
    fedilink
    English
    20
    edit-2
    1 year ago

    How to use vim in 2 simple steps:

    1- Pretend to use vim

    2- Use nano like a normal person

  • @[email protected]OP
    link
    fedilink
    English
    14
    edit-2
    1 year ago

    Transcription:

    [you go to jail meme template]

    Panel 1: You want to write a program? Use vim.

    Panel 2: [logos of matplotlib, pandas, and R] Need to process scientific data? Also vim.

    Panel 3: [LaTeX logo] Writing a report about that data? Vim.

    Panel 4: [OpenSCAD, CadQuery logos] 3D modeling? Believe it or not, straight to vim.

  • b3nsn0w
    link
    fedilink
    English
    131 year ago

    and when something isn’t available in vim, just use the built-in terminal to access it

    “What are you trying to tell me? What I can quit vim?”
    “No, Neo. I’m trying to tell you that when you’re ready, you won’t have to.”

    • @[email protected]
      link
      fedilink
      English
      71 year ago

      When I was programming around 1990, we used VI, not VIM, and there was this rivalry with the emacs people. It was like one of those “Windows vs Mac”, “iOS vs Android” things but with UNIX text editors. Glad to see, 30+ years later, VI(M) people and emacs people are able to reconcile their differences :)

      Now I feel bad to have moved to other editors over the years, nowadays VSCode :P

  • Nomecks
    link
    fedilink
    31 year ago

    I dunno, sed, awk and echo do just fine without layering on the bloat with Vim

  • Nanachi
    link
    fedilink
    English
    21 year ago

    “Keeping a diary of your life? vim. Managing AI data? vim. Doing simple edits on programs? IDK, nano I guess.”

    • @[email protected]OP
      link
      fedilink
      English
      11 year ago

      You can do 3D modeling with OpenSCAD, which uses plaintext files as source code for 3D models. So yes, you can edit these .scad files with vim. If you then want to compile and preview your model, you can just open the official OpenSCAD editor and close the text pane. It’ll automatically watch the file you’re editing for changes, compile it, and give you a preview of the model that you can rotate and move around.

      The other software mentioned in the last panel is cadquery. It’s a Python library for creating 3d models. But it’s much slower and buggier than OpenSCAD, and, in my opinion, less intuitive.

  • sebastian_m
    link
    fedilink
    11 year ago

    Funnily enough, I have had the same experience recently, but with VSCode