Skip to content

Commit

Permalink
remove unnecessary nowrap
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedOsman1998 committed Dec 15, 2023
1 parent f272cde commit 8bd580b
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 8bd580b

Please sign in to comment.