diff options
author | William Carroll <wpcarro@gmail.com> | 2016-11-16T20·12-0500 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2016-11-16T20·12-0500 |
commit | c5a96b49b7a12b52cf9bfdeb4663c6272e093adc (patch) | |
tree | 722bb94264df0ab8c392191c266f088ef64cbb40 /configs/.vimrc | |
parent | a96c00a36c090f7b23c96861d683977674bc369d (diff) |
Adds relative number settings for line numbers
Diffstat (limited to 'configs/.vimrc')
-rw-r--r-- | configs/.vimrc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configs/.vimrc b/configs/.vimrc index fc5b31859eee..b5bb7241c009 100644 --- a/configs/.vimrc +++ b/configs/.vimrc @@ -84,6 +84,11 @@ set foldnestmax=10 set nofoldenable set foldlevel=4 + +" Use relative line numbers +set relativenumber + + " Opens all folds within the buffer nnoremap ZZ zR @@ -361,6 +366,7 @@ nnoremap <leader>8 :vertical resize 80<CR> nnoremap <leader>9 :vertical resize 90<CR> nnoremap <leader>0 :vertical resize 100<CR> + " Increases the height of a horizontal split. nnoremap <leader>v1 :resize 5<CR> nnoremap <leader>v2 :resize 10<CR> |