Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mathias_10gen
on Aug 29, 2011
|
parent
|
context
|
favorite
| on:
Learn Vim Progressively
ci( is another nifty trick that will do the same but will work anywhere between the two ('s not just at the beginning of globalConfig. See ":help text-objects" for more details on one of the more powerful feature of vim.
thesteamboat
on Aug 29, 2011
|
next
[–]
You can also do cib (for inside '()') and ciB (for inside '[]') and cis (for inside sentences).
bcrescimanno
on Aug 29, 2011
|
parent
|
next
[–]
Gah! I'd been wondering how to do that--thanks for the tip!
avinashv
on Aug 29, 2011
|
prev
|
next
[–]
I very regularly do ci" or ci' to edit within strings.
cdmwebs
on Aug 30, 2011
|
prev
[–]
cit is another favorite. Try it inside HTML tags, for example.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: