Sample Header Ad - 728x90

Change inside comments with Vim

8 votes
1 answer
510 views
Is there a way to change inside of a comment with Vim? I know you can change inside brackets and quotes with i] and i". For example, If you are on a quote you can press, > ci"my new textESC And this will replace the text inside of the quote with the phrase "my new text", but how can I do the same thing with C comments which are enclosed with /* and */?
Asked by Tyler Durden (6193 rep)
Sep 7, 2014, 10:21 PM
Last activity: Sep 7, 2014, 11:41 PM