Monday, February 23, 2009

[vim] Autocompletion/Commenting a block in vim

Here is a useful tip (IMHO) to use autocompletion in vim.
To make it short, just type the first few letters and hit Ctrl+p.
Tip found at here

Another tip to comment a block in vim.
Select a block in Visual Mode (Ctrl+V), press Shift+I and type your comment sign (# for perl)
Tip found at here