" vim-bepo - Plugin vim pour disposition de clavier bépo" " Maintainer: Clément Joly " Require to set g:surround_no_mappings = 1 in your vimrc if exists("g:loaded_surround") && g:loaded_surround && exists("g:surround_no_mappings") && g:surround_no_mappings " based on https://github.com/tpope/vim-surround/blob/f51a26d3710629d031806305b6c8727189cd1935/plugin/surround.vim#L599 nmap dj Dsurround nmap dj Dsurround nmap lj Csurround nmap lJ CSurround nmap yj Ysurround nmap yJ YSurround nmap yjj Yssurround nmap yJj YSsurround nmap yJJ YSsurround xmap J VSurround xmap gJ VgSurround if !exists("g:surround_no_insert_mappings") || ! g:surround_no_insert_mappings " if !hasmapto("Isurround","i") && "" == mapchecj("","i") " imap Isurround " endif imap j Isurround imap J ISurround endif endif