2 ms·
Try 'R' instead of 's' that you were used to. OR Edit surround.vim and comment out the 's' mappings in visual mode. Like this: " if !hasmapto("<Plug
by pkrumins 18y ago
Try 'R' instead of 's' that you were used to.
OR
Edit surround.vim and comment out the 's' mappings in visual mode. Like this:
" if !hasmapto("<Plug>Vsurround","v")
" if exists(":xmap")
" xmap s <Plug>Vsurround
" else
" vmap s <Plug>Vsurround
" endif
" endif
" if !hasmapto("<Plug>VSurround","v")
" if exists(":xmap")
" xmap S <Plug>VSurround
" else
" vmap S <Plug>VSurround
" endif
" endif
- thamer 18y ago'R' replaces the whole line, so that won't do. I commented the script as you suggested and it works. Thank you!