aboutsummaryrefslogtreecommitdiff
path: root/vim/config/list.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/config/list.vim')
-rw-r--r--vim/config/list.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/vim/config/list.vim b/vim/config/list.vim
index 209bb4ec..1cb4345b 100644
--- a/vim/config/list.vim
+++ b/vim/config/list.vim
@@ -1,7 +1,9 @@
" Don't show whitespace characters or end-of-line characters visually by
" default, but make \l toggle between them
set nolist
-nnoremap <Leader>l :setlocal list! list?<CR>
+nnoremap <silent>
+ \ <Leader>l
+ \ :<C-U>setlocal list! list?<CR>
" Clearly show when the start or end of the row does not correspond to the
" start and end of the line