Vim tip
In Vim, use ci( to change everything inside (). Cursor is |:
foobar('hell|o', 29);
type ci(
foobar(|);
Written by Jeroen
Related protips
1 Response
It's calles text objects:
ci{
ci[
ci"
ci'
ci`
cit - tag
cip - paragraph
ciw - word
cis - sentence
di( - stays in normal mode (di[, di{, di" etc)
ca( - deletes also ()
</code></pre>
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Related Tags
#vim
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#