From 83b603390683d49ff75b72d142b4dba4b5186d73 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 10 May 2024 01:40:56 +0900 Subject: Add --tmux option to replace fzf-tmux script --- man/man1/fzf-tmux.1 | 2 +- man/man1/fzf.1 | 20 +++++++++++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) (limited to 'man') diff --git a/man/man1/fzf-tmux.1 b/man/man1/fzf-tmux.1 index 11161e48..3ab36d44 100644 --- a/man/man1/fzf-tmux.1 +++ b/man/man1/fzf-tmux.1 @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. .. -.TH fzf-tmux 1 "May 2024" "fzf 0.52.1" "fzf-tmux - open fzf in tmux split pane" +.TH fzf-tmux 1 "May 2024" "fzf 0.53.0" "fzf-tmux - open fzf in tmux split pane" .SH NAME fzf-tmux - open fzf in tmux split pane diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index 0f99739d..09d7e893 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. .. -.TH fzf 1 "May 2024" "fzf 0.52.1" "fzf - a command-line fuzzy finder" +.TH fzf 1 "May 2024" "fzf 0.53.0" "fzf - a command-line fuzzy finder" .SH NAME fzf - a command-line fuzzy finder @@ -215,6 +215,24 @@ compatible with a negative height value. .BI "--min-height=" "HEIGHT" Minimum height when \fB--height\fR is given in percent (default: 10). Ignored when \fB--height\fR is not specified. +.TP +.BI "--tmux=" "[center|top|bottom|left|right][,SIZE[%]][,SIZE[%]]" +Start fzf in a tmux popup. Requires tmux 3.3 or later. This option is ignored +if you are not running fzf inside tmux. + +e.g. + \fB# Popup in the center with 80% width height + fzf --tmux 80% + + # Popup on the left with 40% width and 100% height + fzf --tmux right,40% + + # Popup on the bottom with 100% width and 30% height + fzf --tmux bottom,30% + + # Popup on the top with 80% width and 40% height + fzf --tmux top,80%,40%\fR + .TP .BI "--layout=" "LAYOUT" Choose the layout (default: default) -- cgit v1.2.3