select a word in vim 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