Quick Tip: change text between white space

private List<String> strings;

When the cursor is on the S of String, use ciW to delete List<String> and start insert. Obviously, you can use any other command with that movement, for example yank the text (yiW) or delete it (diW).

From :help WORD:

A WORD consists of a sequence of non-blank characters, separated with white space. An empty line is also considered to be a WORD.

Leave a Reply

Your email address will not be published. Required fields are marked *