zsh: fix weird Alt+direction alacritty behaviour
This commit is contained in:
parent
6b823a06eb
commit
23f1283399
@ -44,12 +44,23 @@ in {
|
||||
}
|
||||
|
||||
zle -N zle_go_dir_up
|
||||
# Alt+Up
|
||||
bindkey "^[[1;3A" zle_go_dir_up
|
||||
|
||||
# Alt+Down
|
||||
bindkey "^[[1;3B" kill-buffer
|
||||
|
||||
# Up/Down
|
||||
bindkey "^[[A" history-substring-search-up
|
||||
bindkey "^[[B" history-substring-search-down
|
||||
|
||||
# Ctrl+Left/Right
|
||||
bindkey "^[[1;5C" forward-word
|
||||
bindkey "^[[1;5D" backward-word
|
||||
|
||||
# Alt+Left/Right
|
||||
bindkey "^[[1;3C" forward-word
|
||||
bindkey "^[[1;3D" backward-word
|
||||
'';
|
||||
|
||||
zplug = {
|
||||
|
@ -1,3 +1,4 @@
|
||||
# newline between shell prompts
|
||||
add_newline = false
|
||||
#format = "$all$directory$character"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user