Skip to content

Commit

Permalink
Merge pull request #22 from MohamedOsman1998/main
Browse files Browse the repository at this point in the history
remove unnecessary nowrap
  • Loading branch information
roosta authored Dec 15, 2023
2 parents f272cde + 8bd580b commit 8af837d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/fuzzback.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ finder_split_cmd() {
local fuzzback_finder="$3"
local hide_preview="$5"
local finder
local preview_window="nowrap"
local preview_window=""
if [ "$hide_preview" -eq 1 ];then
preview_window=":hidden,nowrap"
preview_window=":hidden"
fi

finder='fzf-tmux'
Expand All @@ -44,9 +44,9 @@ finder_split_cmd() {

fzf_popup_cmd() {
local hide_preview="$5"
local preview_window="nowrap"
local preview_window=""
if [ "$hide_preview" -eq 1 ];then
preview_window=":hidden,nowrap"
preview_window=":hidden"
fi

fzf-tmux -p "$1" \
Expand Down

0 comments on commit 8af837d

Please sign in to comment.