vim: Add surround and delimitMate plugins
These plugins add functionality to automatically close and surround text with parantheses, brackets, quotes, etc. Overwrite the vim-surround default bindings since they conflict with my substitute bindings.
This commit is contained in:
10
.config/vim/vim-surround.vim
Normal file
10
.config/vim/vim-surround.vim
Normal file
@@ -0,0 +1,10 @@
|
||||
" Overwrite vim-surround bindings.
|
||||
nmap ds <Plug>Dsurround
|
||||
nmap cs <Plug>Csurround
|
||||
nmap cS <Plug>CSurround
|
||||
nmap ys <Plug>Ysurround
|
||||
nmap yS <Plug>YSurround
|
||||
nmap yss <Plug>Yssurround
|
||||
nmap ySS <Plug>YSsurround
|
||||
xmap s <Plug>VSurround
|
||||
xmap gs <Plug>VgSurround
|
||||
Reference in New Issue
Block a user