add lazygit shortcut for zsh
This commit is contained in:
parent
06a2986e74
commit
252af948d6
|
@ -89,6 +89,8 @@ bindkey '^o' _lfcd
|
|||
# Edit line in vim with ctrl-e:
|
||||
autoload edit-command-line; zle -N edit-command-line
|
||||
bindkey '^e' edit-command-line
|
||||
lg () lazygit && zle -N lg
|
||||
bindkey '^g' lg
|
||||
|
||||
PLUGINS_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/zsh/plugins"
|
||||
[ -f "$PLUGINS_HOME/fzf/key-bindings.zsh" ] && source "$PLUGINS_HOME/fzf/key-bindings.zsh"
|
||||
|
|
Loading…
Reference in New Issue