From 6c79543627eb0c3d6883687eed3e5c7794d84e5c Mon Sep 17 00:00:00 2001 From: ache Date: Thu, 13 Dec 2018 20:41:55 +0100 Subject: Conceallevel --- plugin/perso.vim | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'plugin/perso.vim') diff --git a/plugin/perso.vim b/plugin/perso.vim index 2b3959d..33f238c 100755 --- a/plugin/perso.vim +++ b/plugin/perso.vim @@ -151,6 +151,15 @@ smap neosnippet#expandable_or_jumpable() ? \ "\(neosnippet_expand_or_jump)" : "\" " For conceal markers. + if has('conceal') - set conceallevel=2 concealcursor=niv -endif + set conceallevel=2 concealcursor=niv + endif + +map :exec &conceallevel ? "set conceallevel=0" : "set conceallevel=2" + +" Start interactive EasyAlign in visual mode (e.g. vipga) +xmap ga (EasyAlign) + +" Start interactive EasyAlign for a motion/text object (e.g. gaip) +nmap ga (EasyAlign) -- cgit v1.2.3