summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-01-16 19:32:29 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-01-16 19:32:29 +0000
commite4cf738e36485f27ef0d476e539d73bdae7fd730 (patch)
tree4d51c826e8619efb7ac689bb695f1844b22dceef
parent24d04208c7eb3ec47fad1b652773c9f58bb3aa30 (diff)
Add tabs.
-rw-r--r--TODO2
-rw-r--r--key-string.c4
2 files changed, 5 insertions, 1 deletions
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 <nicm@users.sourceforge.net>
@@ -47,6 +47,8 @@ struct {
{ "End", KEYC_END },
{ "NPage", KEYC_NPAGE },
{ "PPage", KEYC_PPAGE },
+ { "Tab", '\011' },
+ { "BTab", KEYC_BTAB },
/* Arrow keys. */
{ "Up", KEYC_UP },