adding keybindings in zshrc
This commit is contained in:
parent
b32ca121cc
commit
7c471eca45
10
zsh/.zshrc
10
zsh/.zshrc
@ -38,6 +38,16 @@ bindkey '^p' history-search-backward
|
|||||||
bindkey '^n' history-search-forward
|
bindkey '^n' history-search-forward
|
||||||
bindkey '^[w' kill-region
|
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
|
# History
|
||||||
HISTSIZE=5000
|
HISTSIZE=5000
|
||||||
HISTFILE=~/.zsh_history
|
HISTFILE=~/.zsh_history
|
||||||
|
Loading…
Reference in New Issue
Block a user