From 1aff2dc4d35aa94719883275f2e65101bcaf076d Mon Sep 17 00:00:00 2001 From: Vuong Hoang Date: Sun, 23 Mar 2025 15:09:27 -0700 Subject: [PATCH] updated history search for zsrch and changed zellij quit --- home_config/zellij/config.kdl | 2 +- home_root/.zshrc | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/home_config/zellij/config.kdl b/home_config/zellij/config.kdl index b980257..c8f70cb 100644 --- a/home_config/zellij/config.kdl +++ b/home_config/zellij/config.kdl @@ -148,7 +148,7 @@ keybinds clear-defaults=true { bind "Alt i" { MoveTab "left"; } bind "Alt n" { NewPane; } bind "Alt o" { MoveTab "right"; } - bind "Ctrl q" { Quit; } + bind "Alt Ctrl q" { Quit; } } shared_except "locked" "move" { bind "Ctrl h" { SwitchToMode "move"; } diff --git a/home_root/.zshrc b/home_root/.zshrc index a2ac8d5..76853e7 100644 --- a/home_root/.zshrc +++ b/home_root/.zshrc @@ -105,8 +105,7 @@ if [[ $(uname) == "Darwin" ]]; then source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh elif [[ $(uname) == "Linux" ]]; then source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh + bindkey "${terminfo[kcuu1]}" history-search-backward + bindkey "${terminfo[kcud1]}" history-search-forward fi - -bindkey '^[[B' history-search-forward -bindkey '^[[A' history-search-backward