Skip to content

Commit

Permalink
add mapping to toggle relative line numbering
Browse files Browse the repository at this point in the history
  • Loading branch information
acx0 committed Dec 5, 2015
1 parent 5f8d316 commit 5ef92b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vimrc
Expand Up @@ -99,6 +99,8 @@ set laststatus=2 " always show status line

nnoremap <Leader>cl :setlocal cursorline! cursorline?<CR>
nnoremap <Leader>rn :set relativenumber! relativenumber?<CR>
" --searching
set ignorecase " ignore case when searching
set smartcase " case sensitive only when capital letter in expression
Expand Down

0 comments on commit 5ef92b6

Please sign in to comment.