diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-10-05 13:43:35 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-10-05 13:43:35 +0000 |
commit | 52b5b7c401393865426a1b5ff76ff54bdee6c6cc (patch) | |
tree | f5f0db62ce4490121e9c3c0da12c48227413a599 | |
parent | da840c6b3393179934a99b6616d48116aa4bdb40 (diff) |
Add -- to some key bindings so leading -s work.
-rw-r--r-- | usr.bin/tmux/key-bindings.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/tmux/key-bindings.c b/usr.bin/tmux/key-bindings.c index a75b17fafc9..26d68620b16 100644 --- a/usr.bin/tmux/key-bindings.c +++ b/usr.bin/tmux/key-bindings.c @@ -1,4 +1,4 @@ -/* $OpenBSD: key-bindings.c,v 1.82 2017/09/08 08:45:27 nicm Exp $ */ +/* $OpenBSD: key-bindings.c,v 1.83 2017/10/05 13:43:34 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -162,13 +162,13 @@ key_bindings_init(void) "bind ! break-pane", "bind '\"' split-window", "bind '#' list-buffers", - "bind '$' command-prompt -I'#S' \"rename-session '%%'\"", + "bind '$' command-prompt -I'#S' \"rename-session -- '%%'\"", "bind % split-window -h", "bind & confirm-before -p\"kill-window #W? (y/n)\" kill-window", "bind \"'\" command-prompt -pindex \"select-window -t ':%%'\"", "bind ( switch-client -p", "bind ) switch-client -n", - "bind , command-prompt -I'#W' \"rename-window '%%'\"", + "bind , command-prompt -I'#W' \"rename-window -- '%%'\"", "bind - delete-buffer", "bind . command-prompt \"move-window -t '%%'\"", "bind 0 select-window -t:=0", @@ -192,7 +192,7 @@ key_bindings_init(void) "bind ] paste-buffer", "bind c new-window", "bind d detach-client", - "bind f command-prompt \"find-window '%%'\"", + "bind f command-prompt \"find-window -- '%%'\"", "bind i display-message", "bind l last-window", "bind m select-pane -m", |