Created
April 26, 2013 22:20
-
-
Save esc/5470837 to your computer and use it in GitHub Desktop.
Zsh zle widget for git commit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gc () { | |
LBUFFER="git commit -m \"" | |
RBUFFER="\"" | |
} | |
zle -N gc gc | |
bindkey '^gc' gc |
Feh
commented
Apr 27, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment