diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-04-09 11:41:02 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-04-09 12:08:42 +0200 |
| commit | 319958ec6feb1f0ca46fc064427d84abc41e45ce (patch) | |
| tree | 478593cee65ee6d6c001be9d7639b990a698a134 /vis-text-objects.c | |
| parent | 77d229c0a5d642b57e51270a2e85c48dc2273598 (diff) | |
| download | vis-319958ec6feb1f0ca46fc064427d84abc41e45ce.tar.gz vis-319958ec6feb1f0ca46fc064427d84abc41e45ce.tar.xz | |
vis: make sure linewise put operations insert necessary new lines
Given the following text with no trailing new line at the end of line2,
where # denotes the cursor position:
line1 of text
line2 #f text
the command yykp should produce
line1 of text
#ine2 of text
line2 of text
where previously it would wrongly result in
line1 of text
#ine1 of textline2 of text
Diffstat (limited to 'vis-text-objects.c')
0 files changed, 0 insertions, 0 deletions
