aboutsummaryrefslogtreecommitdiff
path: root/register.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-08-20 15:42:58 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-08-24 11:10:00 +0200
commite2d51321f7284d11d9344e22117db31372fbe7a0 (patch)
treee3d57ccb0fb42012cf5f9024501caddc5526de08 /register.h
parent349e5f4150ea9fdc27d523060e62d93f44a212ba (diff)
downloadvis-e2d51321f7284d11d9344e22117db31372fbe7a0.tar.gz
vis-e2d51321f7284d11d9344e22117db31372fbe7a0.tar.xz
vis: improve unpaired text objects
For unpaired text objects delimited by ", ' or ` if there is no preceding symbol on the same line, advance starting position to first occurence on the same line. As a result ci" can be used to change the inner quotes on the same line even if the cursor is currently to the left of the opening quote. If the line contains no such symbol at all then the text objects will will continue to match across line boundaries. This behavior is different in vim where for example a ci" command on a line without any quotes has no effect. Close #358
Diffstat (limited to 'register.h')
0 files changed, 0 insertions, 0 deletions