summaryrefslogtreecommitdiff
path: root/plugin/perso.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/perso.vim')
-rwxr-xr-xplugin/perso.vim13
1 files changed, 11 insertions, 2 deletions
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)