zshrc: add bindkey

This commit is contained in:
surtur 2023-08-18 16:02:49 +02:00
parent fefcda0019
commit 45c64a1b06
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

1
.zshrc

@ -117,6 +117,7 @@
# note these are capital letters, original behaviour of j, k is left unchanged # note these are capital letters, original behaviour of j, k is left unchanged
bindkey -M vicmd 'K' history-substring-search-up bindkey -M vicmd 'K' history-substring-search-up
bindkey -M vicmd 'J' history-substring-search-down bindkey -M vicmd 'J' history-substring-search-down
bindkey '^\' accept-and-hold
HISTORY_SUBSTRING_SEARCH_FUZZY=" " HISTORY_SUBSTRING_SEARCH_FUZZY=" "
export FZF_DEFAULT_COMMAND="fd --type f --hidden --follow --exclude 'node_modules' ." export FZF_DEFAULT_COMMAND="fd --type f --hidden --follow --exclude 'node_modules' ."