aboutsummaryrefslogtreecommitdiff
path: root/vim/config/display.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-10 21:41:52 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-10 21:41:52 +1300
commit44d807167f1cf122e83e4a9b7c5c15409ab3d96d (patch)
treec9645086380fed9a5d663a60a0422a4e2ea51c78 /vim/config/display.vim
parentMove 'paste' options into terminal.vim (diff)
downloaddotfiles-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.vim16
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>