vim-simplified-surround : Very simplified version of Tpope's vim-surround.
script karma |
Rating 8/2,
Downloaded by 296 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
João Garcia |
|
script type |
utility |
|
description |
I wrote this script because the way "(" and ")" works differently in the Tpope's plugin confuses me. I prefer to deal with the spaces separately. Also because I like to keep things minimal. Check https://github.com/jpaulogg/vim-simplified-surround for more info.
This plugin was written in an attempt to be simple enough that users could make any changes directly to it. I believe that this gives users more control and a wider range of possible changes. In addition, the script has comments that help to make some customizations (for example, to create custom pairs). It's almost as simple as doing it in your vimrc.
Usage: ys{motion}{character} in normal mode surrounds motion with character pair. ds{character} deletes it and cs{char1}{char2} changes it to 'char2'. S{character} surrounds selection in visual mode.
|
|
install details |
Just copy surround.vim to the "plugin" directory in your runtime. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.15.2.88
|