summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/key-bindings.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2019-12-02 19:25:53 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2019-12-02 19:25:53 +0000
commit1767e902e2182b45699c4e54774f9a6861e2b0b3 (patch)
treed2586ca64421b13c388ea3fd9711de4b92cef6a1 /usr.bin/tmux/key-bindings.c
parentc0f1c0f135bdad757abb36886eaeefbe5b56b4b9 (diff)
Remove client menu, I don't think it adds anything.
Diffstat (limited to 'usr.bin/tmux/key-bindings.c')
-rw-r--r--usr.bin/tmux/key-bindings.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/usr.bin/tmux/key-bindings.c b/usr.bin/tmux/key-bindings.c
index 49e4775e76b..b7f6a129cbb 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.103 2019/11/26 15:35:56 nicm Exp $ */
+/* $OpenBSD: key-bindings.c,v 1.104 2019/12/02 19:25:52 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -24,12 +24,6 @@
#include "tmux.h"
-#define DEFAULT_CLIENT_MENU \
- " 'Detach' 'd' {detach-client}" \
- " 'Detach & Kill' 'X' {detach-client -P}" \
- " 'Detach Others' 'o' {detach-client -a}" \
- " ''" \
- " 'Lock' 'l' {lock-client}"
#define DEFAULT_SESSION_MENU \
" 'Next' 'n' {switch-client -n}" \
" 'Previous' 'p' {switch-client -p}" \
@@ -325,7 +319,6 @@ key_bindings_init(void)
"bind -n MouseDrag1Pane if -Ft= '#{mouse_any_flag}' 'if -Ft= \"#{pane_in_mode}\" \"copy-mode -M\" \"send-keys -M\"' 'copy-mode -M'",
"bind -n WheelUpPane if -Ft= '#{mouse_any_flag}' 'send-keys -M' 'if -Ft= \"#{pane_in_mode}\" \"send-keys -M\" \"copy-mode -et=\"'",
- "bind -n MouseDown3StatusRight display-menu -t= -xM -yS -T \"#[align=centre]#{client_name}\" " DEFAULT_CLIENT_MENU,
"bind -n MouseDown3StatusLeft display-menu -t= -xM -yS -T \"#[align=centre]#{session_name}\" " DEFAULT_SESSION_MENU,
"bind -n MouseDown3Status display-menu -t= -xW -yS -T \"#[align=centre]#{window_index}:#{window_name}\" " DEFAULT_WINDOW_MENU,
"bind < display-menu -xW -yS -T \"#[align=centre]#{window_index}:#{window_name}\" " DEFAULT_WINDOW_MENU,