diff options
Diffstat (limited to 'less.hlp')
| -rw-r--r-- | less.hlp | 44 |
1 files changed, 36 insertions, 8 deletions
@@ -51,6 +51,7 @@ ^F or @ Start search at FIRST file (for /) or last file (for ?). ^K Highlight matches, but don't move (KEEP position). ^R Don't use REGULAR EXPRESSIONS. + ^S _n Search for match in _n-th parenthesized subpattern. ^W WRAP search if no match found. --------------------------------------------------------------------------- @@ -104,6 +105,7 @@ +_c_m_d Execute the less cmd each time a new file is examined. !_c_o_m_m_a_n_d Execute the shell command with $SHELL. + #_c_o_m_m_a_n_d Execute the shell command, expanded like a prompt. |XX_c_o_m_m_a_n_d Pipe file between current pos & mark XX to shell command. s _f_i_l_e Save input to a file. v Edit the current file with $VISUAL or $EDITOR. @@ -186,7 +188,7 @@ -T [_t_a_g_s_f_i_l_e] --tag-file=[_t_a_g_s_f_i_l_e] Use an alternate tags file. -u -U .... --underline-special --UNDERLINE-SPECIAL - Change handling of backspaces. + Change handling of backspaces, tabs and carriage returns. -V ........ --version Display the version number of "less". -w ........ --hilite-unread @@ -207,6 +209,8 @@ Don't display tildes after end of file. -# [_N] .... --shift=[_N] Set horizontal scroll amount (0 = one half screen width). + --exit-follow-on-close + Exit F command on a pipe when writer closes pipe. --file-size Automatically determine the size of the input file. --follow-name @@ -215,8 +219,12 @@ Use N lines and M columns to display file headers. --incsearch Search file as each pattern character is typed in. - --line-num-width=N - Set the width of the -N line number field to N characters. + --intr=_C + Use _C instead of ^X to interrupt a read. + --line-num-width=_N + Set the width of the -N line number field to _N characters. + --modelines=_N + Read _N lines from the input file and look for vim modelines. --mouse Enable mouse input. --no-keypad @@ -225,24 +233,44 @@ Remove duplicates from command history. --no-number-headers Don't give line numbers to header lines. + --no-search-headers + Don't search in header lines or columns. + --no-vbell + Disable the terminal's visual bell. --redraw-on-quit Redraw final screen when quitting. - --rscroll=C + --rscroll=_C Set the character used to mark truncated lines. --save-marks Retain marks across invocations of less. --search-options=[EFKNRW-] Set default options for every search. - --status-col-width=N - Set the width of the -J status column to N characters. + --show-preproc-errors + Display a message if preprocessor exits with an error status. + --proc-backspace + Process backspaces for bold/underline. + --SPECIAL-BACKSPACE + Treat backspaces as control characters. + --proc-return + Delete carriage returns before newline. + --SPECIAL-RETURN + Treat carriage returns as control characters. + --proc-tab + Expand tabs to spaces. + --SPECIAL-TAB + Treat tabs as control characters. + --status-col-width=_N + Set the width of the -J status column to _N characters. --status-line Highlight or color the entire line containing a mark. --use-backslash Subsequent options use backslash as escape char. --use-color Enables colored text. - --wheel-lines=N - Each click of the mouse wheel moves N lines. + --wheel-lines=_N + Each click of the mouse wheel moves _N lines. + --wordwrap + Wrap lines at spaces. --------------------------------------------------------------------------- |
