This is a quick cheat-sheet for quick shortcuts within ViEmu for VisualStudio
In Normal Mode
- bcw: from anywhere within a word, move to the beginning of the word, cut it, then enter insert mode.
- Ex: “someword|WithinQuote” (bcw will delete the word within the “quote”)
- Bcw: similarly, but this time move to the beginning of the word-block and cut the entire block
- 5cc: delete 5 consecutive lines below the carret
- V (shift-v): enter Visual Mode, select current line and move cursor to the beginning of next line
- V5j: select next 5 lines including the current line
- At a bracket/parentheses, %v% will select everything between (and including) the matching bracket
- Ex: if***( someVar == 1 && |anotherVar == 2 **) %v% will move cursor to ***, enter Visual Mode, and select to **