14 Nano Options

BashStyle-NG Nano Settings

Figure 14.1: Nano Settings

BashStyle-NG Nano Settings

Figure 14.2: Nano Settings (continuation)

Basic

Setting: use_nanocfg Enable Nano Config

This master switch will make BashStyle-NG adjust the settings of nano.

Setting: nano_backup Backup files

If enabled backup files to filename~ upon save.

Setting: show_position Display position of cursor

If enabled show the current position (line, column) in the minibar (or if disabled, the traditional status bar)

Setting: history Use search-string history

If enabled save searches for future reuse in a history.

Setting: minibar Enable Minibar

Enable the minibar introduced in GNU Nano 5.0, instead of the traditional status bar.

Setting: line_numbers Show line numbers

If enabled the line numbers are displayed.

Editing

Setting: auto_indent Enable auto-indention

If enabled the file is auto indented, based on the determined filetype.

Setting: syntax_highlight Enable syntax highlighting

If enabled syntax highlighting, based on the determined filetype, will be done.

Setting: hide_help Hide shortcuts

If enabled the keyboard shortcuts/help at the bottom will be hidden.

Setting: case_sensitive Search case-sensitively

If enabled, searches are performed case-sensitive.

Setting: no_wrap No line wrapping

If enabled, long lines will be scrolled horizontally, instead of being wrapped.

Setting: tab_to_spaces Convert tab to spaces

If enabled, tabs wille be converted to spaces.

Setting: tab_size Tab width

Set the width of a tab in spaces

Setting: guide_stripe Guide Stripe Position

The position (in characters) the stripe is displayed, indicating overlong lines.

UI Colors

Setting: set_uicolors

Enable custom user interface coloring, if disabled the following settings wille be ignored.

Setting: bold_text Use bold text

Will make text of some UI elements forcibly bold, even if non-bold colors are selected by the user.

The following settings allow to color all UI elements of GNU Nano, separately for text color and background color.

Misc.

Setting: enable_mouse Enable Mouse Support

Enable mouse support in GNU Nano, allowing to use the mouse to perform actions like select, copy or paste on the text.

Setting: empty_space Have more space for editing

If enabled the whole available space will be availble for editing, no empty lines beetwenn the text and minibar/status or help/shortcuts.

Setting: rebind_delete Rebind delete keys

On some terminals it may be the delete keys don’t properly work, in that case let GNU Nano rebind them, to make them work.

Setting: log_position Remember last position

When opening a file again, jump to the previous position.