.vimrc: +<Esc>s: wdiff
authorJan Kratochvil <jan@jankratochvil.net>
Wed, 11 Aug 2021 08:34:27 +0000 (10:34 +0200)
committerJan Kratochvil <jan@jankratochvil.net>
Wed, 11 Aug 2021 08:34:27 +0000 (10:34 +0200)
.vimrc

diff --git a/.vimrc b/.vimrc
index 5254f87..fad69ee 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -102,6 +102,7 @@ noremap <C-d> G:r !date '+\%H:\%M:\%S-'<cr>kA
 noremap <Esc>d :set hlsearch<cr>/^[+-]\([^+-].*\\|\)$<cr>
 noremap <Esc>D :set hlsearch<cr>/^[+-][+-]\([^+-].*\\|\)$<cr>
 noremap <Esc>w 0i <Esc>/[^ ]<cr>vf.h"kyf./[^ ]<cr>vf.h"ly0x:r !date -d "`date '+\%Y'`-<C-r>l-<C-r>k" '+\%u'<cr>yypkV:!tr '1234567' 'PUSCPSN'<cr>jV:!tr '1234567' 'otttaoe'<cr>kJxv0xk0llllllplxxjddk0
+noremap <Esc>s :syntax on<cr>:set syntax=wdiff<cr>
 noremap * :let ic_save=&ic<cr>:set noic<cr>*:let &ic=ic_save<cr>
 noremap # :let ic_save=&ic<cr>:set noic<cr>#:let &ic=ic_save<cr>
 noremap <C-k> :w<cr>:!aspell --check '%'<cr>:e<cr>