mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
style(zsh): standardize fzf options formatting in zshrc
This commit is contained in:
21
zshrc
21
zshrc
@@ -172,22 +172,23 @@ if command-exists fzf; then
|
|||||||
--highlight-line"
|
--highlight-line"
|
||||||
|
|
||||||
export FZF_CTRL_T_OPTS="
|
export FZF_CTRL_T_OPTS="
|
||||||
--tmux 75%
|
--tmux=75%
|
||||||
--walker-skip .git,node_modules,.terraform,target
|
--walker-skip=.git,node_modules,.terraform,target
|
||||||
--bind 'ctrl-/:change-preview-window(down|hidden|)'"
|
--bind='ctrl-/:change-preview-window(down|hidden|)'"
|
||||||
|
|
||||||
# TODO: replace pbcopy with something that's cross-platform.
|
# TODO: replace pbcopy with something that's cross-platform.
|
||||||
export FZF_CTRL_R_OPTS="
|
export FZF_CTRL_R_OPTS="
|
||||||
--tmux 75%
|
--tmux=75%
|
||||||
--border=rounded
|
--border=rounded
|
||||||
--preview 'echo {}' --preview-window up:3:hidden:wrap
|
--preview='echo {}'
|
||||||
--bind 'ctrl-/:toggle-preview'
|
--preview-window=down:3:hidden:wrap
|
||||||
--bind 'ctrl-y:execute-silent(echo -n {2..} | pbcopy)+abort'"
|
--bind='ctrl-/:toggle-preview'
|
||||||
|
--bind='ctrl-y:execute-silent(echo -n {2..} | pbcopy)+abort'"
|
||||||
|
|
||||||
export FZF_ALT_C_OPTS="
|
export FZF_ALT_C_OPTS="
|
||||||
--tmux 75%
|
--tmux=75%
|
||||||
--walker-skip .git,node_modules,.terraform,target
|
--walker-skip=.git,node_modules,.terraform,target
|
||||||
--preview 'tree -C {}'"
|
--preview='tree -C {}'"
|
||||||
|
|
||||||
cached-eval "$(mise-which fzf)" fzf --zsh
|
cached-eval "$(mise-which fzf)" fzf --zsh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user