Skip to content

Commit

Permalink
chore: Remove toggle-preview bindings in view_history_commands
Browse files Browse the repository at this point in the history
  • Loading branch information
LangLangBart committed Dec 14, 2023
1 parent dca98e5 commit 8d89842
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/crate-ci/typos
rev: v1.16.24
rev: v1.16.25
hooks:
- id: typos
args: [--format, brief, --write-changes]
Expand Down
4 changes: 2 additions & 2 deletions gh-find-code
Original file line number Diff line number Diff line change
Expand Up @@ -594,10 +594,10 @@ view_history_commands() {
--bind 'ctrl-t:execute-silent:open_query_in_browser {q}' \
--bind 'enter:execute:[[ -n {q} && -n {} ]] && open_in_pager=true view_contents {}' \
--bind 'esc:become:' \
--bind '?:toggle-preview+change-preview(print_help_text)+change-preview-window:~0:+1' \
--bind '?:change-preview(print_help_text)+change-preview-window:~0:+1' \
--bind 'load:change-preview([[ -n {q} && -n {} ]] && view_contents {})+change-preview-window:+{1}+3/3' \
--bind 'scroll-up:offset-up,scroll-down:offset-down' \
--bind 'tab:toggle-preview+change-preview-window(hidden|nohidden:+{1}+3/3)+change-preview:[[ -n {q} && -n {} ]] && view_contents {}' \
--bind 'tab:change-preview-window(hidden|nohidden:+{1}+3/3)+change-preview:[[ -n {q} && -n {} ]] && view_contents {}' \
--border block \
--color 'bg+:233,bg:235,gutter:235,border:238,scrollbar:235' \
--color 'preview-bg:234,preview-border:236,preview-scrollbar:237' \
Expand Down

0 comments on commit 8d89842

Please sign in to comment.