From 4b75b7303116e43b1d842f8102dbb8a78cc880ce Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 29 Apr 2014 16:30:29 +0200 Subject: [PATCH] vimrc: split verbatim into verbatim and list mapping --- vimrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.45.2