
Linux: Nano Shortcuts
2 May 2022, 1:46 p.m.
20 Apr 2022, 4:42 p.m.
00:40 minutes

GNU nano is an easy to use command line text editor for Unix and Linux operating systems. It includes all the basic functionality you would want in a text editor. It offers syntax highlighting, multiple buffer spaces, search and replace with regular expression support, spellchecking, UTF-8 encoding, and more. While it doesn't have the same keybinding library as that of `vi` it does have a number of time-saving shortcuts that if you learn can significantly speed up your workflow.
Nano
Files
Read file
Ctrl-R
Save file
Ctrl-O
Close file
Ctrl-X
Cut and Paste
Start marking text
ALT-A
Cut marked text or line.
CTRL-K
Paste text
CTRL-U
Navigate File
End of file
ALT-/
Beginning of line
CTRL-A
End of line
CTRL-E
Show line number
CTRL-C
Go to line number
CTRL-_
Search File
Find
CTRL-W
Find next
ALT-W
Search and replace
CTRL-\
More nano info at: http://www.nano-editor.org/docs.php