Closed skajfes closed 5 years ago
Can you give an example ? I haven't seen this happen.
Alright, minimal example is this:
| column |
When I position the cursor on the letter c (or anywhere in the column) and press di|
, this is the result:
| n |
Ok this is very odd, I expected some weird scenario so asked for an example, will take a look, thanks for reporting.
Hi, I am unable to reproduce this. Which filetype are you facing this issue in ? It may be due to some other plugin with conflicting mapping.
OK, I looked a little better at my config and found the source of the issue. I use mswin.vim
in my config.
And it sets the selection option to exclusive. Adding set selection=inclusive
to my config fixed the issue for me. Side benefit is that the inclusive selection makes much more sense, since the cursor for selection and normal mode is a block covering the letter.
Good to know, closing the issue for now.
When I want to yank or change cell contents using text object i|, ie:
yi|
orci|
, the last character in the cell gets skipped.