I always use Vim on our servers (mostly Ubuntu based) and I always lack a good configuration that suits vim over SSH without too much frills.
I'd like to gather as much as possible configuration settings for someone who writes mostly bash, zsh and ruby code directly on the server.
Best Answer
The best thing I've learned recently is using
jj
instead of<esc>
to enter normal mode:Also, if you make use of splits via the
split
(tall terminal) orvsplit
(wide terminal) command, then remapping the switch-split command is invaluable; I use,
(comma) to switch amongst my splits:Check out the top questions for vim over on Stack Overflow, too.