Fix a conflict in keybindings

This commit is contained in:
Asocia 2021-07-11 16:38:19 +03:00
parent ffc8ef49e1
commit 06fdcbfee7

2
.zshrc
View File

@ -97,7 +97,7 @@ export PYENV_VIRTUALENV_DISABLE_PROMPT=1
# https://github.com/jeffreytse/zsh-vi-mode#execute-extra-commands # https://github.com/jeffreytse/zsh-vi-mode#execute-extra-commands
function my_bindings() { function my_bindings() {
# easy bindings instead of ctrl + arrow keys # easy bindings instead of ctrl + arrow keys
bindkey '^j' backward-word bindkey '^b' backward-word
bindkey '^f' forward-word bindkey '^f' forward-word
bindkey '^g' autosuggest-accept bindkey '^g' autosuggest-accept
bindkey "\e\e" fuck-command-line bindkey "\e\e" fuck-command-line