From ea40fbe1d90e28e2ab7b062a05085c610e399052 Mon Sep 17 00:00:00 2001 From: LangLangbart <92653266+LangLangBart@users.noreply.github.com> Date: Fri, 22 Mar 2024 16:46:09 +0100 Subject: [PATCH] feat: add change:first bind to view_history_commands function --- gh-find-code | 1 + 1 file changed, 1 insertion(+) diff --git a/gh-find-code b/gh-find-code index 128dad8..d59419e 100755 --- a/gh-find-code +++ b/gh-find-code @@ -718,6 +718,7 @@ view_history_commands() { history_command=$'command tail -r "$gh_find_code_history" | command nl -n ln -w 3 -s "\t"' selection=$( : | fzf_basic_style \ + --bind "change:first" \ --bind "start:execute-silent(echo \${PPID-} >>$store_ppid)+reload:$history_command" \ --bind "ctrl-d:reload:grep --fixed-strings --line-regexp --invert-match {2..} $gh_find_code_history >$store_gh_find_code_history_tmp; mv $store_gh_find_code_history_tmp $gh_find_code_history; $history_command" \ --bind 'ctrl-h:abort' \