Sunday, May 19, 2019

Re: delete until

hmmmm....

and how can i say?: go to the next /, and if you don't find it, go to
the next '

For exemple, if i am at the beginning of the string
'abc/def/ghi',
it should go to /
and if i am on "g" on the same string, it should go to '

In fact i want to map this command to <F5>.

map <F5> f('|/)v0*

quelque chose comme ça...

Best regards,
Mathieu Roux





On sam., 2019-05-18 at 17:34 +0200, Stefan Klein wrote:
> Hi,
>
> Am Sa., 18. Mai 2019 um 17:27 Uhr schrieb Mathieu Roux <
> mthrx72@gmail.com>:
> > If i want to delete on my current line until say "a", i can do dfa.
>
> [ ... ]
> > "star", i want to obtain "ar", and "not "r".
>
> i guess you're looking for t(o) instead of f(orward)
>
> regards,
> Stefan
>
> --
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vim_use/CAA%3DcwqFXFu2wYdWPxDo3YBdbpjvCCQ5F0WKb4r2iBAHCmF-FpA%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/6647abcb77c0d56d9b99a43d76a5d79b78f7f39b.camel%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments: