diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index 4f83a9a..a5af85d 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -117,7 +117,9 @@ fi export FZF_DEFAULT_COMMAND typeset -A fzf_opts=( + # Clear query if not empty, abort otherwise esc cancel + # Better navigation home first end last ctrl-d half-page-down diff --git a/.config/zsh/autoload/git/glog b/.config/zsh/autoload/git/glog index cb679d7..3e67035 100755 --- a/.config/zsh/autoload/git/glog +++ b/.config/zsh/autoload/git/glog @@ -94,19 +94,12 @@ local -A binds=( "ctrl-y" "execute@$fzf_copy_command@" # Open preview "fullscreen" "enter" "execute@$fzf_preview[patch] | command less -R@" - # Clear query if not empty, abort otherwise - "esc" "cancel" # Preview stats "ctrl-s" "preview($fzf_preview[stat])" # Preview patch "ctrl-p" "preview($fzf_preview[patch])" # Files only "ctrl-f" "preview($fzf_preview[files_only])" - # faster navigation - "home" "first" - "end" "last" - "ctrl-d" "half-page-down" - "ctrl-u" "half-page-up" ) # TODO: Make the --preview argument dependent of --stat flag (i.e.