Skip to content

Instantly share code, notes, and snippets.

@jbailey
Created July 2, 2012 20:47
Show Gist options
  • Save jbailey/3035602 to your computer and use it in GitHub Desktop.
Save jbailey/3035602 to your computer and use it in GitHub Desktop.
Relative line numbers in normal mode for VIM
" Line number stuff
set rnu
au InsertEnter * :set nu
au InsertLeave * :set rnu
au FocusLost * :set nu
au FocusGained * :set rnu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment