Showing posts with label vim. Show all posts
Showing posts with label vim. Show all posts

Wednesday, 15 May 2013

Vim on Windows

On Linux, all the Vim plugin and autoload files are put in ~/.vim folder. On Windows, they should be put in the ~/vimfiles folder. For example to use pathogen, put the pathogen.vim file in ~/vimfiles/autoload; otherwise Vim will not be able to find the .vim file.

Sunday, 24 February 2013

Vim cheat sheet

Compound command
Compound commandEquivalent in longhand Effect
Cc$clear to the end of the line
sclclear to right
S^Cclear to the start of the line
I^iinsert from the start of the line
A$ainsert after the end of the line
oA<CR>insert to the new line below
Okoinsert to the new line above