nano: Feature Toggles
7 Feature Toggles
*****************
Toggles allow you to change certain aspects of the editor while you are
editing, aspects that you would normally specify via command-line
options or nanorc options. Each toggle can be flicked via a Meta-key
combination — the ‘Meta’ key is normally the ‘Alt’ key (⇒Commands
for more details). The following global toggles are available:
‘Constant Cursor Position Display’
‘M-C’ toggles the ‘-c’ (‘--constantshow’) command-line option.
‘Smart Home Key’
‘M-H’ toggles the ‘-A’ (‘--smarthome’) command-line option.
‘Auto Indent’
‘M-I’ toggles the ‘-i’ (‘--autoindent’) command-line option.
‘Cut From Cursor To End-of-Line’
‘M-K’ toggles the ‘-k’ (‘--cutfromcursor’) command-line option.
‘Long-Line Wrapping’
‘M-L’ toggles the ‘-b’ (‘--breaklonglines’) command-line option.
‘Mouse Support’
‘M-M’ toggles the ‘-m’ (‘--mouse’) command-line option.
‘Line Numbers’
‘M-N’ toggles the ‘-l’ (‘--linenumbers’) command-line option.
‘Tabs To Spaces’
‘M-O’ toggles the ‘-E’ (‘--tabstospaces’) command-line option.
‘Whitespace Display’
‘M-P’ toggles the displaying of whitespace (⇒Whitespace).
‘Soft Wrapping’
‘M-S’ toggles the ‘-S’ (‘--softwrap’) command-line option.
‘Expert’
‘M-X’ toggles the ‘-x’ (‘--nohelp’) command-line option.
‘Syntax Coloring’
‘M-Y’ toggles syntax coloring, when your nanorc defines syntaxes
(⇒Syntax Highlighting).
‘Hidden Interface’
‘M-Z’ toggles the ‘-0’ (‘--zero’) command-line option, but without
the ‘-x’ (‘--nohelp’) part. That is: it toggles just the title bar
plus status bar (or the combined minibar plus status bar), not the
help lines. The latter are toggled with ‘M-X’.