mirror of
https://github.com/akelge/zsh
synced 2025-09-19 04:12:53 +00:00
Use -end variant
This commit is contained in:
@ -9,10 +9,10 @@ autoload -U select-word-style
|
|||||||
select-word-style bash
|
select-word-style bash
|
||||||
|
|
||||||
# # History search
|
# # History search
|
||||||
# autoload -Uz history-search-end
|
autoload -Uz history-search-end
|
||||||
|
|
||||||
# zle -N history-beginning-search-backward-end history-search-end
|
zle -N history-beginning-search-backward-end history-search-end
|
||||||
# zle -N history-beginning-search-forward-end history-search-end
|
zle -N history-beginning-search-forward-end history-search-end
|
||||||
|
|
||||||
# bindkey "\e[A" history-search-backward
|
# bindkey "\e[A" history-search-backward
|
||||||
# bindkey "\e[B" history-search-forward
|
# bindkey "\e[B" history-search-forward
|
||||||
@ -35,8 +35,8 @@ bindkey "\e[F" end-of-line
|
|||||||
bindkey "\e[4~" end-of-line
|
bindkey "\e[4~" end-of-line
|
||||||
|
|
||||||
# History search
|
# History search
|
||||||
bindkey "^[[A" history-beginning-search-backward
|
bindkey "^[[A" history-beginning-search-backward-end
|
||||||
bindkey "^[[B" history-beginning-search-forward
|
bindkey "^[[B" history-beginning-search-forward-end
|
||||||
|
|
||||||
# Required by Terminus in Sublime Text
|
# Required by Terminus in Sublime Text
|
||||||
bindkey "\e[1;3C" forward-word
|
bindkey "\e[1;3C" forward-word
|
||||||
|
Reference in New Issue
Block a user