Nano

Navigation

Move to the first line of the file

Alt + |

All hotkeys for Nano

File
Write the current file to disk

Ctrl + O

File
Write the current file to disk

F3

File
Close the current file buffer / Exit from Nano

Ctrl + X

File
Close the current file buffer / Exit from Nano

F2

File
Insert another file into the current one

Ctrl + R

File
Insert another file into the current one

F5

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 + .

File
Count the number of words, lines, and characters

Alt + D

File
Refresh (redraw) the current screen

Ctrl + L

Editing
Undo the last operation

Alt + U

Editing
Redo the last undone operation

Alt + E

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 + ^

Editing
Copy the current line and store it in the cut buffer

Alt + 6

Editing
Cut 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
Uncut from the cut buffer into the current line

Ctrl + U

Editing
Insert the next keystroke verbatim

Alt + V

Editing
Insert a tab at the cursor position

Ctrl + I

Editing
Insert a newline at the cursor position

Ctrl + M

Editing
Delete the character under the cursor

Ctrl + D

Editing
Delete the character to the left of the cursor

Ctrl + H

Editing
Cut from the cursor position to the end of the file

Alt + T

Editing
Search for a string or a regular expression

Ctrl + W

Editing
Search for a string or a regular expression

F6

Editing
Repeat last search

F16

Editing
Repeat last search

Alt + W

Editing
Invoke the spell checker, if available

Ctrl + T

Editing
Invoke the spell checker, if available

F12 Ctrl + T

Editing
Replace a string or a regular expression

Ctrl + \

Editing
Replace a string or a regular expression

F14

Editing
Replace a string or a regular expression

Alt + R

Formatting
Justify the current paragraph

Ctrl + J

Formatting
Justify the current paragraph

F4

Formatting
Justify the entire file

Alt + J

Navigation
Move to the previous screen

Ctrl + Y

Navigation
Move to the previous screen

F7

Navigation
Move to the next screen

Ctrl + V

Navigation
Move to the next screen

F8

Navigation
Go back one character

Ctrl + B

Navigation
Go forward one character

Ctrl + F

Navigation
Go back one word

Alt + Space

Navigation
go forward one word

Ctrl + Space

Navigation
Go to line and column number

Ctrl + _

Navigation
Go to line and column number

F13

Navigation
Go to line and column number

Alt + G

Navigation
Mark text at the cursor position

Ctrl + ^

Navigation
Mark text at the cursor position

F15

Navigation
Mark text at the cursor position

Alt + A

Navigation
Display the position of the cursor

Ctrl + C

Navigation
Display the position of the cursor

F11

Navigation
Move to the beginning of the current line

Ctrl + A

Navigation
Move to the end of the current line

Ctrl + E

Navigation
Move to the beginning of the current paragraph

Alt + (

Navigation
Move to the beginning of the current paragraph

Alt + 9

Navigation
Move to the end of the current paragraph

Alt + )

Navigation
Move to the end of the current paragraph

Alt + 0

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

Alt + ?

Navigation
Move to the matching bracket

M + ]

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 + =

Enable / Disable settings
Help mode enable/disable

Alt + X

Enable / Disable settings
Constant cursor position display enable/disable

Alt + C

Enable / Disable settings
Use of one more line for editing enable/disable

Alt + O

Enable / Disable settings
Smooth scrolling enable/disable

Alt + S

Enable / Disable settings
Soft wrapping of overlong lines enable/disable

Alt + $

Enable / Disable settings
Whitespace display enable/disable

Alt + P

Enable / Disable settings
Colour syntax highlighting enable/disable

Alt + Y

Enable / Disable settings
Smart home key enable/disable

Alt + H

Enable / Disable settings
Auto indent enable/disable

Alt + I

Enable / Disable settings
Cut to end enable/disable

Alt + K

Enable / Disable settings
Long line wrapping enable/disable

Alt + L

Enable / Disable settings
Conversion of typed tabs to spaces enable/disable

Alt + Q

Enable / Disable settings
Backup files enable/disable

Alt + B

Enable / Disable settings
Multiple file buffers enable/disable

Alt + F

Enable / Disable settings
Mouse support enable/disable

Alt + M

Enable / Disable settings
No conversion from DOS/Mac format enable/disable

Alt + N

Enable / Disable settings
Suspension enable/disable

Alt + Z

Similar combinations for other applications