tweaks: reshuffle an option, to have two related ones grouped together
Options --stateflags and --minibar are slightly related; it looks better to not have them separated by an unrelated option.master
parent
04d33e7981
commit
7b9567719c
12
doc/nano.1
12
doc/nano.1
|
@ -329,6 +329,12 @@ Make Ctrl+Right and Ctrl+Delete stop at word ends instead of beginnings.
|
|||
.BR \-z ", " \-\-suspendable
|
||||
Allow the user to suspend the editor (with \fB^Z\fR by default).
|
||||
.TP
|
||||
.BR \-^ ", " \-\-markmatch
|
||||
After a search, set the mark at the end of the found match
|
||||
(if there is any) so that it gets highlighted. This makes
|
||||
the match more visible, but also allows deleting the match
|
||||
with a single keystroke.
|
||||
.TP
|
||||
.BR \-% ", " \-\-stateflags
|
||||
Use the top-right corner of the screen for showing some state flags:
|
||||
\fBI\fR when auto-indenting, \fBM\fR when the mark is on, \fBL\fR when
|
||||
|
@ -337,12 +343,6 @@ and \fBS\fR when soft-wrapping.
|
|||
When the buffer is modified, a star (\fB*\fR) is shown after the
|
||||
filename in the center of the title bar.
|
||||
.TP
|
||||
.BR \-^ ", " \-\-markmatch
|
||||
After a search, set the mark at the end of the found match
|
||||
(if there is any) so that it gets highlighted. This makes
|
||||
the match more visible, but also allows deleting the match
|
||||
with a single keystroke.
|
||||
.TP
|
||||
.BR \-_ ", " \-\-minibar
|
||||
Suppress the title bar and instead show information about
|
||||
the current buffer at the bottom of the screen, in the space
|
||||
|
|
|
@ -468,6 +468,13 @@ Make Ctrl+Right and Ctrl+Delete stop at word ends instead of beginnings.
|
|||
Enable the ability to suspend @command{nano} using the system's suspend
|
||||
keystroke (usually @kbd{^Z}).
|
||||
|
||||
@item -^
|
||||
@itemx --markmatch
|
||||
After a search, set the mark at the end of the found match
|
||||
(if there is any) so that it gets highlighted. This makes
|
||||
the match more visible, but also allows deleting the match
|
||||
with a single keystroke.
|
||||
|
||||
@item -%
|
||||
@itemx --stateflags
|
||||
Use the top-right corner of the screen for showing some state flags:
|
||||
|
@ -477,13 +484,6 @@ and @code{S} when soft-wrapping.
|
|||
When the buffer is modified, a star (@code{*}) is shown after the
|
||||
filename in the center of the title bar.
|
||||
|
||||
@item -^
|
||||
@itemx --markmatch
|
||||
After a search, set the mark at the end of the found match
|
||||
(if there is any) so that it gets highlighted. This makes
|
||||
the match more visible, but also allows deleting the match
|
||||
with a single keystroke.
|
||||
|
||||
@item -_
|
||||
@itemx --minibar
|
||||
Suppress the title bar and instead show information about
|
||||
|
|
|
@ -640,8 +640,8 @@ void usage(void)
|
|||
if (!ISSET(RESTRICTED))
|
||||
print_opt("-z", "--suspendable", N_("Enable suspension"));
|
||||
#ifndef NANO_TINY
|
||||
print_opt("-%", "--stateflags", N_("Show some states on the title bar"));
|
||||
print_opt("-^", "--markmatch", N_("Select the match of a search"));
|
||||
print_opt("-%", "--stateflags", N_("Show some states on the title bar"));
|
||||
print_opt("-_", "--minibar", N_("Show a feedback bar at the bottom"));
|
||||
#endif
|
||||
#ifdef HAVE_LIBMAGIC
|
||||
|
|
Loading…
Reference in New Issue