Part Ad
Part Ad
-#-p#p, -#--#-p#pr#re#es#se#er#rv#ve#e
Preserve the XON and XOFF sequences (^#^Q#Q and ^#^S#S) so they will
be
caught by the terminal. Note that option -#-/#/ (-#--#-
m#mo#od#de#er#rn#nb#bi#in#nd#di#in#ng#gs#s)
overrides this.
-#-q#q, -#--#-i#in#nd#di#ic#ca#at#to#or#r
Display a "scrollbar" on the righthand side of the edit window.
It shows the position of the viewport in the buffer and how much
of the buffer is covered by the viewport.
-#-t#t, -#--#-s#sa#av#ve#eo#on#ne#ex#xi#it#t
Save a changed buffer without prompting (when exiting with ^#^X#X).
-#-u#u, -#--#-u#un#ni#ix#x
Save a file by default in Unix format. This overrides nano's
default behavior of saving a file in the format that it had.
(This option has no effect when you also use -#--#-
n#no#oc#co#on#nv#ve#er#rt#t.)
-#-v#v, -#--#-v#vi#ie#ew#w
Just view the file and disallow editing: read-only mode. This
mode allows the user to open also other files for viewing,
unless -#--#-r#re#es#st#tr#ri#ic#ct#te#ed#d is given too.
-#-w#w, -#--#-n#no#ow#wr#ra#ap#p
Do not automatically hard-wrap the current line when it becomes
overlong. This is the default. (This option is the opposite of
-#-b#b (-#--#-b#br#re#ea#ak#kl#lo#on#ng#gl#li#in#ne#es#s) -- the last
one given takes effect.)
-#-x#x, -#--#-n#no#oh#he#el#lp#p
Don't show the two help lines at the bottom of the screen.
-#-y#y, -#--#-a#af#ft#te#er#re#en#nd#ds#s
Make Ctrl+Right and Ctrl+Delete stop at word ends instead of
beginnings.
-#-!#!, -#--#-m#ma#ag#gi#ic#c
When neither the file's name nor its first line give a clue, try
using libmagic to determine the applicable syntax.
-#-%#%, -#--#-s#st#ta#at#te#ef#fl#la#ag#gs#s
Use the top-right corner of the screen for showing some state
flags: I#I when auto-indenting, M#M when the mark is on, L#L when
hard-wrapping (breaking long lines), R#R when recording a macro,
and S#S when soft-wrapping. When the buffer is modified, a star
(*#*) is shown after the filename in the center of the title bar.
-#-_#_, -#--#-m#mi#in#ni#ib#ba#ar#r
Suppress the title bar and instead show information about the
current buffer at the bottom of the screen, in the space for the
status bar. In this "mini bar" the filename is shown on the
left, followed by an asterisk if the buffer has been modified.
On the right are displayed the current line and column number,
the code of the character under the cursor (in Unicode format:
U+xxxx), the same flags as are shown by -#--#-
s#st#ta#at#te#ef#fl#la#ag#gs#s, and a
percentage that expresses how far the cursor is into the file
(linewise). When a file is loaded or saved, and also when
switching between buffers, the number of lines in the buffer is
displayed after the filename. This number is cleared upon the
next keystroke, or replaced with an [i/n] counter when multiple
buffers are open. The line plus column numbers and the
character code are displayed only when -#--#-
c#co#on#ns#st#ta#an#nt#ts#sh#ho#ow#w is used,
and can be toggled on and off with M#M-#-C#C. The state flags are
displayed only when -#--#-s#st#ta#at#te#ef#fl#la#ag#gs#s is used.
-#-0#0, -#--#-z#ze#er#ro#o
Hide all elements of the inter