docs: improve the description of the --autoindent option
parent
0ea434b006
commit
6fe132194c
|
@ -187,8 +187,9 @@ highlighted item. Useful for braille users.
|
||||||
Show a summary of the available command-line options and exit.
|
Show a summary of the available command-line options and exit.
|
||||||
.TP
|
.TP
|
||||||
.BR \-i ", " \-\-autoindent
|
.BR \-i ", " \-\-autoindent
|
||||||
Indent new lines to the previous line's indentation. Useful when
|
Automatically indent a newly created line to the same number of tabs
|
||||||
editing source code.
|
and/or spaces as the previous line (or as the next line if the previous
|
||||||
|
line is the beginning of a paragraph).
|
||||||
.TP
|
.TP
|
||||||
.BR \-k ", " \-\-cutfromcursor
|
.BR \-k ", " \-\-cutfromcursor
|
||||||
Make the 'Cut Text' command (normally \fB^K\fR) cut from the current cursor
|
Make the 'Cut Text' command (normally \fB^K\fR) cut from the current cursor
|
||||||
|
|
|
@ -298,8 +298,9 @@ Show a summary of command-line options and exit.
|
||||||
|
|
||||||
@item -i
|
@item -i
|
||||||
@itemx --autoindent
|
@itemx --autoindent
|
||||||
Automatically indent new lines to the same number of spaces and tabs as
|
Automatically indent a newly created line to the same number of tabs
|
||||||
the previous line.
|
and/or spaces as the previous line (or as the next line if the previous
|
||||||
|
line is the beginning of a paragraph).
|
||||||
|
|
||||||
@item -k
|
@item -k
|
||||||
@itemx --cutfromcursor
|
@itemx --cutfromcursor
|
||||||
|
@ -705,7 +706,9 @@ When soft line wrapping is enabled, make it wrap lines at blank characters
|
||||||
(tabs and spaces) instead of always at the edge of the screen.
|
(tabs and spaces) instead of always at the edge of the screen.
|
||||||
|
|
||||||
@item set autoindent
|
@item set autoindent
|
||||||
Use auto-indentation.
|
Automatically indent a newly created line to the same number of tabs
|
||||||
|
and/or spaces as the previous line (or as the next line if the previous
|
||||||
|
line is the beginning of a paragraph).
|
||||||
|
|
||||||
@item set backup
|
@item set backup
|
||||||
When saving a file, back up the previous version of it, using the current
|
When saving a file, back up the previous version of it, using the current
|
||||||
|
@ -1382,7 +1385,9 @@ Toggles syntax highlighting.
|
||||||
Toggles the smartness of the Home key.
|
Toggles the smartness of the Home key.
|
||||||
|
|
||||||
@item autoindent
|
@item autoindent
|
||||||
Toggles whether new lines will contain the same amount of whitespace as the preceding line.
|
Toggles whether a newly created line will contain the same amount of leading
|
||||||
|
whitespace as the preceding line --- or as the next line if the preceding line
|
||||||
|
is the beginning of a paragraph.
|
||||||
|
|
||||||
@item cutfromcursor
|
@item cutfromcursor
|
||||||
Toggles whether cutting text will cut the whole line or just from the current cursor
|
Toggles whether cutting text will cut the whole line or just from the current cursor
|
||||||
|
|
|
@ -66,7 +66,9 @@ When soft line wrapping is enabled, make it wrap lines at blank characters
|
||||||
(tabs and spaces) instead of always at the edge of the screen.
|
(tabs and spaces) instead of always at the edge of the screen.
|
||||||
.TP
|
.TP
|
||||||
.B set autoindent
|
.B set autoindent
|
||||||
Use auto-indentation.
|
Automatically indent a newly created line to the same number of tabs
|
||||||
|
and/or spaces as the previous line (or as the next line if the previous
|
||||||
|
line is the beginning of a paragraph).
|
||||||
.TP
|
.TP
|
||||||
.B set backup
|
.B set backup
|
||||||
When saving a file, create a backup file by adding a tilde (\fB~\fP) to
|
When saving a file, create a backup file by adding a tilde (\fB~\fP) to
|
||||||
|
@ -735,7 +737,9 @@ Toggles syntax highlighting.
|
||||||
Toggles the smartness of the Home key.
|
Toggles the smartness of the Home key.
|
||||||
.TP
|
.TP
|
||||||
.B autoindent
|
.B autoindent
|
||||||
Toggles whether new lines will contain the same amount of whitespace as the preceding line.
|
Toggles whether a newly created line will contain the same amount of leading
|
||||||
|
whitespace as the preceding line -- or as the next line if the preceding line
|
||||||
|
is the beginning of a paragraph.
|
||||||
.TP
|
.TP
|
||||||
.B cutfromcursor
|
.B cutfromcursor
|
||||||
Toggles whether cutting text will cut the whole line or just from the current cursor
|
Toggles whether cutting text will cut the whole line or just from the current cursor
|
||||||
|
|
|
@ -23,7 +23,9 @@
|
||||||
## (tabs and spaces) instead of always at the edge of the screen.
|
## (tabs and spaces) instead of always at the edge of the screen.
|
||||||
# set atblanks
|
# set atblanks
|
||||||
|
|
||||||
## Use auto-indentation.
|
## Automatically indent a newly created line to the same number of
|
||||||
|
## tabs and/or spaces as the preceding line -- or as the next line
|
||||||
|
## if the preceding line is the beginning of a paragraph.
|
||||||
# set autoindent
|
# set autoindent
|
||||||
|
|
||||||
## Back up files to the current filename plus a tilde.
|
## Back up files to the current filename plus a tilde.
|
||||||
|
|
Loading…
Reference in New Issue