gq]/ -- formatting comments gg=G to format whole file == to format current line '=' to format selected region :Man 'or' type \K on word under cursor "Ctrl-\ s" to find all occurences of a symbol using Cscope "Ctrl- s" to find all occurences of a symbol using Cscope (in a split window) vim tips -------- :set hlsearch Use * Use Ctrl-N command Omni-completion: ^O^N^P :!ctags -R :tag init :tnext :grep \"" **/*.h :clist, copen, cnext goto file --> :gf [I --> find the word under the cursor in include files [ --> jump to the first match in include files (quite useful)