Projects STRLCPY fzf Commits 19f9bbca
🤬
  • ■ ■ ■ ■
    CHANGELOG.md
    skipped 7 lines
    8 8   ```sh
    9 9   fzf-tmux -p70%
    10 10   fzf-tmux -p70% --color=border:bright-red
    11  - fzf-tmux -p100%,60% --color=border:bright-yellow --border=horizontal
     11 + fzf-tmux -p100%,60% --color=border:bright-yellow --border=horizontal --padding 1,5 --margin 1,0
    12 12   fzf-tmux -p70%,100% --color=border:bright-green --border=vertical
     13 + 
     14 + # Key bindings (CTRL-T, CTRL-R, ALT-C) will use these options
     15 + export FZF_TMUX_OPTS='-p100%,60% --color=border:green --border=horizontal --padding 1,5 --margin 1,0'
    13 16   ```
    14 17   
    15 18  0.32.0
    skipped 1272 lines
  • ■ ■ ■ ■ ■ ■
    bin/fzf-tmux
    skipped 9 lines
    10 10  fzf="$(command -v fzf 2> /dev/null)" || fzf="$(dirname "$0")/fzf"
    11 11  [[ -x "$fzf" ]] || fail 'fzf executable not found'
    12 12   
    13  -tmux_args=()
    14 13  args=()
    15 14  opt=""
    16 15  skip=""
    skipped 102 lines
    119 118   # "--" can be used to separate fzf-tmux options from fzf options to
    120 119   # avoid conflicts
    121 120   skip=1
    122  - tmux_args=("${args[@]}")
    123  - args=()
    124 121   continue
    125 122   ;;
    126 123   *)
    skipped 85 lines
    212 209   cat <&0 > $fifo1 &
    213 210   fi
    214 211   
    215  - tmux popup -d "$PWD" "${tmux_args[@]}" $opt "bash $argsf" > /dev/null 2>&1
     212 + tmux popup -d "$PWD" $opt "bash $argsf" > /dev/null 2>&1
    216 213   exit $?
    217 214  fi
    218 215   
    skipped 7 lines
    226 223  fi
    227 224  tmux set-window-option synchronize-panes off \;\
    228 225   set-window-option remain-on-exit off \;\
    229  - split-window -c "$PWD" $opt "${tmux_args[@]}" "bash -c 'exec -a fzf bash $argsf'" $swap \
     226 + split-window -c "$PWD" $opt "bash -c 'exec -a fzf bash $argsf'" $swap \
    230 227   > /dev/null 2>&1 || { "$fzf" "${args[@]}"; exit $?; }
    231 228  cat $fifo2
    232 229  exit "$(cat $fifo3)"
    skipped 1 lines
  • ■ ■ ■ ■ ■ ■
    src/options.go
    skipped 1543 lines
    1544 1544   opts.ClearOnExit = false
    1545 1545   case "--version":
    1546 1546   opts.Version = true
     1547 + case "--":
     1548 + // Ignored
    1547 1549   default:
    1548 1550   if match, value := optString(arg, "--algo="); match {
    1549 1551   opts.FuzzyAlgo = parseAlgo(value)
    skipped 235 lines
Please wait...
Page is in error, reload to recover