Add -F flag to send-keys to expand formats in search-backward and

forward copy mode commands, this makes it easier to use the cursor_word
and cursor_line formats. From Anindya Mukherjee in GitHub issue 1964.
This commit is contained in:
nicm
2019-11-07 07:11:25 +00:00
parent bad95db878
commit c225262e13
3 changed files with 35 additions and 8 deletions

6
tmux.1
View File

@ -2672,7 +2672,7 @@ With
only
.Ar key-table .
.It Xo Ic send-keys
.Op Fl HlMRX
.Op Fl FHlMRX
.Op Fl N Ar repeat-count
.Op Fl t Ar target-pane
.Ar key Ar ...
@ -2711,7 +2711,9 @@ the
.Sx WINDOWS AND PANES
section.
.Fl N
specifies a repeat count.
specifies a repeat count and
.Fl F
expands formats in arguments where appropriate.
.It Xo Ic send-prefix
.Op Fl 2
.Op Fl t Ar target-pane