Wednesday, September 5, 2018

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

On 09/05/2018 11:11 AM, Tim Chase wrote:
> Also, note that once you've done a f/F/t/T command, you can save a
> character (and some thinking) by using "," and ";" to navigate to the
> next/previous one, prefixing that with a count.
>
> :help ,
> :help ;

Ya. I think it moves the thinking from "how many times do I want to do
the following action?" (count / multiplier) to "do I want to do the last
action again?". Depending on what the context is, sometimes the count /
multiplier ends up being less mental load.

> Some people remap <leader> to one of these keys, but I use them frequently
> enough that I recoil at the thought of losing them :-)

Fair enough.

> So the first one could be
>
> F D
>
> and then subsequent ones could be
>
> ,D
>
> or
>
> ;D
>
> depending on where your cursor is.

ACK



--
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.

No comments:

Post a Comment