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+KCut the current line and put it in the nano clipboard (it’s not the same as the general clipboard)ctrl+UPaste the linectrl+WOpen search, type and hit enter. For the next match pressalt+Wctrl+QSearch backwards. For the next backward match pressalt+Qalt+UUndoalt-ERedoalt+Cshow the line numberalt-GGo to line number
Sources:
- https://www.nano-editor.org/dist/latest/cheatsheet.html
- https://askubuntu.com/a/672091/208343