mirror of
https://github.com/tmux/tmux.git
synced 2024-11-16 01:18:52 +00:00
Add -- to some key bindings so leading -s work.
This commit is contained in:
parent
88517ceebb
commit
b462063cd5
@ -162,13 +162,13 @@ key_bindings_init(void)
|
|||||||
"bind ! break-pane",
|
"bind ! break-pane",
|
||||||
"bind '\"' split-window",
|
"bind '\"' split-window",
|
||||||
"bind '#' list-buffers",
|
"bind '#' list-buffers",
|
||||||
"bind '$' command-prompt -I'#S' \"rename-session '%%'\"",
|
"bind '$' command-prompt -I'#S' \"rename-session -- '%%'\"",
|
||||||
"bind % split-window -h",
|
"bind % split-window -h",
|
||||||
"bind & confirm-before -p\"kill-window #W? (y/n)\" kill-window",
|
"bind & confirm-before -p\"kill-window #W? (y/n)\" kill-window",
|
||||||
"bind \"'\" command-prompt -pindex \"select-window -t ':%%'\"",
|
"bind \"'\" command-prompt -pindex \"select-window -t ':%%'\"",
|
||||||
"bind ( switch-client -p",
|
"bind ( switch-client -p",
|
||||||
"bind ) switch-client -n",
|
"bind ) switch-client -n",
|
||||||
"bind , command-prompt -I'#W' \"rename-window '%%'\"",
|
"bind , command-prompt -I'#W' \"rename-window -- '%%'\"",
|
||||||
"bind - delete-buffer",
|
"bind - delete-buffer",
|
||||||
"bind . command-prompt \"move-window -t '%%'\"",
|
"bind . command-prompt \"move-window -t '%%'\"",
|
||||||
"bind 0 select-window -t:=0",
|
"bind 0 select-window -t:=0",
|
||||||
@ -192,7 +192,7 @@ key_bindings_init(void)
|
|||||||
"bind ] paste-buffer",
|
"bind ] paste-buffer",
|
||||||
"bind c new-window",
|
"bind c new-window",
|
||||||
"bind d detach-client",
|
"bind d detach-client",
|
||||||
"bind f command-prompt \"find-window '%%'\"",
|
"bind f command-prompt \"find-window -- '%%'\"",
|
||||||
"bind i display-message",
|
"bind i display-message",
|
||||||
"bind l last-window",
|
"bind l last-window",
|
||||||
"bind m select-pane -m",
|
"bind m select-pane -m",
|
||||||
|
Loading…
Reference in New Issue
Block a user