Hotkeys and shortcuts for Nano

(Total 87)

Ctrl + O
File
Write the current file to disk
F3
File
Write the current file to disk
Ctrl + X
File
Close the current file buffer / Exit from Nano
F2
File
Close the current file buffer / Exit from Nano
Ctrl + R
File
Insert another file into the current one
F5
File
Insert another file into the current one
Alt + <
File
Switch to the previous file buffer
Alt + ,
File
Switch to the previous file buffer
Alt + >
File
Switch to the next file buffer
Alt + .
File
Switch to the next file buffer
Alt + D
File
Count the number of words, lines, and characters
Ctrl + L
File
Refresh (redraw) the current screen
Alt + U
Editing
Undo the last operation
Alt + E
Editing
Redo the last undone operation
Alt + }
Editing
Indent the current line
Alt + {
Editing
Unindent the current line
Alt + ^
Editing
Copy the current line and store it in the cut buffer
Alt + 6
Editing
Copy the current line and store it in the cut buffer
Ctrl + K
Editing
Cut the current line and store it in the cut buffer
F9
Editing
Cut the current line and store it in the cut buffer
Ctrl + U
Editing
Uncut from the cut buffer into the current line
Alt + V
Editing
Insert the next keystroke verbatim
Ctrl + I
Editing
Insert a tab at the cursor position
Ctrl + M
Editing
Insert a newline at the cursor position
Ctrl + D
Editing
Delete the character under the cursor
Ctrl + H
Editing
Delete the character to the left of the cursor
Alt + T
Editing
Cut from the cursor position to the end of the file
Ctrl + W
Editing
Search for a string or a regular expression
F6
Editing
Search for a string or a regular expression
F16
Editing
Repeat last search
Alt + W
Editing
Repeat last search
Ctrl + T
Editing
Invoke the spell checker, if available
F12 Ctrl + T
Editing
Invoke the spell checker, if available
Ctrl + \
Editing
Replace a string or a regular expression
F14
Editing
Replace a string or a regular expression
Alt + R
Editing
Replace a string or a regular expression
Ctrl + J
Formatting
Justify the current paragraph
F4
Formatting
Justify the current paragraph
Alt + J
Formatting
Justify the entire file
Ctrl + Y
Navigation
Move to the previous screen
F7
Navigation
Move to the previous screen
Ctrl + V
Navigation
Move to the next screen
F8
Navigation
Move to the next screen
Ctrl + B
Navigation
Go back one character
Ctrl + F
Navigation
Go forward one character
Alt + Space
Navigation
Go back one word
Ctrl + Space
Navigation
go forward one word
Ctrl + _
Navigation
Go to line and column number
F13
Navigation
Go to line and column number
Alt + G
Navigation
Go to line and column number
Ctrl + ^
Navigation
Mark text at the cursor position
F15
Navigation
Mark text at the cursor position
Alt + A
Navigation
Mark text at the cursor position
Ctrl + C
Navigation
Display the position of the cursor
F11
Navigation
Display the position of the cursor
Ctrl + A
Navigation
Move to the beginning of the current line
Ctrl + E
Navigation
Move to the end of the current line
Alt + (
Navigation
Move to the beginning of the current paragraph
Alt + 9
Navigation
Move to the beginning of the current paragraph
Alt + )
Navigation
Move to the end of the current paragraph
Alt + 0
Navigation
Move to the end of the current paragraph
Alt + \
Navigation
Move to the first line of the file
Alt + |
Navigation
Move to the first line of the file
Alt + /
Navigation
Move to the last line of the file
Alt + ?
Navigation
Move to the last line of the file
M + ]
Navigation
Move to the matching bracket
Alt + -
Navigation
Scroll up one line without scrolling the cursor
Alt + _
Navigation
Scroll up one line without scrolling the cursor
Alt + +
Navigation
Scroll down one line without scrolling the cursor
Alt + =
Navigation
Scroll down one line without scrolling the cursor
Alt + X
Enable / Disable settings
Help mode enable/disable
Alt + C
Enable / Disable settings
Constant cursor position display enable/disable
Alt + O
Enable / Disable settings
Use of one more line for editing enable/disable
Alt + S
Enable / Disable settings
Smooth scrolling enable/disable
Alt + $
Enable / Disable settings
Soft wrapping of overlong lines enable/disable
Alt + P
Enable / Disable settings
Whitespace display enable/disable
Alt + Y
Enable / Disable settings
Colour syntax highlighting enable/disable
Alt + H
Enable / Disable settings
Smart home key enable/disable
Alt + I
Enable / Disable settings
Auto indent enable/disable
Alt + K
Enable / Disable settings
Cut to end enable/disable
Alt + L
Enable / Disable settings
Long line wrapping enable/disable
Alt + Q
Enable / Disable settings
Conversion of typed tabs to spaces enable/disable
Alt + B
Enable / Disable settings
Backup files enable/disable
Alt + F
Enable / Disable settings
Multiple file buffers enable/disable
Alt + M
Enable / Disable settings
Mouse support enable/disable
Alt + N
Enable / Disable settings
No conversion from DOS/Mac format enable/disable
Alt + Z
Enable / Disable settings
Suspension enable/disable