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