description | A plugin for the vis editor |
owner | 8ubr3blt@NOanonSPAMaddy.me |
last change | Wed, 4 Oct 2023 10:27:12 +0000 (4 18:27 +0800) |
URL | git://repo.or.cz/vis-surround.git |
https://repo.or.cz/vis-surround.git | |
push URL | ssh://repo.or.cz/vis-surround.git |
https://repo.or.cz/vis-surround.git (learn more) | |
bundle info | vis-surround.git downloadable bundles |
content tags |
Operators for adding/changing/deleting pairs of block delimiters.
NORMAL mode:
[count]
ys
DELIMITER [count] textobject|motion
[count]
cs
DELIMITER1 DELIMITER2
[count]
ds
DELIMITER
VISUAL/VISUAL-LINE mode:
S
DELIMITER
C
DELIMITER1 DELIMITER2
D
DELIMITER
In VISUAL-LINE mode, S
/D
will also add/remove newlines around the delimiters:
text
text { text
line|VSB => line|VaBDB => line|
text } text
text
In VISUAL-LINE mode, C
/D
will remove the old delimiters even if they are not alone on the line:
if (true) { if (true)
text|VaBDB => text
} else { else {|
Optional - vis-pairs is used if installed. The delimiters of any textobjects available there will be usable here via the same key mapping.
2023-10-04 | Georgi Kirilov | Squash commitsmaster | commitcommitdifftreesnapshot (tar.gz zip) |
13 months ago | master | logtree |