Autoload and bind run-help
This commit is contained in:
@@ -114,6 +114,8 @@ comp-source() {
|
|||||||
## Load external config files and modules
|
## Load external config files and modules
|
||||||
autoload edit-command-line; zle -N edit-command-line
|
autoload edit-command-line; zle -N edit-command-line
|
||||||
autoload zmv
|
autoload zmv
|
||||||
|
! alias run-help >/dev/null 2>&1 || unalias run-help
|
||||||
|
autoload run-help
|
||||||
# stderred
|
# stderred
|
||||||
if [ -e "$ZSH_CONF/stderred/build/libstderred.so" ]; then
|
if [ -e "$ZSH_CONF/stderred/build/libstderred.so" ]; then
|
||||||
export LD_PRELOAD="$ZSH_CONF/stderred/build/libstderred.so${LD_PRELOAD:+:$LD_PRELOAD}"
|
export LD_PRELOAD="$ZSH_CONF/stderred/build/libstderred.so${LD_PRELOAD:+:$LD_PRELOAD}"
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
# no delay when switching into NORMAL
|
# no delay when switching into NORMAL
|
||||||
export KEYTIMEOUT=1
|
export KEYTIMEOUT=1
|
||||||
|
|
||||||
|
bindkey '^[h' run-help
|
||||||
## History
|
## History
|
||||||
## Alternatives to check out: {up,down}-line-or-search
|
## Alternatives to check out: {up,down}-line-or-search
|
||||||
bindkey '^[[A' history-substring-search-up
|
bindkey '^[[A' history-substring-search-up
|
||||||
|
|||||||
Reference in New Issue
Block a user