summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorAgathe Porte <microjoe@microjoe.org>2021-10-02 12:46:27 +0200
committerAgathe Porte <microjoe@microjoe.org>2021-10-02 12:46:27 +0200
commit663ae79f6141fa283ce03e20e03946d94438d930 (patch)
tree2516a0e2301236f3d2fc941b5e829fde63c763bf /plugin
parentb59c6546fd3ddd37e458e05024fae0618265c6cb (diff)
downloadbepo.vim-663ae79f6141fa283ce03e20e03946d94438d930.tar.gz
bepo.vim-663ae79f6141fa283ce03e20e03946d94438d930.zip
add support for vim-surround
Diffstat (limited to 'plugin')
-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
" ------------------