'x' deletes past end of line
See original GitHub issuex.Get("active", f^alse));
With caret between the f and a if you hit 20x it should stop at the end of the line, but it either goes on to other lines or starts deleting before the f:
x.Ge
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Delete from cursor to end of line in `vi`
I use Dp (delete to end of line, then put it back), move to the end of some other line, then p again...
Read more >How do I delete the last character in each line using vim
1}$// to delete 1 character off the end of each line. ... $x move to the end of a line, and delete a...
Read more >Deleting everything from a line after the cursor except ...
Hi! I want to save some keystrokes in while working in Vim. If I need to delete everything after the cursor, except some...
Read more >Remove the Last N Lines of a File in Linux
Using the head command, we can print all lines but the last x lines of the file by passing a number following the...
Read more >Delete characters from the end of multiple lines in VIm
I want to delete the HTML tags from the end of the lines in Vim. The only way I thought of was a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There’s always a better command, but 25 years of vi is hard to adjust 😃
I don’t believe I ever used x with a multiplier - I had no idea it did that. I guess that’s a different issue. I’ll file it.