summaryrefslogtreecommitdiffstats
path: root/bin/fzf-tmux
AgeCommit message (Collapse)Author
2024-05-18Add --tmux option to replace fzf-tmux scriptJunegunn Choi
2024-04-17[fzf-tmux] Replace `command -v` with `which`Junegunn Choi
`command -v fzf` prints `alias fzf=...` when `fzf` is an alias. Fix #3730
2024-03-13Add walker options and replace 'find' with the built-in walker (#3649)Junegunn Choi
2024-02-21fzf-tmux: Workaround for tmux 3.4 bugJunegunn Choi
Close #3635 https://github.com/tmux/tmux/pull/3840
2023-10-13[fzf-tmux] Fix 'empty command' error on tmux 3.2Junegunn Choi
Fix #3474
2023-08-24[fzf-tmux] Turn off remain-on-exit only on fzf-tmux pane (#3410)Chandan Mangu
* fix: turn off remain-on-exit only on fzf-tmux pane Using `fzf-tmux` overwrites `remain-on-exit` for all panes in a window, if it is only set globally or at a higher scope than window. set-option -wg remain-on-exit on set-option -s remain-on-exit on This makes other panes in that window close immediately on exit after using `fzf-tmux`, even though I expect them to remain open. Since TMux 3.0, `remain-on-exit` is a pane option that can be set via `set-option -p`. This will limit the option's scope to just the `fzf-tmux` pane, thus allowing us to close it immediately without overriding `remain-on-exit` on other panes in the window. Co-authored-by: Junegunn Choi <junegunn.c@gmail.com> Link: https://github.com/tmux/tmux/blob/11e69f6025f5783fe17d43247de1c3f659a19b69/CHANGES#L753-L760 Link: https://github.com/tmux/tmux/releases/tag/3.0 Related: https://github.com/junegunn/fzf/issues/3397 * fix: turn off synchronize-panes only on fzf-tmux pane Similar reason to 482fd2b (fix: turn off remain-on-exit only on fzf-tmux pane, 2023-08-24). Limit scope on which option is set to bare minimum. Have confirmed this will not feed input back to other panes which are set to be synchronized. However, note that this will not stop `fzf-tmux` from being launched by two synchronized panes in parallel. Link: https://github.com/junegunn/fzf/issues/3397#issuecomment-1689295351 --------- Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2023-08-03[fzf-tmux] Pass $RUNEWIDTH_EASTASIANJunegunn Choi
Close #3385
2023-05-31[fzf-tmux] Pass $BAT_THEMEJunegunn Choi
This may anger some purists, but bat is widely used as the previewer so I think it's worth it.
2023-04-11[fzf-tmux] Try awk before bcJunegunn Choi
2023-04-06[fzf-tmux] Use awk if bc is not foundJunegunn Choi
Fix #3235
2023-04-02[fzf-tmux] Disallow popup mode on tmux 3.1 or belowJunegunn Choi
Close #3198
2023-02-13[fzf-tmux] Fix version checkJunegunn Choi
The output of `tmux -V` starts with "tmux ".
2023-02-13[fzf-tmux] Do not set --margin 0,1 on tmux 3.3 or aboveJunegunn Choi
Close #3162
2022-11-18Fix typos in the source code (#3048)Zhizhen He
2022-08-08Allow specifying fzf options in $FZF_TMUX_OPTS without '--'Junegunn Choi
2022-08-07[fzf-tmux] Use fzf border instead of tmux popup border (#2908)Yang Tian
Co-authored-by: Yang Tian <yang.tian@getcruise.com> Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2022-08-06[fzf-tmux] Remove code for tmux 3.2 beta compatibilityJunegunn Choi
2021-08-15use consistent style for bash [[ ... ]]a1346054
2021-03-08[fzf-tmux] Adapt to tmux latest changes (#2379)solarizedalias
2021-01-01[fzf-tmux] Disable CTRL-ZJunegunn Choi
2020-10-09Simplify fzf-tmux scriptJunegunn Choi
# Should properly escape arguments FZF_DEFAULT_OPTS='--prompt "\$a`b\"c"' fzf-tmux --header $'$a\nb"c`d'
2020-05-23[fzf-tmux] Fix zoomed pane handling in popup mode (#2054)karasu
When called with popup options, do not move to temp window.
2020-04-07[fzf-tmux] Allow positional flagsJunegunn Choi
Since we don't know in advance which flags tmux will support, simply allow a single uppercase character ([A-Z]) for now. fzf-tmux -xR -yS fzf-tmux -x R -y S Fix #1956
2020-04-03[fzf-tmux] Fall back to plain fzf when split failedJunegunn Choi
2020-04-03[fzf-tmux] Use $PWD instead of #{pane_current_path}Junegunn Choi
Related: https://github.com/tmux/tmux/issues/1282
2020-04-03[fzf-tmux] Set default horizontal marginJunegunn Choi
2020-04-03[fzf-tmux] Add option to start fzf in tmux popup windowJunegunn Choi
Requires latest tmux built from source (e.g. brew install tmux --HEAD) Examples: # 50%/50% width and height on the center of the screen fzf-tmux -p # 80%/80% fzf-tmux -p80% # 80%/40% fzf-tmux -p80%,40% # Separate -w and -h fzf-tmux -w80% -h40% # 80%/40% at position (0, 0) fzf-tmux -w80% -h40% -x0 -y0 You can configure key bindings and fuzzy completion to open in tmux popup window like so: FZF_TMUX_OPTS='-p 80%'
2018-05-04[fzf-tmux] Avoid unnecessary recovery of window optionsJunegunn Choi
fzf-tmux temporarily turns off remain-on-exit and synchronize-panes options. We don't have to try to restore the values of the options if they were already turned off when fzf-tmux was started.
2018-05-04[fzf-tmux] Restore tmux window options (#1272)Heinrich Kruger
Restore the original values of 'remain-on-exit' and 'synchronize-panes' options when exiting 'fzf-tmux'.
2017-09-28[fzf-tmux] Executes fzf from fzf-tmux with a process name (#1056)Ricardo González
2017-09-01[fzf-tmux] Remove cat commandJunegunn Choi
Close #1039
2017-09-01[fzf-tmux] Add pane_height/pane_width fallback (#1037)Mike Hearn
2017-08-26[fzf-tmux] Execute trap with bash instead of the default shellJunegunn Choi
Close #1007
2017-06-04[fzf-tmux] Fix cleanup of temporary filesJunegunn Choi
Close #935
2017-04-03[fzf-tmux] Close with exit code 130 when tmux pane is killedKouki Higashikawa
Fix #796
2017-04-01[fzf-tmux] Fix issue with zoomed pane on fish (#891)五所和哉
2017-02-08[fzf-tmux] Fix race condition when using -l/-u on zoomed panesJunegunn Choi
Using a dummy command that works as the barrier.
2017-01-08Add --height optionJunegunn Choi
2016-10-13[fzf-tmux] Fix bash conditionJunegunn Choi
Fix #702
2016-10-12[fzf-tmux/vim/nvim] Do not split small windowJunegunn Choi
Close #699
2016-09-06Make fzf target correct session in groupBryan Head
Fixes #643 Doesn't break #648
2016-08-31Revert "Unset TMUX before splitting window" (#648)Junegunn Choi
This reverts commit 4d4447779fe4c3ff05c2e6809c1b0c5d754d9772.
2016-08-28Unset TMUX before splitting windowBryan Head
Avoids confusing grouped sessions. Fixes #643
2016-07-10[fzf-tmux] Add --version and --help flagsJunegunn Choi
2016-07-10[fzf-tmux] Use double bracketsJunegunn Choi
For consistency and (negligible) performance improvement
2016-07-10[fzf-tmux] Fail fast if fzf excutable is not foundJunegunn Choi
2016-06-08[fzf-tmux] Escape $ in argumentsJunegunn Choi
e.g. fzf-tmux -q '$PATH' Related: #343
2016-06-03[vim/fzf-tmux] Handle fzf project directory with spacesJunegunn Choi
Close #583
2016-06-03Revert "Change tmux pane title for fzf splits"Junegunn Choi
This reverts commit f074709fc96291f9a7d41d1fda9d9193c92b57e0. Close #586. /cc @akashin
2016-06-01Change tmux pane title for fzf splitsAndrey Kashin