mirror of
https://github.com/jbranchaud/til
synced 2026-01-07 00:58:02 +00:00
Add Delete To The End Of The Line as a vim til
This commit is contained in:
14
vim/delete-to-the-end-of-the-line.md
Normal file
14
vim/delete-to-the-end-of-the-line.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# Delete To The End Of The Line
|
||||
|
||||
There are a number of ways to delete from the cursor position to the end of
|
||||
the line. Generally when I am doing this, I want delete to the end of the
|
||||
line and then start typing something different. Perhaps the best way to do
|
||||
this is by hitting `C`. It deletes to the end of the line and then leaves
|
||||
you in insert mode. This also makes for easier repetition with the dot
|
||||
command.
|
||||
|
||||
This is synonymous with hitting `c$`.
|
||||
|
||||
See `:h C` for more details.
|
||||
|
||||
h/t Dorian Karter
|
||||
Reference in New Issue
Block a user