Vim - Syntax highlighting

Turn on color syntax highlighting Now press ESC key, type : syntax on :syntax on You can edit ~/.vimrc file and add command syntax on to it so that next you will start vim with color syntax highlighting option $ vim ~/.vimrc Append the following line: syntax on

30 March 2010 @ 01:01 · Updated: 30 June 2026 @ 03:28 · leo

Vim - Fix arrow keys that display A B C D on remote shell

A little fix for arrow keys in Vim, that display A B C D on remote terminal if in the system you don’t wanna declare “TERM” just insert into yout ~/.vimrc the terminal type like this: set term=xterm

22 July 2009 @ 10:57 · Updated: 30 June 2026 @ 03:28 · leo