top | item 1469902

Essential Vim

53 points| mace | 15 years ago |pixelbeat.org | reply

23 comments

order
[+] nitrogen|15 years ago|reply
It would be nice if that table included the full versions of some of the commands. For example:

  :sp is equivalent to :split
  :vs is equivalent to :vsplit
For me at least, the abbreviated commands become more intuitive if I know exactly what's being abbreviated (most of the time I type :vsplit instead of :vs anyway).
[+] sigzero|15 years ago|reply
I like to know the long version before I start abbreviating things too.
[+] koenigdavidmj|15 years ago|reply
Poor guy uses the Insert key to get into insert mode. My wrists already feel pain just from reading that.

A lot of his keybindings are are similarly nonstandard.

[+] nitrogen|15 years ago|reply
I almost never use i to get into insert mode. I use a or o almost exclusively.
[+] BoppreH|15 years ago|reply
Thanks for the heads up. I was already bookmarking it to practice.
[+] alexkay|15 years ago|reply
Same for Esc to leave it, C-[ works much better.
[+] epistemenical|15 years ago|reply
> If you are transitioning from windows, then in order of preference you will probably want to use, evim, gvim, vim.

What advantage does console vim have over gvim

[+] telemachos|15 years ago|reply
Probably "regular" vim goes last in that list because the author assumes Windows users are unfamiliar with the terminal. But it can be easier to open vim in the console for something quick or if you're doing something over the network (say, ssh). For example, I use the terminal often for quick commit messages or short edits and consistently for Mutt. Regular vim is easier with Mutt rather than kicking open G/Mvim and then returning to the terminal to send the mail. (You can automate the right return to focus for the terminal when you close G/Mvim, but it's still a bit jarring.) For very long edits on a good connection, I will open sshfs and use M/Gvim, but in general ssh + vim is simpler.
[+] jimmyjim|15 years ago|reply
Now, someone give me the equivalent 'Essential Emacs' link please! =)
[+] crazydiamond|15 years ago|reply
Please go to the catonmat site. It has cheat sheets for vim, emacs and a bunch of other useful things.

There's also a ruby gem named "cheat" which has cheatsheets for 100's of commands and programs. you can access them on your command-line.