mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Copy mode search improvements:
- Add styles for the search marking styles (copy-mode-match-style and copy-mode-current-match-style). - Show the current match (the one with the cursor on it) in a different style. - Copying without a selection will copy the current match if there is one.
This commit is contained in:
16
tmux.1
16
tmux.1
@ -3717,6 +3717,22 @@ If suffixed by
|
||||
.Ql % ,
|
||||
this is a percentage of the window size.
|
||||
.Pp
|
||||
.It Ic copy-mode-match-style Ar style
|
||||
Set the style of search matches in copy mode.
|
||||
For how to specify
|
||||
.Ar style ,
|
||||
see the
|
||||
.Sx STYLES
|
||||
section.
|
||||
.Pp
|
||||
.It Ic copy-mode-current-match-style Ar style
|
||||
Set the style of the current search match in copy mode.
|
||||
For how to specify
|
||||
.Ar style ,
|
||||
see the
|
||||
.Sx STYLES
|
||||
section.
|
||||
.Pp
|
||||
.It Xo Ic mode-keys
|
||||
.Op Ic vi | emacs
|
||||
.Xc
|
||||
|
Reference in New Issue
Block a user