Adds relative number settings for line numbers

This commit is contained in:
William Carroll 2016-11-16 15:12:22 -05:00
parent a96c00a36c
commit c5a96b49b7

View file

@ -84,6 +84,11 @@ set foldnestmax=10
set nofoldenable set nofoldenable
set foldlevel=4 set foldlevel=4
" Use relative line numbers
set relativenumber
" Opens all folds within the buffer " Opens all folds within the buffer
nnoremap ZZ zR nnoremap ZZ zR
@ -361,6 +366,7 @@ nnoremap <leader>8 :vertical resize 80<CR>
nnoremap <leader>9 :vertical resize 90<CR> nnoremap <leader>9 :vertical resize 90<CR>
nnoremap <leader>0 :vertical resize 100<CR> nnoremap <leader>0 :vertical resize 100<CR>
" Increases the height of a horizontal split. " Increases the height of a horizontal split.
nnoremap <leader>v1 :resize 5<CR> nnoremap <leader>v1 :resize 5<CR>
nnoremap <leader>v2 :resize 10<CR> nnoremap <leader>v2 :resize 10<CR>