Make home and end keys work
This commit is contained in:
parent
37f9c483f5
commit
ba35d6cacc
|
@ -95,6 +95,11 @@
|
|||
bindkey '^[[A' history-substring-search-up
|
||||
bindkey '^[[B' history-substring-search-down
|
||||
|
||||
# TODO should we use something based on ~/.zkbd/$TERM-${${DISPLAY:t}:-$VENDOR-$OSTYPE} ?
|
||||
# make home and end work
|
||||
[[ -z "$terminfo[khome]" ]] || bindkey -M emacs "$terminfo[khome]" beginning-of-line
|
||||
[[ -z "$terminfo[khome]" ]] || bindkey -M emacs "$terminfo[khome]" beginning-of-line
|
||||
|
||||
# disable sort when completing `git checkout`
|
||||
zstyle ''\':completion:*:git-checkout:*''\' sort false
|
||||
# set descriptions format to enable group support
|
||||
|
|
Loading…
Reference in New Issue