From e4cf738e36485f27ef0d476e539d73bdae7fd730 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 16 Jan 2009 19:32:29 +0000 Subject: [PATCH] Add tabs. --- TODO | 2 ++ key-string.c | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index 9712ee11..51dd846b 100644 --- a/TODO +++ b/TODO @@ -57,6 +57,8 @@ - would be nice if tmux could be the shell - key to switch to copy mode from scroll mode - flag to scroll-mode/copy-mode to automatically scroll up a page +- some people find first window being 0 rather than 1 is awkward on the keyboard. what about a new-window-index option that sets the base at which tmux starts numbering new windows, then they can do: set -g new-window-index 1; bind 0 selectw -t:10 +- suspend-client command bound to ^Z soon: - swap-pane-up, swap-pane-down diff --git a/key-string.c b/key-string.c index abbd97a0..c2d0eab3 100644 --- a/key-string.c +++ b/key-string.c @@ -1,4 +1,4 @@ -/* $Id: key-string.c,v 1.15 2009-01-14 22:41:40 nicm Exp $ */ +/* $Id: key-string.c,v 1.16 2009-01-16 19:32:29 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -47,6 +47,8 @@ struct { { "End", KEYC_END }, { "NPage", KEYC_NPAGE }, { "PPage", KEYC_PPAGE }, + { "Tab", '\011' }, + { "BTab", KEYC_BTAB }, /* Arrow keys. */ { "Up", KEYC_UP },