Skip to content
Browse files

Add relative line number toggle to vimrc

  • Loading branch information...
1 parent 42d3677 commit 12696e7a8a3ee99b611e0b37d90bfdcb173a7193 John Watson committed Apr 12, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 vimrc
3 vimrc
@@ -67,5 +67,8 @@ set pastetoggle=<F2>
" F3 to toggle line numbers
nnoremap <F3> :set invnu nu?<CR>
+" F4 to toggle relative line numebrs
+nnoremap <F4> :set invrnu rnu?<CR>
" Format statusline
set statusline=%F%m%r%h%w\ [FMT:%{&ff}]\ [TYP:%Y]\ [L:%l\ C:%v]\ [%p%%/%L]

0 comments on commit 12696e7

Please sign in to comment.
Something went wrong with that request. Please try again.