From b6450b167b089201381f02e1919f18df8881e082 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 1 Apr 2009 18:21:42 +0000 Subject: Basic horizontal splitting and layout management. Still some redraw and other issues - particularly, don't mix with manual pane resizing and be careful when viewing from multiple clients; generally cycling the layout a few times will fix most problems. Getting this in for testing while I think about how to deal with manual mode. Split window as normal and cycle the layouts with C-b space. Some of the layouts will work better when swap-pane comes along. --- key-bindings.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'key-bindings.c') diff --git a/key-bindings.c b/key-bindings.c index 76940123..02afc1c6 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -1,4 +1,4 @@ -/* $Id: key-bindings.c,v 1.63 2009-03-28 14:08:09 nicm Exp $ */ +/* $Id: key-bindings.c,v 1.64 2009-04-01 18:21:30 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -79,6 +79,7 @@ key_bindings_init(void) int can_repeat; const struct cmd_entry *entry; } table[] = { + { ' ', 0, &cmd_next_layout_entry }, { '!', 0, &cmd_break_pane_entry }, { '"', 0, &cmd_split_window_entry }, { '#', 0, &cmd_list_buffers_entry }, -- cgit