feat(fzf): mappings

This commit is contained in:
thek4n 2024-04-10 19:24:58 +03:00
parent 9e6630e4af
commit 94413fc7ed
2 changed files with 5 additions and 2 deletions

View File

@ -30,11 +30,14 @@ done
export TMPDIR
export FZF_DEFAULT_OPTS="\
--cycle \
--marker="*" \
--bind \
ctrl-/:toggle-preview,\
ctrl-a:toggle-all,\
ctrl-p:preview-up,\
ctrl-n:preview-down,\
ctrl-u:clear-query,\
tab:toggle\
tab:toggle+down,\
shift-tab:toggle\
"

View File

@ -21,7 +21,7 @@ bind F12 send-keys F12
# Choose session with key index starting from 1
bind-key s choose-tree -ZsK '#{?#{e|<:#{line},9},#{e|+:1,#{line}},#{?#{e|<:#{line},35},M-#{a:#{e|+:97,#{e|-:#{line},9}}},}}'
bind s choose-tree -ZsK '#{?#{e|<:#{line},9},#{e|+:1,#{line}},#{?#{e|<:#{line},35},M-#{a:#{e|+:97,#{e|-:#{line},9}}},}}'
# Switch new named session