summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAgathe Porte <microjoe@microjoe.org>2023-11-06 16:40:04 +0200
committerAgathe Porte <microjoe@microjoe.org>2023-11-06 16:40:04 +0200
commitdaf535c5a17e9d1c4c0929daa670988a3962532f (patch)
tree741939789faaa01977d1110a13af11b8970fb6b5
parent663ae79f6141fa283ce03e20e03946d94438d930 (diff)
downloadbepo.vim-main.tar.gz
bepo.vim-main.zip
add comments for vim-surroundmain
-rw-r--r--plugin/bepo.vim12
1 files changed, 11 insertions, 1 deletions
diff --git a/plugin/bepo.vim b/plugin/bepo.vim
index 3b5d530..9a316b2 100644
--- a/plugin/bepo.vim
+++ b/plugin/bepo.vim
@@ -10,18 +10,28 @@ endif
" vim-surround {{{1
let g:surround_no_mappings = 1
+" delete surround
nmap dè <Plug>Dsurround
+" change surround
nmap lè <Plug>Csurround
+" add surround
nmap yè <Plug>Ysurround
+" add surround with new line
nmap yÈ <Plug>YSurround
+" surround line
nmap yèè <Plug>Yssurround
+" surround line with new line
nmap yÈè <Plug>YSsurround
nmap yÈÈ <Plug>YSsurround
+
+" visual surround
xmap È <Plug>VSurround
+" visual surround with new line
xmap gÈ <Plug>VgSurround
-imap <C-È> <Plug>Isurround
+" insert surround
imap <C-G>è <Plug>Isurround
+" insert surround with new line
imap <C-G>È <Plug>ISurround
" Échange É et W{{{1