From dbbc14e0ac5b02c3744929683578193f42f9f9fc Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Fri, 23 Jun 2017 10:33:19 +0200 Subject: [PATCH] tweaks: be consistent in the spelling of title bar and status bar --- doc/faq.html | 2 +- doc/sample.nanorc.in | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/faq.html b/doc/faq.html index 2a0dbce8..4f86b738 100644 --- a/doc/faq.html +++ b/doc/faq.html @@ -161,7 +161,7 @@

To use multiple file buffers, you must not have configured nano with --disable-multibuffer nor with --enable-tiny (use nano -V to check the compilation options). Then when you want to insert a file into its own buffer instead of into the current file, just hit Meta-F after typing ^R. If you always want files to be loaded into their own buffers, use the --multibuffer or -F flag when you invoke nano.

You can move between the buffers you have open with the Meta-< and Meta-> keys, or more easily without holding Shift: Meta-, and Meta-. (clear as mud, right? =-). When you have more than one file buffer open, the ^X shortcut will say "Close", instead of the normal "Exit" when only one buffer is open.

3.8. Tell me more about this verbatim input stuff!

-

When you want to insert a literal character into the file you're editing, such as a control character that nano usually treats as a command, first press Meta-V (if you're not at a prompt, you'll get the message "Verbatim Input" on the statusbar), then press the key(s) that generate the character you want.

+

When you want to insert a literal character into the file you're editing, such as a control character that nano usually treats as a command, first press Meta-V (if you're not at a prompt, you'll get the message "Verbatim Input" on the status bar), then press the key(s) that generate the character you want.

Alternatively, if you've enabled Unicode support (see section 5.3), you can press Meta-V and then type a six-digit hexadecimal code (from 000000 to 10FFFF, case-insensitive), and the character with the corresponding value will be inserted. The statubar will change to "Unicode Input: ......" when you do this.

3.9a. How do I make a .nanorc file that will be read when I start nano?

It's not hard at all! But, your nano must not have been compiled with --disable-nanorc. Then simply copy the sample.nanorc that came with the nano source or your nano package (most likely in /usr/doc/nano) to .nanorc in your home directory. If you didn't get one, the syntax of the file is simple. Flags are turned on and off by using the words set and unset plus the long option name for the feature. For example, "set nowrap" or "set smarthome".

diff --git a/doc/sample.nanorc.in b/doc/sample.nanorc.in index a80a1200..f98a1251 100644 --- a/doc/sample.nanorc.in +++ b/doc/sample.nanorc.in @@ -44,7 +44,7 @@ ## Do case-sensitive searches by default. # set casesensitive -## Constantly display the cursor position in the statusbar. Note that +## Constantly display the cursor position in the status bar. Note that ## this overrides "quickblank". # set constantshow ## (The old form, 'const', is deprecated.) @@ -76,7 +76,7 @@ ## come before the latter set, and both must be in the same order. # set matchbrackets "(<[{)>]}" -## Use the blank line below the titlebar as extra editing space. +## Use the blank line below the title bar as extra editing space. # set morespace ## Enable mouse support, if available for your system. When enabled, @@ -124,7 +124,7 @@ ## sentences. # set punct "!.?" -## Do quick statusbar blanking. Statusbar messages will disappear after +## Do quick status-bar blanking. Status-bar messages will disappear after ## 1 keystroke instead of 26. Note that "const" overrides this. # set quickblank