Junegunn Choi
025aa33773
[fzf-tmux] Disallow popup mode on tmux 3.1 or below
...
Close #3198
2023-04-02 00:16:00 +09:00
Junegunn Choi
b3bf18b1c0
[fzf-tmux] Fix version check
...
The output of `tmux -V` starts with "tmux ".
2023-02-13 15:25:39 +09:00
Junegunn Choi
b1619f675f
[fzf-tmux] Do not set --margin 0,1 on tmux 3.3 or above
...
Close #3162
2023-02-13 14:49:02 +09:00
Zhizhen He
2a54e3d770
Fix typos in the source code ( #3048 )
2022-11-18 10:23:04 +09:00
Junegunn Choi
19f9bbca0d
Allow specifying fzf options in $FZF_TMUX_OPTS without '--'
2022-08-08 23:50:47 +09:00
Yang Tian
d826f9e72f
[fzf-tmux] Use fzf border instead of tmux popup border ( #2908 )
...
Co-authored-by: Yang Tian <yang.tian@getcruise.com>
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2022-08-07 10:28:45 +09:00
Junegunn Choi
6a6130615d
[fzf-tmux] Remove code for tmux 3.2 beta compatibility
2022-08-06 19:08:13 +09:00
a1346054
ab247a1309
use consistent style for bash [[ ... ]]
2021-08-15 16:03:26 +09:00
solarizedalias
489b16efce
[fzf-tmux] Adapt to tmux latest changes ( #2379 )
2021-03-08 12:44:36 +09:00
Junegunn Choi
fd8858f8c9
[fzf-tmux] Disable CTRL-Z
2021-01-01 22:43:36 +09:00
Junegunn Choi
246b9f3130
Simplify fzf-tmux script
...
# Should properly escape arguments
FZF_DEFAULT_OPTS='--prompt "\$a`b\"c"' fzf-tmux --header $'$a\nb"c`d'
2020-10-09 23:02:03 +09:00
karasu
01cf01e084
[fzf-tmux] Fix zoomed pane handling in popup mode ( #2054 )
...
When called with popup options, do not move to temp window.
2020-05-23 20:47:43 +09:00
Junegunn Choi
15e2952a2b
[fzf-tmux] Allow positional flags
...
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-07 09:55:48 +09:00
Junegunn Choi
540bfd7a72
[fzf-tmux] Fall back to plain fzf when split failed
2020-04-03 13:23:15 +09:00
Junegunn Choi
8fbed2b13a
[fzf-tmux] Use $PWD instead of #{pane_current_path}
...
Related: https://github.com/tmux/tmux/issues/1282
2020-04-03 13:23:15 +09:00
Junegunn Choi
aa17510e0a
[fzf-tmux] Set default horizontal margin
2020-04-03 13:23:15 +09:00
Junegunn Choi
bf65e8cd12
[fzf-tmux] Add option to start fzf in tmux popup window
...
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%'
2020-04-03 13:23:15 +09:00
Junegunn Choi
888fd35689
[fzf-tmux] Avoid unnecessary recovery of window options
...
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 15:38:27 +09:00
Heinrich Kruger
ddd2a109e4
[fzf-tmux] Restore tmux window options ( #1272 )
...
Restore the original values of 'remain-on-exit' and 'synchronize-panes'
options when exiting 'fzf-tmux'.
2018-05-04 04:25:15 +09:00
Ricardo González
7f5f6efbac
[fzf-tmux] Executes fzf from fzf-tmux with a process name ( #1056 )
2017-09-28 22:23:44 +09:00
Junegunn Choi
655dfb8328
[fzf-tmux] Remove cat command
...
Close #1039
2017-09-01 18:46:00 +09:00
Mike Hearn
9b9c67b768
[fzf-tmux] Add pane_height/pane_width fallback ( #1037 )
2017-09-01 11:16:00 +09:00
Junegunn Choi
329de8f416
[fzf-tmux] Execute trap with bash instead of the default shell
...
Close #1007
2017-08-26 02:51:19 +09:00
Junegunn Choi
3cf9ae04c7
[fzf-tmux] Fix cleanup of temporary files
...
Close #935
2017-06-04 23:24:57 +09:00
Kouki Higashikawa
7c8f7d3f20
[fzf-tmux] Close with exit code 130 when tmux pane is killed
...
Fix #796
2017-04-03 11:49:54 +09:00
五所和哉
bbe696e925
[fzf-tmux] Fix issue with zoomed pane on fish ( #891 )
2017-04-01 11:09:46 +09:00
Junegunn Choi
1ba7acf4bd
[fzf-tmux] Fix race condition when using -l/-u on zoomed panes
...
Using a dummy command that works as the barrier.
2017-02-08 14:55:51 +09:00
Junegunn Choi
1448d631a7
Add --height option
2017-01-08 02:09:56 +09:00
Junegunn Choi
ac549a853a
[fzf-tmux] Fix bash condition
...
Fix #702
2016-10-13 10:42:26 +09:00
Junegunn Choi
053af9a1c8
[fzf-tmux/vim/nvim] Do not split small window
...
Close #699
2016-10-12 23:10:21 +09:00
Bryan Head
9baf7c4874
Make fzf target correct session in group
...
Fixes #643
Doesn't break #648
2016-09-06 13:03:07 -05:00
Junegunn Choi
22b089e47e
Revert "Unset TMUX before splitting window" ( #648 )
...
This reverts commit 4d4447779f
.
2016-08-31 14:20:29 +09:00
Bryan Head
4d4447779f
Unset TMUX before splitting window
...
Avoids confusing grouped sessions.
Fixes #643
2016-08-28 16:57:38 -05:00
Junegunn Choi
b461a555b8
[fzf-tmux] Add --version and --help flags
2016-07-10 14:41:06 +09:00
Junegunn Choi
0f87b2d1e1
[fzf-tmux] Use double brackets
...
For consistency and (negligible) performance improvement
2016-07-10 14:34:29 +09:00
Junegunn Choi
0fb5b76c0d
[fzf-tmux] Fail fast if fzf excutable is not found
2016-07-10 14:28:58 +09:00
Junegunn Choi
6a431cbf49
[fzf-tmux] Escape $ in arguments
...
e.g. fzf-tmux -q '$PATH'
Related: #343
2016-06-08 01:27:22 +09:00
Junegunn Choi
1c86aaf342
[vim/fzf-tmux] Handle fzf project directory with spaces
...
Close #583
2016-06-03 12:09:31 +09:00
Junegunn Choi
cfc0b18eaa
Revert "Change tmux pane title for fzf splits"
...
This reverts commit f074709fc9
.
Close #586 . /cc @akashin
2016-06-03 12:02:21 +09:00
Andrey Kashin
f074709fc9
Change tmux pane title for fzf splits
2016-06-01 10:19:26 +03:00
Junegunn Choi
faccc0a410
[fzf-tmux] Escape backslash in command-line arguments
2016-05-15 17:07:34 +09:00
Junegunn Choi
66f86e1870
[fzf-tmux] Fix #562 - Check $TMUX instead of $TMUX_PANE
2016-05-11 22:08:14 +09:00
Junegunn Choi
c727ba1d99
[fzf-tmux] Do not split pane if the height is too small
2016-04-24 13:32:33 +09:00
Junegunn Choi
6cc9d53978
[fzf-tmux] Fix invalid redirection
2016-03-15 21:21:21 +09:00
Junegunn Choi
df32c05833
[fzf-tmux] Fix issues on tmux 1.8
2016-03-15 21:18:15 +09:00
Junegunn Choi
c0652adf4c
[fzf-tmux] tmux 1.6 compatibility
...
Patch submitted by @netei. Close #524 .
2016-03-15 20:35:25 +09:00
Junegunn Choi
2a2c0a0957
[fzf-tmux] Turn off remain-on-exit option
...
Related: https://github.com/junegunn/fzf.vim/issues/67
2016-01-07 01:42:03 +09:00
Junegunn Choi
4230b6f3c9
[fzf-tmux] Fix #466 - Make fifos writable by other users
2016-01-07 00:32:38 +09:00
Pokey Rule
32010055e1
Correct fzf-tmux tmux checking bug
2015-12-08 17:33:44 -08:00
Pokey Rule
d513a210c6
Support fzf-tmux when zoomed
2015-12-07 17:45:22 -08:00