aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-02-13 21:39:45 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-02-13 21:39:45 +0000
commit95c8c049f5a0a0511108918cedd195f6f13e1004 (patch)
tree0f08f025105d5a7eaf51a3e085f7462b733a7503 /tmux.c
parent47e6b2725d51320928e5b0ab5c7e488920edd83d (diff)
downloadrtmux-95c8c049f5a0a0511108918cedd195f6f13e1004.tar.gz
rtmux-95c8c049f5a0a0511108918cedd195f6f13e1004.tar.bz2
rtmux-95c8c049f5a0a0511108918cedd195f6f13e1004.zip
Redo mode keys slightly more cleanly and apply them to command prompt editing. vi or emacs mode is controlled by the session option status-keys.
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmux.c b/tmux.c
index 96309fa1..c963a81e 100644
--- a/tmux.c
+++ b/tmux.c
@@ -1,4 +1,4 @@
-/* $Id: tmux.c,v 1.106 2009-02-08 16:26:43 nicm Exp $ */
+/* $Id: tmux.c,v 1.107 2009-02-13 21:39:45 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -252,6 +252,7 @@ main(int argc, char **argv)
options_set_string(&global_options, "status-left", "[#S]");
options_set_string(
&global_options, "status-right", "\"#24T\" %%H:%%M %%d-%%b-%%y");
+ options_set_number(&global_options, "status-keys", MODEKEY_EMACS);
options_init(&global_window_options, NULL);
options_set_number(&global_window_options, "aggressive-resize", 0);
options_set_number(&global_window_options, "clock-mode-colour", 4);