feat(fzf): mappings
This commit is contained in:
parent
9e6630e4af
commit
94413fc7ed
@ -30,11 +30,14 @@ done
|
|||||||
export TMPDIR
|
export TMPDIR
|
||||||
|
|
||||||
export FZF_DEFAULT_OPTS="\
|
export FZF_DEFAULT_OPTS="\
|
||||||
|
--cycle \
|
||||||
|
--marker="*" \
|
||||||
--bind \
|
--bind \
|
||||||
ctrl-/:toggle-preview,\
|
ctrl-/:toggle-preview,\
|
||||||
ctrl-a:toggle-all,\
|
ctrl-a:toggle-all,\
|
||||||
ctrl-p:preview-up,\
|
ctrl-p:preview-up,\
|
||||||
ctrl-n:preview-down,\
|
ctrl-n:preview-down,\
|
||||||
ctrl-u:clear-query,\
|
ctrl-u:clear-query,\
|
||||||
tab:toggle\
|
tab:toggle+down,\
|
||||||
|
shift-tab:toggle\
|
||||||
"
|
"
|
||||||
@ -21,7 +21,7 @@ bind F12 send-keys F12
|
|||||||
|
|
||||||
|
|
||||||
# Choose session with key index starting from 1
|
# 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
|
# Switch new named session
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user