Skip to content

Instantly share code, notes, and snippets.

@robertzk
Created July 26, 2015 14:12
Show Gist options
  • Save robertzk/6e51fe513200a727c149 to your computer and use it in GitHub Desktop.
Save robertzk/6e51fe513200a727c149 to your computer and use it in GitHub Desktop.
vim send macro
let @s='^i! git add "$(git rev-parse --show-toplevel)"; git commit -m "^[$a"; git push -q origin `git rev-parse --abbrev-ref HEAD` &^[dd;w^M;@"^M^M^['
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment