diff options
| author | EuAndreh <eu@euandre.org> | 2021-01-17 17:47:24 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2021-01-17 17:47:24 -0300 |
| commit | aeaf38a1206ca041bde05e7530c45f1cb5d759ac (patch) | |
| tree | 28e9874deebdbd6ec6df81ee640a58a6e45ad4b5 | |
| parent | Stop generating ~/.bash.env, remove nix-search-update-job.sh (diff) | |
| download | dotfiles-aeaf38a1206ca041bde05e7530c45f1cb5d759ac.tar.gz dotfiles-aeaf38a1206ca041bde05e7530c45f1cb5d759ac.tar.xz | |
bash/fzf.sh: readline > fzf
| -rw-r--r-- | bash/fzf.sh | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/bash/fzf.sh b/bash/fzf.sh index d9c36039..7c593a24 100644 --- a/bash/fzf.sh +++ b/bash/fzf.sh @@ -2,18 +2,9 @@ # shellcheck source=/dev/null . "$(fzf-share)/completion.bash" -. "$(fzf-share)/key-bindings.bash" - -# Recover the 'transpose-chars' functionality from readline -# that was overriden by 'keybindings.bash' -# For some reason, patching key-bindings.bash didn't work, so there's -# probably some fzf internal that depends on the key bindings being -# C-t. This hypothesis is reinforced by the fact that the environment -# variable is called $FZF_CTRL_T_OPTS, =/ -# I settled for using C-M-t for transpose-chars. -# Addendum: do the same for M-c and 'capitalize-word' -bind '"\e\C-t": transpose-chars' -bind '"\e\C-c": capitalize-word' +# Disable fzf key-bindings +# readline > fzf +# . "$(fzf-share)/key-bindings.bash" export FZF_TMUX=1 export FZF_CTRL_T_OPTS=' |
