Initial zsh setup
This commit is contained in:
parent
368bf1f1f3
commit
37e8506352
4 changed files with 109 additions and 0 deletions
14
modules/zsh/keybinds.zsh
Executable file
14
modules/zsh/keybinds.zsh
Executable file
|
@ -0,0 +1,14 @@
|
|||
autoload -U up-line-or-beginning-search
|
||||
autoload -U down-line-or-beginning-search
|
||||
zle -N up-line-or-beginning-search
|
||||
zle -N down-line-or-beginning-search
|
||||
bindkey "^[[A" up-line-or-beginning-search
|
||||
bindkey "^[[B" down-line-or-beginning-search
|
||||
bindkey "^[OA" up-line-or-beginning-search
|
||||
bindkey "^[OB" down-line-or-beginning-search
|
||||
bindkey "^K" up-line-or-beginning-search
|
||||
bindkey "^J" down-line-or-beginning-search
|
||||
bindkey "^[[1;5D" backward-word
|
||||
bindkey "^[[1;5C" forward-word
|
||||
bindkey "^H" backward-char
|
||||
bindkey "^L" forward-char
|
Loading…
Add table
Add a link
Reference in a new issue