From 6dd32d3604bf87b470a2a17756537125c0995344 Mon Sep 17 00:00:00 2001 From: Explorer09 Date: Fri, 17 Jun 2016 10:19:19 +0800 Subject: Document Alt+{h,j,k,l} and Ctrl+{A,E} into man page Rewrite the scrolling part in the man page so that each key become clearer on what it does. Also officially document the Alt+{h,j,k,l} key alternatives and Ctrl+A, Ctrl+E, '^', '$' keys (see issue #508). --- htop.1.in | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) (limited to 'htop.1.in') diff --git a/htop.1.in b/htop.1.in index 93a5310f..b7f52887 100644 --- a/htop.1.in +++ b/htop.1.in @@ -48,8 +48,34 @@ Output version information and exit The following commands are supported while in htop: .LP .TP 5 -.B Arrows, PgUP, PgDn, Home, End -Scroll the process list. +.B Up, Alt+k +Select (hightlight) the previous process in the process list. Scroll the list +if necessary. +.TP +.B Down, Alt-j +Select (hightlight) the next process in the process list. Scroll the list if +necessary. +.TP +.B Left, Alt-h +Scroll the process list left. +.TP +.B Right, Alt-l +Scroll the process list right. +.TP +.B PgUp, PgDn +Scroll the process list up or down one window. +.TP +.B Home +Scroll to the top of the process list and select the first process. +.TP +.B End +Scroll to the bottom of the process list and select the last process. +.TP +.B Ctrl+A, ^ +Scroll left to the beginning of the process entry (i.e. beginning of line). +.TP +.B Ctrl+E, $ +Scroll right to the end of the process entry (i.e. end of line). .TP .B Space Tag or untag a process. Commands that can operate on multiple processes, -- cgit v1.2.3