diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-14 06:39:25 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-14 06:39:25 +0000 |
commit | 5ef5bd7c3127f00dca54499b48802bba85953a6a (patch) | |
tree | 4ffadd85dae09280feb6bb6b8792d0297ed59b13 /status.c | |
parent | 7f98193beb9bb6cdc11776478784ad356f32785b (diff) | |
download | rtmux-5ef5bd7c3127f00dca54499b48802bba85953a6a.tar.gz rtmux-5ef5bd7c3127f00dca54499b48802bba85953a6a.tar.bz2 rtmux-5ef5bd7c3127f00dca54499b48802bba85953a6a.zip |
Add a "back to indentation" key in copy mode to move the cursor to the first
non-whitespace character. ^ with vi and M-m with emacs key bindings. Another
from Kalle Olavi Niemitalo, thanks.
Diffstat (limited to 'status.c')
-rw-r--r-- | status.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: status.c,v 1.90 2009-07-01 23:06:32 nicm Exp $ */ +/* $Id: status.c,v 1.91 2009-07-14 06:39:10 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -709,6 +709,7 @@ status_prompt_key(struct client *c, int key) } break; case MODEKEYCMD_STARTOFLINE: + case MODEKEYCMD_BACKTOINDENTATION: if (c->prompt_index != 0) { c->prompt_index = 0; c->flags |= CLIENT_STATUS; |