daw- Delete a Word<C -a>(Control + A) - If you have the cursor over the number, it will increment it. Otherwise, it will increment the first number on the line<C -x>- Same as above, but decrement.yyp- yank text and paste it below current lineyyP- yank text and paste it above current linecw- change word...deletes word and places you in insert mode<C -e>- scroll down<C -y>- scroll up<C -r>=6*35<CR>- evaluates 6 * 35 (210) and places the result where your cursor is.ci"- Change In Quotes...removes all text inside the quote and puts you in insert mode so you can change it. This also works with )]} etc.
Last active
January 7, 2016 17:01
-
-
Save systemnate/34b731050063e8d9ffd5 to your computer and use it in GitHub Desktop.
Learning Vim - Some useful combos I have discovered
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment