fzf style

This commit is contained in:
thek4n 2024-11-01 22:48:47 +03:00
parent d3731cb198
commit c7f4925084
2 changed files with 9 additions and 12 deletions

View File

@ -12,8 +12,6 @@ if command -v "lesspipe.sh" &>/dev/null; then
export LESSOPEN="| lesspipe.sh %s" export LESSOPEN="| lesspipe.sh %s"
fi fi
export CDPATH=:~:~/code
export HISTSIZE=100000 export HISTSIZE=100000
export HISTFILESIZE="$HISTSIZE" export HISTFILESIZE="$HISTSIZE"
export HISTCONTROL=ignoreboth:erasedups export HISTCONTROL=ignoreboth:erasedups
@ -36,17 +34,16 @@ done
export TMPDIR export TMPDIR
export FZF_DEFAULT_OPTS="\ export FZF_DEFAULT_OPTS="\
--cycle \ --cycle
--pointer='' \ --pointer='> '
--marker='+' \ --marker='* '
--color='pointer:green' \ --color='gutter:black,pointer:red,preview-border:grey,separator:grey'
--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,\
ctrl-o:toggle,\ ctrl-o:toggle,\
tab:replace-query,\ tab:replace-query\
shift-tab:toggle\
" "

View File

@ -191,9 +191,9 @@ bind -T copy-mode-vi WheelDownPane select-pane \; send-keys -X -N 2 scroll-down
FZF_DEFAULT_OPTS="\ FZF_DEFAULT_OPTS="\
--cycle --cycle
--color='preview-border:grey,separator:grey' --color='gutter:black,pointer:red,preview-border:grey,separator:grey'
--pointer='' --pointer='> '
--marker='+' --marker='* '
--border=rounded --border=rounded
--border-label-pos=bottom --border-label-pos=bottom
--preview-window=70% --preview-window=70%