summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/key-bindings.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-11-15 19:59:27 +0000
committernicm <nicm@openbsd.org>2017-11-15 19:59:27 +0000
commit967ee5b96581c2f28b071ef7dfdff094fb79f4f1 (patch)
tree56bb00a1c8b523f3265d39f318c981da14969610 /usr.bin/tmux/key-bindings.c
parentCompletely rewrite the reflow code to correctly handle double width (diff)
downloadwireguard-openbsd-967ee5b96581c2f28b071ef7dfdff094fb79f4f1.tar.xz
wireguard-openbsd-967ee5b96581c2f28b071ef7dfdff094fb79f4f1.zip
Add a common function for spreading out cells and use it for the two
even layouts and to add a -E flag to select-layout to spread out cells evenly without changing parent cells.
Diffstat (limited to 'usr.bin/tmux/key-bindings.c')
-rw-r--r--usr.bin/tmux/key-bindings.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/key-bindings.c b/usr.bin/tmux/key-bindings.c
index 26d68620b16..4bb01f36c66 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.83 2017/10/05 13:43:34 nicm Exp $ */
+/* $OpenBSD: key-bindings.c,v 1.84 2017/11/15 19:59:27 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -186,6 +186,7 @@ key_bindings_init(void)
"bind = choose-buffer",
"bind ? list-keys",
"bind D choose-client",
+ "bind E select-layout -E",
"bind L switch-client -l",
"bind M select-pane -M",
"bind [ copy-mode",