From cfb611e95a2d919369d9ca187a353dca801fd20d Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 29 Jun 2008 07:22:00 +0000 Subject: [PATCH] Document next/prev word. --- TODO | 1 - tmux.1 | 14 +++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/TODO b/TODO index e4e8c846..92d7a733 100644 --- a/TODO +++ b/TODO @@ -51,7 +51,6 @@ - document zombie windows - document buffer stuff -- document next/prev word - commands: save-buffer -b number filename load-buffer -b number filename copy-buffer -s src-session -t dst-session -a src-index -b dst-index diff --git a/tmux.1 b/tmux.1 index aa8f6c8b..863b1d46 100644 --- a/tmux.1 +++ b/tmux.1 @@ -1,4 +1,4 @@ -.\" $Id: tmux.1,v 1.45 2008-06-27 17:24:16 nicm Exp $ +.\" $Id: tmux.1,v 1.46 2008-06-29 07:22:00 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" @@ -240,8 +240,16 @@ style .Ql 0 and .Ql $ -keys) move to the start and end of the line; the space key begins a selection; -and the enter key or +keys) move to the start and end of the line; +.Ql M-f +or +.Ql w +moves the cursor forward one word; +.Ql M-b +or +.Ql b +moves the cursor backward one word; the space key begins a selection; and the +enter key or .Ql C-w copies the selection to the paste buffer and exits copy mode. .Pp