From f28834b6365b705d951c0a7259da3b6a2e6826c6 Mon Sep 17 00:00:00 2001 From: typebrook Date: Thu, 2 May 2019 00:06:14 +0800 Subject: update --- vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index fed3305..7f26e1b 100644 --- a/vimrc +++ b/vimrc @@ -22,12 +22,13 @@ nnoremap o nnoremap ddkP nnoremap ddp -nnoremap s +nnoremap s \ : if exists("syntax_on") \ syntax off \ else \ syntax enable \ endif +nnoremap S :echo join(reverse(map(synstack(line('.'), col('.')), 'synIDattr(v:val,"name")')),' ') nnoremap tt :VimwikiTable nnoremap wg :VimwikiGoto -- cgit v1.2.3-70-g09d2