|
set afterends
|
Make Ctrl+Right and Ctrl+Delete stop at word ends instead of beginnings
|
|
set autoindent
|
Automatically indent a newly created line to the same number of tabs and/or spaces as the previous line (or as the next line if the previous line is the beginning of a paragraph).
|
|
set constantshow
|
Constantly display the cursor position in the status bar.
|
|
set cutfromcursor
|
Use cut-from-cursor-to-end-of-line by default, instead of cutting the whole line
|
|
set guidestripe number
|
Draw a vertical stripe at the given column, to help judge the width of the text.
|
|
set stripecolor [bold,][italic,]fgcolor,bgcolor
|
Use this color combination for the vertical guiding stripe
|
|
set keycolor [bold,][italic,]fgcolor,bgcolor
|
Use this color combination for the shortcut key combos in the two help lines at the bottom of the screen
|
|
set linenumbers
|
play line numbers to the left of the text area.
|
|
set numbercolor [bold,][italic,]fgcolor,bgcolor
|
Use this color combination for line numbers
|
|
set mouse
|
Enable mouse support, if available for your system
|
|
set nohelp
|
Don’t display the two help lines at the bottom of the screen
|
|
set saveonexit
|
Save a changed buffer automatically
|
|
set scrollercolor fgcolor,bgcolor
|
Use this color combination for the indicator alias "scrollbar
|
|
set selectedcolor [bold,][italic,]fgcolor,bgcolor
|
Use this color combination for selected text.
|
|
set speller "program [argument ...]"
|
Use the given program to do spell checking and correcting
|
|
set stateflags
|
Use the top-right corner of the screen for showing some state flags
|
|
set statuscolor [bold,][italic,]fgcolor,bgcolor
|
Use this color combination for the status bar
|
|
set tabsize number
|
Use a tab size of number columns
|
|
set titlecolor [bold,][italic,]fgcolor,bgcolor
|
Use this color combination for the title bar
|
|
Ctrl-G (F1)
|
Display the help text
|
|
Ctrl-O (F3)
|
Write the current file to disk
|
|
Ctrl-X (F2)
|
Close the current file buffer / Exit from nano
|
|
Ctrl-R (F5)
|
Insert another file into the current one
|
|
Ctrl-L
|
Refresh (redraw) the current screen
|
|
Ctrl-Y (F7)
|
Go to previous screen
|
|
Ctrl-V (F8)
|
Go to next screen
|
|
Ctrl-I
|
Insert a tab at the cursor position
|
|
Ctrl-M
|
Insert a newline at the cursor position
|
|
Esc-V
|
Insert the next keystroke verbatim
|
|
Ctrl-D
|
Delete the character under the cursor
|
|
Ctrl-H
|
Delete the character to the left of the cursor
|
|
Esc-T
|
Cut from the cursor position to the end of the file
|
|
Esc-D
|
Count the number of words, lines, and characters
|
|
Ctrl-Z
|
Suspend the editor (if suspend is enabled)
|
|
Ctrl-W (F6)
|
Search for a string or a regular expression
|
|
Ctrl-\ (F14) (Esc-R)
|
Replace a string or a regular expression
|
|
Esc-W (F16)
|
Repeat last search
|
|
(Esc-X)
|
Help mode enable/disable
|
|
(Esc-C)
|
Constant cursor position display enable/disable
|
|
(Esc-O)
|
Use of one more line for editing enable/disable
|
|
(Esc-S)
|
Smooth scrolling enable/disable
|
|
(Esc-P)
|
Whitespace display enable/disable
|
|
(Esc-Y)
|
Colour syntax highlighting enable/disable
|
|
(Esc-H)
|
Smart home key enable/disable
|
|
(Esc-I)
|
Auto indent enable/disable
|
|
(Esc-K)
|
Cut to end enable/disable
|
|
(Esc-L)
|
Long line wrapping enable/disable
|
|
(Esc-Q)
|
Conversion of typed tabs to spaces enable/disable
|
|
(Esc-B)
|
Backup files enable/disable
|
|
(Esc-F)
|
Multiple file buffers enable/disable
|
|
(Esc-M)
|
Mouse support enable/disable
|
|
(Esc-N)
|
No conversion from DOS/Mac format enable/disable
|
|
(Esc-Z)
|
Suspension enable/disable
|
|
(Esc-$)
|
Soft line wrapping enable/disable
|
|
Ctrl-K (F9)
|
Cut the current line and store it in the cut buffer
|
|
Ctrl-U (F10)
|
Uncut from the cut buffer into the current line
|
|
Esc-Ctrl- (Esc-6)
|
Copy the current line and store it in the cut buffer
|
|
Esc-\\< (Esc-,)
|
Switch to the previous file buffer
|
|
Esc-> (Esc-.)
|
Switch to the next file buffer
|
|
Ctrl-F
|
Go forward one character
|
|
Ctrl-B
|
Go back one character
|
|
Ctrl-Space
|
Go back one word
|
|
Ctrl-P
|
Go to previous line
|
|
Ctrl-N
|
Go to next line
|
|
Ctrl-A
|
Go to beginning of current line
|
|
Ctrl-E
|
Go to end of current line
|
|
Ctrl-C (F11)
|
Display the position of the cursor
|
|
Esc-( (Esc-9)
|
Go to beginning of paragraph; then of previous paragraph
|
|
Esc-) (Esc-0)
|
Go just beyond end of paragraph; then of next paragraph
|
|
Esc-]
|
Go to the matching bracket
|
|
Esc-\ (Esc-|)
|
Go to the first line of the file
|
|
Esc-/ (Esc-?)
|
Go to the last line of the file
|
|
Ctrl-_ (F13) (Esc-G)
|
Go to line and column number
|
|
Esc– (Esc-_)
|
Scroll up one line without scrolling the cursor
|
|
Esc-+ (Esc-=)
|
Scroll down one line without scrolling the cursor
|
|
Ctrl-Ctrl- (F15) (Esc-A)
|
Mark text at the cursor position
|
|
Esc-}
|
Indent the current line
|
|
Esc-{
|
Un-indent the current line
|
|
Ctrl-J (F4)
|
Justify the current paragraph
|
|
Esc-J
|
Justify the entire file
|
|
Ctrl-T (F12)
|
Invoke the spell checker, if available
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.