From a23f5c787648f1aeff43af2cd1e5f3ee4fc091b4 Mon Sep 17 00:00:00 2001 From: Kevin Yap Date: Sun, 18 Feb 2018 21:33:48 -0800 Subject: [PATCH] Increase fzf preview window width --- Brewfile | 1 + source/exports.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Brewfile b/Brewfile index 2295031..770b8cf 100644 --- a/Brewfile +++ b/Brewfile @@ -16,6 +16,7 @@ brew 'fzf' brew 'gawk' # improves tmux-fingers brew 'gcc' brew 'git' +brew 'highlight' brew 'httpie' brew 'hub' brew 'lynx' diff --git a/source/exports.sh b/source/exports.sh index 691a8be..444814b 100644 --- a/source/exports.sh +++ b/source/exports.sh @@ -29,7 +29,7 @@ export FZF_COMPLETION_TRIGGER=',' # Add previews to fzf shortcuts export FZF_CTRL_T_OPTS="--preview '(highlight -O ansi -l {} 2> /dev/null || cat {} || tree -C {}) 2> /dev/null | head -200'" -export FZF_DEFAULT_OPTS='--height 80%' +export FZF_DEFAULT_OPTS='--height 80% --preview-window right:70%' # Use ripgrep for fzf if installed if command -v rg >/dev/null 2>&1; then -- 2.51.2