Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (20 sloc) 826 Bytes

VIM Tips and Tricks

Keyboard shortcuts

Bookmarks

  • mark* locations

    • ma -- set the mark a at the current position
    • `a -- jump to mark a
    • :marks -- show bookmarks
  • scroll*

    • zt -- scroll current line to top of screen
    • z. -- scroll current line to middle of screen
    • zb -- scroll current line to bottom of screen

.vimrc files

vim tricks

  • for a case insensitive search use the \c escape sequence

      /\ccopyright
    
You can’t perform that action at this time.