Saturday, March 10, 2018

Re: ci, (or something?)

On 2018-03-10, Jason Felice wrote:
> Is there something that changes a function parameter in a C-style language,
> e.g. delimited by commas or parens?  I find myself wanting this frequently.

ci) or ci( or cib will change everything within ( and ).
ct, will change everything from the cursor to the next comma.
T, will move the cursor to the right of the next comma to the left.

See

:help 04.2
:help 04.8
:help text-objects
:help left-right-motions

HTH,
Gary

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