From: Simon Ruderich Date: Tue, 29 Apr 2014 14:30:29 +0000 (+0200) Subject: vimrc: split verbatim into verbatim and list mapping X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=4b75b7303116e43b1d842f8102dbb8a78cc880ce vimrc: split verbatim into verbatim and list mapping --- diff --git a/vimrc b/vimrc index 8b394d0..64a6225 100644 --- a/vimrc +++ b/vimrc @@ -622,9 +622,11 @@ if has('eval') nnoremap t :call UseTabs() endif " Enable "verbatim" mode. Used to view files with long lines or without syntax -" coloring. -nnoremap v :set nolist nowrap nospell synmaxcol=0 +" coloring. 'list' is not changed, see next mapping. +nnoremap v :setlocal nowrap nospell synmaxcol=0 \ :2match +" Toggle 'list'. +nnoremap l :set invlist " Make last active window the only window. Similar to o. nnoremap O po