develop#zsh: fix 'jj' bindkey
This commit is contained in:
parent
ef07773e6c
commit
60ac8ec1ea
2 changed files with 5 additions and 4 deletions
|
@ -127,6 +127,9 @@ in
|
|||
eval "$(${pkgs.direnv}/bin/direnv hook zsh)"
|
||||
eval $(${pkgs.gitAndTools.hub}/bin/hub alias -s)
|
||||
source ${pkgs.skim}/share/skim/key-bindings.zsh
|
||||
|
||||
# needs to remain at bottom so as not to be overwritten
|
||||
bindkey jj vi-cmd-mode
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -29,7 +29,8 @@ SAVEHIST=10000
|
|||
HISTFILE=$HOME/.history
|
||||
DIRSTACKSIZE=5
|
||||
|
||||
# history substring search keybinds
|
||||
# key binds
|
||||
bindkey -v '^?' backward-delete-char
|
||||
bindkey '^[OA' history-substring-search-up
|
||||
bindkey '^[OB' history-substring-search-down
|
||||
bindkey -M vicmd 'k' history-substring-search-up
|
||||
|
@ -59,9 +60,6 @@ zstyle ':completion:*' matcher-list \
|
|||
# Auto rehash for new binaries
|
||||
zstyle ':completion:*' rehash true
|
||||
|
||||
# Key binds
|
||||
bindkey "jj" vi-cmd-mode
|
||||
bindkey -v '^?' backward-delete-char
|
||||
|
||||
# remove duplicates from paths
|
||||
typeset -U path
|
||||
|
|
Loading…
Reference in a new issue