mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 04:46:41 +00:00
chore(shell/fzf): use newer --tmux option for fzf
This means the fzf-tmux helper script is no longer needed.
This commit is contained in:
5
zshrc
5
zshrc
@@ -123,6 +123,7 @@ compinit
|
||||
# Setup fzf related stuff if it is available.
|
||||
if command-exists fzf; then
|
||||
export FZF_DEFAULT_OPTS="
|
||||
--tmux 75%
|
||||
--bind=ctrl-k:kill-line
|
||||
--bind=ctrl-v:half-page-down
|
||||
--bind=alt-v:half-page-up
|
||||
@@ -144,10 +145,6 @@ if command-exists fzf; then
|
||||
--walker-skip .git,node_modules,.terraform,target
|
||||
--preview 'tree -C {}'"
|
||||
|
||||
export FZF_TMUX=1
|
||||
export FZF_TMUX_OPTS="-p 75%"
|
||||
export FZF_TMUX_HEIGHT="100%"
|
||||
|
||||
cached-eval "$(command-path fzf)" fzf --zsh
|
||||
|
||||
zstyle ':completion:*' menu no
|
||||
|
||||
Reference in New Issue
Block a user