1
0
Fork 0

add lazygit shortcut for zsh

This commit is contained in:
Luca Bilke 2022-08-04 18:15:22 +02:00
parent 06a2986e74
commit 252af948d6
1 changed files with 2 additions and 0 deletions

View File

@ -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"