diff options
author | ache <ache@ache.one> | 2018-12-13 20:41:55 +0100 |
---|---|---|
committer | ache <ache@ache.one> | 2018-12-13 20:41:55 +0100 |
commit | 6c79543627eb0c3d6883687eed3e5c7794d84e5c (patch) | |
tree | 607437cae4d2905544a35d1a9a303deab0822fd8 /plugin | |
parent | Play with t/f complements (,;) (diff) |
Conceallevel
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/neo.vim | 1 | ||||
-rwxr-xr-x | plugin/perso.vim | 13 |
2 files changed, 12 insertions, 2 deletions
diff --git a/plugin/neo.vim b/plugin/neo.vim index ab9592c..0b9826f 100644 --- a/plugin/neo.vim +++ b/plugin/neo.vim @@ -1,5 +1,6 @@ "" Neovim stuffs au VimLeave * set guicursor=a:hor100-blinkon1000 +set concealcursor-=n :tnoremap <C-b> <C-\> 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 <expr><TAB> neosnippet#expandable_or_jumpable() ? \ "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>" " For conceal markers. + if has('conceal') - set conceallevel=2 concealcursor=niv -endif + set conceallevel=2 concealcursor=niv + endif + +map <C-l> :exec &conceallevel ? "set conceallevel=0" : "set conceallevel=2"<CR> + +" Start interactive EasyAlign in visual mode (e.g. vipga) +xmap ga <Plug>(EasyAlign) + +" Start interactive EasyAlign for a motion/text object (e.g. gaip) +nmap ga <Plug>(EasyAlign) |