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

5
tmux.1
View File

@ -1,4 +1,4 @@
.\" $Id: tmux.1,v 1.113 2009-07-14 06:38:14 nicm Exp $
.\" $Id: tmux.1,v 1.114 2009-07-14 06:39:10 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@ -306,7 +306,8 @@ option).
The following keys are supported as appropriate for the mode:
.Bl -column "FunctionXXXXXXXXXXXX" "viXXXXXX" "emacs" -offset indent
.It Sy "Function" Ta Sy "vi" Ta Sy "emacs"
.It Li "Start of line" Ta "0 or ^" Ta "C-a"
.It Li "Start of line" Ta "0" Ta "C-a"
.It Li "Back to indentation" Ta "^" Ta "M-m"
.It Li "Clear selection" Ta "Escape" Ta "C-g"
.It Li "Copy selection" Ta "Enter" Ta "M-w"
.It Li "Cursor down" Ta "j" Ta "Down"