1. NANO Editor shortcuts
Copy line:
Ctrl + k
Paste line:
Ctrl + U
Cut line:
Alt + 6
Go to beginning of a line:
Ctrl + a
Go to end of a line:
Ctrl + e
Search text:
Ctrl + w
Delete word next to cursor:
Ctrl + Del
Delete word previous to the cursor:
Alt + Backspace
Go to previous line:
Ctrl + p
Go to next line:
Ctrl + n
Page up:
Ctrl + v
Page down:
Ctrl + y
Start selecting text from cursor position:
Alt + a
Go to start of paragraph:
Alt + 9
Go to end of paragraph:
Alt + 0
Color syntax highlighting enable / disable:
Alt + y
Enable/disable line numbering:
Alt + n
Undo last action:
Alt + u
Redo last action:
Alt + e
Insert another file's text into current one:
Ctrl + r
Close the current buffer with prompt to save it or not:
Ctrl + x
Write the current buffer to disk ( save the file to disk without exiting ):
Ctrl + o
Count the number of lines, words, and characters:
Alt + d
Comment/Uncomment current line:
Alt + 3
Last updated