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.
This commit is contained in:
Nicholas Marriott
2009-07-14 06:39:25 +00:00
parent 7f98193beb
commit 5ef5bd7c31
7 changed files with 70 additions and 17 deletions

View File

@ -1,4 +1,4 @@
/* $Id: server.c,v 1.156 2009-07-14 06:38:14 nicm Exp $ */
/* $Id: server.c,v 1.157 2009-07-14 06:39:25 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -351,6 +351,9 @@ server_main(int srv_fd)
server_handle_windows(&pfd);
server_handle_clients(&pfd);
/* Collect any unset key bindings. */
key_bindings_clean();
/*
* If we have no sessions and clients left, let's get out
* of here...