Vim: Change In Parenthesis
We often edit parameters of functions, most have them. Here's a seriously useful Vim tip for changing all text inside parenthesis.
ci(
"Change In Parenthesis". More information in Steve Losh's excellent book...
http://learnvimscriptthehardway.stevelosh.com/chapters/15.html
Written by Rhodri Pugh
Related protips
3 Responses
Very useful!
over 1 year ago
·
Thanks!
over 1 year ago
·
It works only if the cursor is placed on or inside (
.
ci'
works for the next found ' (single quote) in the cursor's line even if cursor is at row 0
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#