From dcbd94125d14586b9bc981939d80a55bf6eb4620 Mon Sep 17 00:00:00 2001 From: Laurent Le Houerou Date: Mon, 25 Nov 2024 14:32:20 +0400 Subject: [PATCH] misc --- kitty/.config/kitty/kitty.conf | 2 ++ zsh/.zshrc | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/kitty/.config/kitty/kitty.conf b/kitty/.config/kitty/kitty.conf index 6c1f521..d8a03a6 100644 --- a/kitty/.config/kitty/kitty.conf +++ b/kitty/.config/kitty/kitty.conf @@ -6,3 +6,5 @@ italic_font auto bold_italic_font auto font_size 12.0 + +confirm_os_window_close -1 diff --git a/zsh/.zshrc b/zsh/.zshrc index 4f2adca..6c53fbc 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -24,6 +24,17 @@ eval "$(oh-my-posh init zsh --config $HOME/.config/ohmyposh/config.json)" # Keybindings bindkey -e +bindkey '^p' history-search-backward +bindkey '^n' history-search-forward +bindkey '^[w' kill-region +# Bind Home key to beginning-of-line +bindkey '^[[H' beginning-of-line +bindkey '^[[1~' beginning-of-line +# Bind End key to end-of-line +bindkey '^[[F' end-of-line +bindkey '^[[4~' end-of-line +# Bind Delete key to delete-char +bindkey '^[[3~' delete-char # History HISTSIZE=5000