adding keybindings in zshrc

This commit is contained in:
Laurent Le Houerou 2024-05-29 10:42:01 +04:00
parent b32ca121cc
commit 7c471eca45

View File

@ -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