change lf binds
This commit is contained in:
parent
2e802a95a9
commit
7d7e0d83f5
|
@ -137,14 +137,14 @@ cmd fzf ${{
|
|||
|
||||
clear
|
||||
file="$(eval "$input" | fzf \
|
||||
--expect=' ' \
|
||||
--query "$query" \
|
||||
--delimiter "$delimiter" \
|
||||
--select-1 \
|
||||
--cycle \
|
||||
--nth="$field" \
|
||||
--with-nth="$field" \
|
||||
--preview-window="right,$width" \
|
||||
--bind="one:accept,focus:transform-preview-label(echo {} | cut -d '$delimiter' -f '$path_field')" \
|
||||
--bind="focus:transform-preview-label(echo {} | cut -d '$delimiter' -f '$path_field')" \
|
||||
--scheme='history' \
|
||||
--history="$histfile" \
|
||||
--header="$name" \
|
||||
|
@ -245,10 +245,10 @@ map <space> :toggle; down
|
|||
map <enter> shell
|
||||
map <a-enter> shell-wait
|
||||
map <tab> fzf 'Shortcuts' 'cat $XDG_DATA_HOME/lf/shortcuts 2>/dev/null' ':' '1' '2' '85%' '^'
|
||||
map -t fzf 'Tags' 'cat $XDG_DATA_HOME/lf/tags 2>/dev/null' ':' '1' '1' '50%'
|
||||
map -m fzf 'Marks' 'cat $XDG_DATA_HOME/lf/marks 2>/dev/null' ':' '1' '2' '85%' '^'
|
||||
map -f fzf 'Files' 'find -L $PWD' ':' '1' '1' '50%'
|
||||
map -g find_word
|
||||
map <backtab>t fzf 'Tags' 'cat $XDG_DATA_HOME/lf/tags 2>/dev/null' ':' '1' '1' '50%'
|
||||
map <backtab>m fzf 'Marks' 'cat $XDG_DATA_HOME/lf/marks 2>/dev/null' ':' '1' '2' '85%' '^'
|
||||
map <backtab>f fzf 'Files' 'find -L $PWD' ':' '1' '1' '50%'
|
||||
map <backtab>g find_word
|
||||
map "'" mark-load
|
||||
map '"' mark-remove
|
||||
map "$" shell
|
||||
|
|
Loading…
Reference in New Issue