Skip to content

Commit

Permalink
Use $FZF_TMUX_HEIGHT as default height
Browse files Browse the repository at this point in the history
Fix #40
  • Loading branch information
Aloxaf committed Feb 24, 2020
1 parent fa4d01a commit 83c98a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ FZF_TAB_OPTS=(
--expect='$FZF_TAB_CONTINUOUS_TRIGGER' # For continuous completion
'--color=hl:$(( $#headers == 0 ? 108 : 255 ))'
--nth=2,3 --delimiter='\0' # Don't search FZF_TAB_PREFIX
--layout=reverse --height=90%
--layout=reverse --height='${FZF_TMUX_HEIGHT:=75%}'
--tiebreak=begin -m --bind=tab:down,ctrl-j:accept,change:top,ctrl-space:toggle --cycle
'--query=$query' # $query will be expanded to query string at runtime.
'--header-lines=$#headers' # $#headers will be expanded to lines of headers at runtime
Expand Down
2 changes: 1 addition & 1 deletion fzf-tab.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ _fzf_tab_remove_space() {
--expect='$FZF_TAB_CONTINUOUS_TRIGGER' # For continuous completion
'--color=hl:$(( $#headers == 0 ? 108 : 255 ))'
--nth=2,3 --delimiter='\x00' # Don't search FZF_TAB_PREFIX
--layout=reverse --height=75%
--layout=reverse --height='${FZF_TMUX_HEIGHT:=75%}'
--tiebreak=begin -m --bind=tab:down,ctrl-j:accept,change:top,ctrl-space:toggle --cycle
'--query=$query' # $query will be expanded to query string at runtime.
'--header-lines=$#headers' # $#headers will be expanded to lines of headers at runtime
Expand Down

0 comments on commit 83c98a4

Please sign in to comment.