mirror of
https://github.com/akelge/zsh
synced 2025-07-04 05:29:06 +00:00
migration
This commit is contained in:
23
zsh.d/20-bindkeys.zsh
Normal file
23
zsh.d/20-bindkeys.zsh
Normal file
@ -0,0 +1,23 @@
|
||||
#######################################################################################
|
||||
#
|
||||
# Backward-kill-word stop on dir delimiter
|
||||
autoload -U select-word-style
|
||||
select-word-style bash
|
||||
|
||||
# Standard Linux
|
||||
bindkey "^[[1;5C" forward-word
|
||||
bindkey "^[[1;5D" backward-word
|
||||
|
||||
|
||||
# Useful under iTerm
|
||||
bindkey "-e"
|
||||
bindkey "\eOH" beginning-of-line
|
||||
bindkey "\eOF" end-of-line
|
||||
bindkey "\e[1~" beginning-of-line
|
||||
bindkey "\e[4~" end-of-line
|
||||
bindkey "\e[3~" delete-char
|
||||
bindkey "\eOA" history-search-backward
|
||||
bindkey "\eOB" history-search-forward
|
||||
bindkey "\e[A" history-search-backward
|
||||
bindkey "\e[B" history-search-forward
|
||||
# vim: set ts=4 sw=4 tw=0 ft=zsh :
|
Reference in New Issue
Block a user