diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-02-13 21:39:45 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-02-13 21:39:45 +0000 |
commit | 95c8c049f5a0a0511108918cedd195f6f13e1004 (patch) | |
tree | 0f08f025105d5a7eaf51a3e085f7462b733a7503 /tmux.c | |
parent | 47e6b2725d51320928e5b0ab5c7e488920edd83d (diff) | |
download | rtmux-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |