mikshaw


Group: Members
Posts: 4856
Joined: July 2004 |
 |
Posted: July 31 2005,15:00 |
 |
There is a huge repository of Vim tips and tricks at vim.org...so many that you need some serious free time to read through them. Here are a few of my favorites so far:
:r <filename> -- Insert a file below the cursor :r !<command> -- Insert the output of a command below the cursor % -- Match the bracket under (or nearest one after) the cursor * -- find all instances of the word under the cursor # -- same as * in reverse shift+click -- in gvim, same as * (right-click for reverse) guu/gUU -- lowercase/uppercase line gf -- open filename listed under cursor ga -- display ascii, hex, and octal code of the character under cursor ctrl+a/ctrl+x -- increment/decrement number under cursor ctrl+n (while typing) -- word completion, cycles through words in current or included file(s) :set verbose <option>? -- tells you where <option> was last set
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|