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