I’ve know about nano and some it’s shortcuts. Today I explored them a bit more deeply.
So a list of shortcuts I find useful:
ctrl+K
Cut the current line and put it in the nano clipboard (it’s not the same as the general clipboard)ctrl+U
Paste the linectrl+W
Open search, type and hit enter. For the next match pressalt+W
ctrl+Q
Search backwards. For the next backward match pressalt+Q
alt+U
Undoalt-E
Redoalt+C
show the line numberalt-G
Go to line number
Sources:
- https://www.nano-editor.org/dist/latest/cheatsheet.html
- https://askubuntu.com/a/672091/208343