version 1.4, 2011/09/16 18:12:09 |
version 1.5, 2014/04/25 13:38:21 |
|
|
|
|
Commands marked with * may be preceded by a number, _N. |
Commands marked with * may be preceded by a number, _N. |
Notes in parentheses indicate the behavior if _N is given. |
Notes in parentheses indicate the behavior if _N is given. |
|
A key preceded by a caret indicates the Ctrl key; thus ^K is ctrl-K. |
|
|
h H Display this help. |
h H Display this help. |
q :q Q :Q ZZ Exit. |
q :q Q :Q ZZ Exit. |
|
|
ESC-u Undo (toggle) search highlighting. |
ESC-u Undo (toggle) search highlighting. |
&_p_a_t_t_e_r_n * Display only matching lines |
&_p_a_t_t_e_r_n * Display only matching lines |
--------------------------------------------------- |
--------------------------------------------------- |
Search patterns may be modified by one or more of: |
A search pattern may be preceded by one or more of: |
^N or ! Search for NON-matching lines. |
^N or ! Search for NON-matching lines. |
^E or * Search multiple files (pass thru END OF FILE). |
^E or * Search multiple files (pass thru END OF FILE). |
^F or @ Start search at FIRST file (for /) or last file (for ?). |
^F or @ Start search at FIRST file (for /) or last file (for ?). |
|
|
-? ........ --help |
-? ........ --help |
Display help (from command line). |
Display help (from command line). |
-a ........ --search-skip-screen |
-a ........ --search-skip-screen |
Forward search skips current screen. |
Search skips current screen. |
-A ........ --SEARCH-SKIP-SCREEN |
-A ........ --SEARCH-SKIP-SCREEN |
Forward search always skips target line. |
Search starts just after target line. |
-b [_N] .... --buffers=[_N] |
-b [_N] .... --buffers=[_N] |
Number of buffers. |
Number of buffers. |
-B ........ --auto-buffers |
-B ........ --auto-buffers |
|
|
-s ........ --squeeze-blank-lines |
-s ........ --squeeze-blank-lines |
Squeeze multiple blank lines. |
Squeeze multiple blank lines. |
-S ........ --chop-long-lines |
-S ........ --chop-long-lines |
Chop long lines. |
Chop (truncate) long lines rather than wrapping. |
-t [_t_a_g] .. --tag=[_t_a_g] |
-t [_t_a_g] .. --tag=[_t_a_g] |
Find a tag. |
Find a tag. |
-T [_t_a_g_s_f_i_l_e] --tag-file=[_t_a_g_s_f_i_l_e] |
-T [_t_a_g_s_f_i_l_e] --tag-file=[_t_a_g_s_f_i_l_e] |
|
|
Set tab stops. |
Set tab stops. |
-X ........ --no-init |
-X ........ --no-init |
Don't use termcap init/deinit strings. |
Don't use termcap init/deinit strings. |
--no-keypad |
|
Don't use termcap keypad init/deinit strings. |
|
-y [_N] .... --max-forw-scroll=[_N] |
-y [_N] .... --max-forw-scroll=[_N] |
Forward scroll limit. |
Forward scroll limit. |
-z [_N] .... --window=[_N] |
-z [_N] .... --window=[_N] |
|
|
-# [_N] .... --shift=[_N] |
-# [_N] .... --shift=[_N] |
Horizontal scroll amount (0 = one half screen width) |
Horizontal scroll amount (0 = one half screen width) |
........ --no-keypad |
........ --no-keypad |
Don't send keypad init/deinit sequence. |
Don't send termcap keypad init/deinit strings. |
........ --follow-name |
........ --follow-name |
The F command changes files if the input file is renamed. |
The F command changes files if the input file is renamed. |
|
|
|
|
|
|
RightArrow ESC-l Move cursor right one character. |
RightArrow ESC-l Move cursor right one character. |
LeftArrow ESC-h Move cursor left one character. |
LeftArrow ESC-h Move cursor left one character. |
CNTL-RightArrow ESC-RightArrow ESC-w Move cursor right one word. |
ctrl-RightArrow ESC-RightArrow ESC-w Move cursor right one word. |
CNTL-LeftArrow ESC-LeftArrow ESC-b Move cursor left one word. |
ctrl-LeftArrow ESC-LeftArrow ESC-b Move cursor left one word. |
HOME ESC-0 Move cursor to start of line. |
HOME ESC-0 Move cursor to start of line. |
END ESC-$ Move cursor to end of line. |
END ESC-$ Move cursor to end of line. |
BACKSPACE Delete char to left of cursor. |
BACKSPACE Delete char to left of cursor. |
DELETE ESC-x Delete char under cursor. |
DELETE ESC-x Delete char under cursor. |
CNTL-BACKSPACE ESC-BACKSPACE Delete word to left of cursor. |
ctrl-BACKSPACE ESC-BACKSPACE Delete word to left of cursor. |
CNTL-DELETE ESC-DELETE ESC-X Delete word under cursor. |
ctrl-DELETE ESC-DELETE ESC-X Delete word under cursor. |
CNTL-U ESC (MS-DOS only) Delete entire line. |
ctrl-U ESC (MS-DOS only) Delete entire line. |
UpArrow ESC-k Retrieve previous command line. |
UpArrow ESC-k Retrieve previous command line. |
DownArrow ESC-j Retrieve next command line. |
DownArrow ESC-j Retrieve next command line. |
TAB Complete filename & cycle. |
TAB Complete filename & cycle. |
SHIFT-TAB ESC-TAB Complete filename & reverse cycle. |
SHIFT-TAB ESC-TAB Complete filename & reverse cycle. |
CNTL-L Complete filename, list all. |
ctrl-L Complete filename, list all. |
|
|