diff --git a/.profile b/.profile index c3a31729..01508245 100644 --- a/.profile +++ b/.profile @@ -130,12 +130,12 @@ fi ## fzf if command -v fzf >/dev/null 2>&1; then - export FZF_DEFAULT_OPTS="--reverse --inline-info --height 40% --cycle --extended --multi --select-1 --exit-0 --bind=ctrl-k:kill-line,alt-m:accept,ctrl-v:page-down,alt-n:page-down,alt-v:page-up,alt-p:page-up,alt-a:toggle-all,alt-i:toggle-up,alt-z:toggle-preview,alt-j:down,alt-k:up" + export FZF_DEFAULT_OPTS="--reverse --inline-info --height 40% --cycle --extended --multi --select-1 --exit-0 --bind=ctrl-k:kill-line,alt-l:accept,alt-f:page-down,alt-b:page-up,alt-a:toggle-all,ctrl-a:select-all,alt-i:toggle-down,alt-o:toggle-up,alt-z:toggle-preview,alt-j:down,alt-k:up,alt-h:kill-line" export FZF_ALT_C_OPTS="--preview='preview {}'" export FZF_BCD_OPTS=$FZF_ALT_C_OPTS export FZF_CDHIST_OPTS=$FZF_ALT_C_OPTS export FZF_CTRL_R_OPTS="--reverse --sort" - export FZF_CTRL_T_OPTS="--bind=alt-m:'execute(rifle {+})' --preview='preview {+}'" + export FZF_CTRL_T_OPTS="--bind=alt-l:'execute(rifle {+})' --preview='preview {+}'" if [ "$(uname -o)" = "GNU/Linux" ]; then ## Append '/' to folder names. GNU find required. export FZF_CTRL_T_COMMAND="command find -L \$dir -mindepth 1 \\( -path \$dir'*/\\.*' -o -fstype 'devfs' -o -fstype 'devtmpfs' \\) -prune \