diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-10 21:41:52 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-10 21:41:52 +1300 |
commit | 44d807167f1cf122e83e4a9b7c5c15409ab3d96d (patch) | |
tree | c9645086380fed9a5d663a60a0422a4e2ea51c78 /vim/config/display.vim | |
parent | Move 'paste' options into terminal.vim (diff) | |
download | dotfiles-44d807167f1cf122e83e4a9b7c5c15409ab3d96d.tar.gz dotfiles-44d807167f1cf122e83e4a9b7c5c15409ab3d96d.zip |
Rearrange three smaller files into display.vim
Diffstat (limited to 'vim/config/display.vim')
-rw-r--r-- | vim/config/display.vim | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vim/config/display.vim b/vim/config/display.vim new file mode 100644 index 00000000..bb160915 --- /dev/null +++ b/vim/config/display.vim @@ -0,0 +1,16 @@ +" Don't show the Vim startup message, I have registered Vim and donated to +" Uganda +set shortmess+=I + +" Don't show whitespace characters or end-of-line characters visually by +" default, but make \l toggle between them +set nolist +nnoremap <silent> + \ <Leader>l + \ :<C-U>setlocal list! list?<CR> + +" Don't show line numbers by default, but \n toggles them +set nonumber +nnoremap <silent> + \ <Leader>n + \ :<C-U>setlocal number! number?<CR> |