0% found this document useful (0 votes)
170 views1 page

Nano Editor Keyboard Shortcuts

This document provides a summary of keyboard shortcuts for the Nano text editor. It lists shortcuts for file management, editing, search and replace, navigation, and settings. Some examples include Ctrl+G to display help, Ctrl+X to close a file, Alt+U to undo, Ctrl+W to search, and Alt+Y to enable syntax highlighting. The shortcuts allow for efficient navigation, editing, and management of files using only keyboard commands in the Nano text editor.

Uploaded by

mmorsy1981
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
170 views1 page

Nano Editor Keyboard Shortcuts

This document provides a summary of keyboard shortcuts for the Nano text editor. It lists shortcuts for file management, editing, search and replace, navigation, and settings. Some examples include Ctrl+G to display help, Ctrl+X to close a file, Alt+U to undo, Ctrl+W to search, and Alt+Y to enable syntax highlighting. The shortcuts allow for efficient navigation, editing, and management of files using only keyboard commands in the Nano text editor.

Uploaded by

mmorsy1981
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Nano Editor Keyboard Shortcuts

by Bipin Thite (bipinthite) via cheatography.com/36331/cs/11403/

File Management Editing

Key Action Key Action

Ctrl+G Display help text Alt+U Undo the last operation

Ctrl+X Close the current file buffer / Exit from nano Alt+E Redo the last undone operation

Ctrl+O Write the current file to disk Alt+} Indent the current line

Ctrl+R Insert another file into the current one Alt+{ Unindent the current line

Alt+> Switch to the next file buffer Alt+^ Copy the current line and store it in the cutbuffer

Alt+< Switch to the previous file buffer Ctrl+K Cut the current line and store it in the cutbuffer

Ctrl+U Uncut from the cutbuffer into the current line


Search and Replace
Ctrl+J Justify the current paragraph
Key Action Ctrl+T Invoke the spell checker, if available
Ctrl+W Search for a string or a regular expression Alt+V Insert the next keystroke verbatim
Ctrl+\ Replace a string or a regular expression Ctrl+I Insert a tab at the cursor position
Alt+W Repeat the last search Ctrl+M Insert a newline at the cursor position

Ctrl+D Delete the character under the cursor


Navigation
Ctrl+H Delete the character to the left of the cursor
Key Action
Alt+T Cut from the cursor position to the end of the file
Ctrl+_ Go to line and column number Alt+J Justify the entire file
Ctrl+Y Go one screenful up
Alt+D Count the number of words, lines, and characters
Ctrl+V Go one screenful down
Ctrl+^ Mark text starting from the cursor position
Alt+\ Go to the first line of the file

Alt+/ Go to the last line of the file Settings

Ctrl+B Go back one character Key Action

Ctrl+F Go forward one character Alt+X Help mode enable​/di​sable


Alt+Space Go back one word Alt+C Constant cursor position display enable​/di​sable
Ctrl+Space Go forward one word Alt+O Use of one more line for editing enable​/di​sable
Ctrl+A Go to beginning of current line Alt+S Smooth scrolling enable​/di​sable
Ctrl+E Go to end of current line Alt+$ Soft wrapping of overlong lines enable​/di​sable
Ctrl+P Go to previous line Alt+P Whitespace display enable​/di​sable
Ctrl+N Go to next line Alt+Y Color syntax highli​ghting enable​/di​sable
Alt+( Go to beginning of paragraph; then of previous paragraph Alt+H Smart home key enable​/di​sable
Alt+) Go just beyond end of paragraph; then of next paragraph Alt+I Auto indent enable​/di​sable
Alt+- Scroll up one line without scrolling the cursor Alt+K Cut to end enable​/di​sable
Alt++ Scroll down one line without scrolling the cursor Alt+L Hard wrapping of overlong lines enable​/di​sable
Alt+< Switch to the previous file buffer Alt+Q Conversion of typed tabs to spaces enable​/di​sable
Alt+> Switch to the next file buffer Alt+B Backup files enable​/di​sable
Ctrl+C Display the position of the cursor Alt+F Reading file into separate buffer enable​/di​sable
Alt+] Go to the matching bracket

By Bipin Thite (bipinthite) Published 9th April, 2017. Sponsored by CrosswordCheats.com


cheatography.com/bipinthite/ Last updated 9th April, 2017. Learn to solve cryptic crosswords!
Page 1 of 1. http://crosswordcheats.com

You might also like