From 9c099416a97e5d29a05763e6a4d64a4725788dac Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Fri, 1 Nov 2024 02:30:47 +0100 Subject: [PATCH] glog: Explicitly set my general fzf bindings `glog` is the most standalone tool out of my dotfiles and I know of at least one person that uses it that way. Because of this I want to also explicitly map all other bindings that I have in my zprofile to improve the experience. --- .config/zsh/autoload/git/glog | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.config/zsh/autoload/git/glog b/.config/zsh/autoload/git/glog index 8970b25..69d527f 100755 --- a/.config/zsh/autoload/git/glog +++ b/.config/zsh/autoload/git/glog @@ -89,6 +89,17 @@ elif (( $+commands[xclip] )); then fi local -A binds=( + # See fzf_keys in .zprofile + "esc" "cancel" + "home" "first" + "end" "last" + "ctrl-d" "half-page-down" + "ctrl-u" "half-page-up" + "ctrl-t" "toggle-track" + # Keep the current line selected while deleting the query + "bspace" "track-current+backward-delete-char" + "backward-eof" "untrack-current" + # scroll in preview window "ctrl-alt-j" "preview-down" "ctrl-alt-k" "preview-up"