I’d like actual examples instead of “I work faster”, something like “I can move straight to the middle of the file with 7mv” or “I can keep 4 different text snippets in memory and paste each with a number+pt, like 2pt”, things that you actually use somewhat frequently instead of what you can do, but probably only did once.

  • cosmicbytes@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    7 months ago

    Time saved is not the most important part. Here is my opinion:

    • it is very satisfying to use. Once it becomes muscle memory, vim just gets out of your way, and you feel like you’re one with the computer. Your ideas flow freely from brain to document.
    • neovim is highly customizable and scriptable. You can make it do many things, many of which were never even conceived by the developers.
  • Balinares@pawb.social
    link
    fedilink
    arrow-up
    1
    ·
    7 months ago

    Where editors usually have editing shortcuts, vim has an editing grammar.

    So you can copy (or select, or replace, or delete, or any other editing verb) N arguments or blocks or lines or functions or any entity for which vim has an editing noun, or around or inside either of these, and you only need to remember a few such editing verbs and nouns and adjectives in order to immediately become much more effective.

    It’s so effective that switching back to a regular editor feels annoyingly clunky. (I guess that’s why many offer vim plugins these days.)

    Better: you can record entire editing sentences and replay them. Ever had to make the same change on dozens of lines? Now you can do it in seconds.

    Now of course, replaying a sentence, or several sentences, is also a sentence of its own that you can replay in another file if you want.

    It’s neat. :)

  • 🦄🦄🦄@feddit.org
    link
    fedilink
    Deutsch
    arrow-up
    0
    ·
    7 months ago

    I am logged into various servers via ssh constantly and nano or vim (or at least vi) are installed pretty much by default everywhere.

  • peto (he/him)@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    7 months ago

    Honestly the best bit is just not feeling the need to take my hand off the keyboard and use the mouse. I don’t think I can quantify the time saved, but I can tell you I really notice when I’m using software that makes me have to switch.

      • subversive_dev@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        7 months ago

        I don’t know if this comment comes from ignorance or snarkiness but it’s really not the same. Other editors add in hotkeys over time to perform a single function.

        Vim key bindings are actually a terse text manipulation language where you can form arbitrary “sentences” like:

        • ciw - change the current word, meaning remove it and then enter insert mode

        • D - delete until end of line

        • dt: - delete everything between the cursor and the next colon on this line

        • 10"ap Paste the contents of the a register 10 times