• shalva97@lemmy.world
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    6 months ago

    For me that’s not how it works. there is no way to escape mouse. People use Jira, Figma, Charles, lots of different software that just doesn’t have support for Vim like keys.

    Vim is good at editing a single file at a time. In my case I do like 95% reading and 5% editing. Most of the time there are bugs to fix, in a day I might read 20-30 files and change 5 lines in 5 different files.

    now add one more detail. None of my coworkers know Vim so when I ask for help I need to make sure I turn Vim shortcuts otherwise they won’t be able to help.

    you can go on GitHub on any repo and press . you will get vscode in your browser. Did same with my server and after that I just never want to look at Vim. If I have to use cli then I will install micro editor

    • DigitalDruid@lemmy.sdf.org
      link
      fedilink
      arrow-up
      10
      ·
      edit-2
      6 months ago

      Vim is good at editing a single file at a time

      vim has tabs (:tabe) and any vim screen can be divided into panes vertically, horizontally, and nested inside each other. Each pane can be a unique file. You can resize the panes how you like and It’s trivial to open files in panes on remote machines as well. If you’re using a mouse plugin you can dynamically resize your panes with the mouse even on remote sessions which is nice. You can move data effortlessly between any files you have open in the same vim instance even if the files are on different networks.

      Vim is very good at editing multiple files at a time.

      with tmux in the stack you can disconnect from a remote machine, come back later and restart your session and all of your files are still open in place on the remote server.