select text vi code example Example: command to select a word in vim to select a word under the curson in vim while you are in normal mode: viw