From 7c471eca451a501ae79913b3c11f3ff466752f7f Mon Sep 17 00:00:00 2001 From: Laurent Le Houerou Date: Wed, 29 May 2024 10:42:01 +0400 Subject: [PATCH] adding keybindings in zshrc --- zsh/.zshrc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/zsh/.zshrc b/zsh/.zshrc index df90766..f844953 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -38,6 +38,16 @@ 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 + +bindkey '^[[3~' delete-char + # History HISTSIZE=5000 HISTFILE=~/.zsh_history