Tuesday, September 4, 2018

How do I delete from the end of the line through space (up to) the first word?

How do I delete from the end of the line (where the cursor is at)
through the space after the first word?

example.net <-- actually important
different.example.com <-- not actually important

What is the optimal way to delete from (and including) the t at the end
of the line up through the space after the first Word?

I'm looking for something functionally comparable to D when the cursor
is on the space after the first word, just coming from the opposite
direction.

diW works and multiple dot repetitions get the job done. But i feel
like there is a better method.



--
Grant. . . .
unix || die

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

1 comment: