mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Allow menu items to be disabled by putting a - at the start of their
name, rather than just including #[dim] which still allowed them to be chosen.
This commit is contained in:
@ -299,7 +299,7 @@ key_bindings_init(void)
|
||||
"bind -n MouseDown3Status display-menu -t= -xW -yS -T \"#[align=centre]#{window_index}:#{window_name}\""
|
||||
" 'Swap Left' 'l' {swap-window -t:-1}"
|
||||
" 'Swap Right' 'r' {swap-window -t:+1}"
|
||||
" '#{?pane_marked_set,,#[dim]}Swap Marked' 's' {swap-window}"
|
||||
" '#{?pane_marked_set,,-}Swap Marked' 's' {swap-window}"
|
||||
" ''"
|
||||
" 'Kill' 'X' {kill-window}"
|
||||
" 'Respawn' 'R' {respawn-window -k}"
|
||||
@ -319,7 +319,7 @@ key_bindings_init(void)
|
||||
" ''"
|
||||
" 'Swap Up' 'u' {swap-pane -U}"
|
||||
" 'Swap Down' 'd' {swap-pane -D}"
|
||||
" '#{?pane_marked_set,,#[dim]}Swap Marked' 's' {swap-pane}"
|
||||
" '#{?pane_marked_set,,-}Swap Marked' 's' {swap-pane}"
|
||||
" ''"
|
||||
" 'Kill' 'X' {kill-pane}"
|
||||
" 'Respawn' 'R' {respawn-pane -k}"
|
||||
|
Reference in New Issue
Block a user