diff options
-rw-r--r-- | vim/config/number.vim | 3 | ||||
-rw-r--r-- | vim/vimrc | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/vim/config/number.vim b/vim/config/number.vim new file mode 100644 index 00000000..464a77a2 --- /dev/null +++ b/vim/config/number.vim @@ -0,0 +1,3 @@ +" Don't show line numbers by default, but \n toggles them +set nonumber +nnoremap <leader>n :setlocal number!<CR> @@ -99,10 +99,6 @@ set report=0 " more than scratch space anyway set shellslash -" Don't show line numbers by default, but \n toggles them -set nonumber -nnoremap <leader>n :setlocal number!<CR> - " Start paste mode with F10 to prevent console Vim from confusing a swathe of " pre-formatted pasted text with actual keyboard input, and thereby attempting " to indent it inappropriately. If unimpaired.vim is available, it's generally |