summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Porte <microjoe@microjoe.org>2021-10-02 12:46:27 +0200
committerRomain Porte <microjoe@microjoe.org>2021-10-02 12:46:27 +0200
commit60c0014bf74cd60890a737645ac97abb892c51e4 (patch)
treed5cd24093ff9e37a29e596127be640efcd88d557
parent9d6dd348203b51de7fd61bf9a8d2e0c7a4d3e43e (diff)
downloadbepo.vim-master.tar.gz
bepo.vim-master.zip
add support for vim-surroundHEADmaster
-rw-r--r--plugin/bepo.vim16
1 files changed, 16 insertions, 0 deletions
diff --git a/plugin/bepo.vim b/plugin/bepo.vim
index 17865be..3b5d530 100644
--- a/plugin/bepo.vim
+++ b/plugin/bepo.vim
@@ -8,6 +8,22 @@ else
let g:loaded_bepo = 1
endif
+" vim-surround {{{1
+let g:surround_no_mappings = 1
+nmap dè <Plug>Dsurround
+nmap lè <Plug>Csurround
+nmap yè <Plug>Ysurround
+nmap yÈ <Plug>YSurround
+nmap yèè <Plug>Yssurround
+nmap yÈè <Plug>YSsurround
+nmap yÈÈ <Plug>YSsurround
+xmap È <Plug>VSurround
+xmap gÈ <Plug>VgSurround
+
+imap <C-È> <Plug>Isurround
+imap <C-G>è <Plug>Isurround
+imap <C-G>È <Plug>ISurround
+
" Échange É et W{{{1
" ------------------