summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-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