I’m using vim as my default editor now, for everything. And since I’m a little slow sometimes or forget stuff, I neeed a little cheatsheet.

c (change):

- ci"   - Change the content between ""
- ci)   - Change the content between ()
- ct<   - Change to <


v (visual):

- gv    - Select the last selected block again
- ,cc   - Comment out the selected text
- ,cu   - Uncomment the selected text
- :A    - Open the corresponding .h/.cpp file
- :AV   - Open the corresponding .h/.cpp vertical


other stuff:

- %     - Go to the matching bracket