Skip to content

Instantly share code, notes, and snippets.

@adarsh
Created November 9, 2012 06:47
Show Gist options
  • Save adarsh/4044104 to your computer and use it in GitHub Desktop.
Save adarsh/4044104 to your computer and use it in GitHub Desktop.
Gabriel's Math Fun
" Type C-A after some math in insert mode to calculate the result
ino <C-A> <C-O>yiW<End>=<C-R>=<C-R>0<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment