Nano keyboard shortcuts

Nano

Zeynel Abidin Öztürk -
23 months ago
- Shortcuts
0
Ctrl + O

Write the current file to disk

0
or F3
0
Ctrl + X

Close the current file buffer / Exit from Nano

0
or F2
0
Ctrl + R

Insert another file into the current one

0
or F5
0
Alt + <

Switch to the previous file buffer

0
or Alt + ,
0
Alt + >

Switch to the next file buffer

0
or Alt + .
0
Alt + D

Count the number of words, lines, and characters

0
Ctrl + L

Refresh (redraw) the current screen

0
Alt + U

Undo the last operation

0
Alt + E

Redo the last undone operation

0
Alt + }

Indent the current line

0
Alt + {

Unindent the current line

0
Alt + ^

Copy the current line and store it in the cut buffer

0
or Alt + 6
0
Ctrl + K

Cut the current line and store it in the cut buffer

0
or F9
0
Ctrl + U

Uncut from the cut buffer into the current line

0
Alt + V

Insert the next keystroke verbatim

0
Ctrl + I

Insert a tab at the cursor position

0
Ctrl + M

Insert a newline at the cursor position

0
Ctrl + D

Delete the character under the cursor

0
Ctrl + H

Delete the character to the left of the cursor

0
Alt + T

Cut from the cursor position to the end of the file

0
Ctrl + W

Search for a string or a regular expression

0
or F6
0
F16

Repeat last search

0
or Alt + W
0
Ctrl + T

Invoke the spell checker, if available

0
or F12 Ctrl + T
0
Ctrl + \

Replace a string or a regular expression

0
or F14
0
or Alt + R
0
Ctrl + J

Justify the current paragraph

0
or F4
0
Alt + J

Justify the entire file

0
Ctrl + Y

Move to the previous screen

0
or F7
0
Ctrl + V

Move to the next screen

0
or F8
0
Ctrl + B

Go back one character

0
Ctrl + F

Go forward one character

0
Alt + Space

Go back one word

0
Ctrl + Space

go forward one word

0
Ctrl + _

Go to line and column number

0
or F13
0
or Alt + G
0
Ctrl + ^

Mark text at the cursor position

0
or F15
0
or Alt + A
-1
Ctrl + C

Display the position of the cursor

0
or F11
0
Ctrl + A

Move to the beginning of the current line

0
Ctrl + E

Move to the end of the current line

0
Alt + (

Move to the beginning of the current paragraph

0
or Alt + 9
0
Alt + )

Move to the end of the current paragraph

0
or Alt + 0
0
Alt + \

Move to the first line of the file

0
or Alt + |
0
Alt + /

Move to the last line of the file

0
or Alt + ?
0
M + ]

Move to the matching bracket

0
Alt + -

Scroll up one line without scrolling the cursor

0
or Alt + _
0
Alt + +

Scroll down one line without scrolling the cursor

0
or Alt + =
0
Alt + X

Help mode enable/disable

0
Alt + C

Constant cursor position display enable/disable

0
Alt + O

Use of one more line for editing enable/disable

0
Alt + S

Smooth scrolling enable/disable

0
Alt + $

Soft wrapping of overlong lines enable/disable

0
Alt + P

Whitespace display enable/disable

0
Alt + Y

Colour syntax highlighting enable/disable

0
Alt + H

Smart home key enable/disable

0
Alt + I

Auto indent enable/disable

0
Alt + K

Cut to end enable/disable

0
Alt + L

Long line wrapping enable/disable

0
Alt + Q

Conversion of typed tabs to spaces enable/disable

0
Alt + B

Backup files enable/disable

0
Alt + F

Multiple file buffers enable/disable

0
Alt + M

Mouse support enable/disable

0
Alt + N

No conversion from DOS/Mac format enable/disable

0
Alt + Z

Suspension enable/disable


Share this page on:

Program information

Program name: Nano Nano (Text editing)

Nano is a text editor based on Pico text editor. Unlike Pico, Nano is licensed under the GNU General Public License. Released as freeware by Chris Allegretta in 1999, Nano became part of the GNU Project in 2001.

Web page: nano-editor.org

Last update: 19 January 2021

How easy to press shortcuts: 76%

More information >>

Shortcut count: 87

Platform detected: Windows or Linux (not macOS)

Similar programs



Advertisement

Join our mailing list!

Your email is kept private and we don't spam.