diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-28 21:58:52 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-28 21:59:03 +1300 |
commit | 6876b5850cee41aca2ba79960751d97c77a17e0a (patch) | |
tree | 6d7c82cc127641718e65510619ffc78e4732c217 /vim | |
parent | Move terminal .vimrc config into subfile (diff) | |
download | dotfiles-6876b5850cee41aca2ba79960751d97c77a17e0a.tar.gz dotfiles-6876b5850cee41aca2ba79960751d97c77a17e0a.zip |
Move line number .vimrc config into subfile
This file is rather short; it may turn out to make more sense to put
these settings elsewhere a bit later.
Diffstat (limited to 'vim')
-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 |