Skip to content

Commit fb85bb7

Browse files
committed
fix tmux settings for fzf
1 parent ddc63ee commit fb85bb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dot_vimrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ let g:fzf_action = {
568568
\ 'ctrl-v': 'vsplit' }
569569

570570
" - Popup window (center of the current window)
571-
let g:fzf_layout = { 'window': { 'width': 0.9, 'height': 0.9, 'relative': v:true } }
571+
let g:fzf_layout = exists('$TMUX') ? {'tmux': '-p90%,80%'} : {'window': { 'width': 0.9, 'height': 0.9, 'relative': v:true }}
572572

573573
" Customize fzf colors to match your color scheme
574574
" - fzf#wrap translates this to a set of `--color` options

0 commit comments

Comments
 (0)