feat(zsh): add git hotkey insertions
This commit is contained in:
parent
353e126cf8
commit
d94bffa41a
@ -15,6 +15,11 @@ bindkey -M emacs '^[[3;5~' kill-word # ctrl + del = delete word after curso
|
||||
bindkey -M emacs '^[[1;5D' backward-word # ctrl + = move cursor to start of last word
|
||||
bindkey -M emacs '^[[1;5C' forward-word # ctrl + = move cursor to end of next word
|
||||
|
||||
bindkey -s '^Xga' 'git add .'
|
||||
bindkey -s '^Xgc' 'git commit -m ""\C-b'
|
||||
bindkey -s '^Xgp' 'git push origin $(git rev-parse --abbrev-ref HEAD)'
|
||||
|
||||
|
||||
# fnm
|
||||
FNM_PATH="$HOME/.local/share/fnm"
|
||||
if [ -d "$FNM_PATH" ]; then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user