• thisisnotgoingwell@programming.dev
    link
    fedilink
    arrow-up
    5
    ·
    5 months ago

    vi is basically gonna be on every Linux based machine until the end of time. Nano usually needs to be installed, which in corpo environments, you may not have the ability to do that. I made my peace with vim for sysadmin stuff or simple changes like editing yaml files. Vi also has some pretty good features out of the box which are good to learn.

    • CubitOom@infosec.pub
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 months ago

      I was about to resign myself to vi but then I learned that in Emacs you can use tramp to remotely edit files.

      So now I can use my configured preferences for emacs on any online server which includes the vi keybindings via evil-mode.

      • kata1yst
        link
        fedilink
        arrow-up
        8
        ·
        5 months ago

        vim scp://user@myserver[:port]//path/to/file.txt can also accomplish this in vim, FWIW.