DEV Community


Discussion on: Vim won't make you a more productive developer

tedhagos profile image
Ted Hagos

Things I like with Vim;

  1. Running commands on the shell then pasting the results into the buffer
  2. It blends very well in a multi-panel tmux session
  3. I can go to the top and bottom of the file with gg and G
  4. You don't need to the reach for the mouse

There are lots of other things, but these are probably the top 4 for me.

I generally don't want to recommend Vim, or any editor for that matter, to anybody. I think people, most specially coders, would like to try out lots of editors before they gravitate to their preferences. Then at at that point, they should just use whatever feels very natural for them. To each his own, I guess.

codemouse92 profile image
Jason C. McDonald • Edited

I prefer to recommend that developers try both vim and emacs at some point - that leaves the decision of whether to learn either (or both) entirely up to them. Personally, I know both, although I gravitate towards vim in the command-line. A lot of devs are scared off by the respective exit commands alone, so it takes some encouragement for them to try those editors in earnest, I believe.

That said, I do recommend that Linux ITs and sysadmins learn at least one power-user text editor. The time taken to learn vim or emacs quickly pays for itself when maintaining a server. (nano is a terrible option for that purpose.) Even if one has managed to set up their IDE or fancy window-system-based text editor to be able to edit remote server files, one should still know a good command-line editor; you can't always connect your favorite machine to the server when a fix is needed!

Forem Open with the Forem app