To disable wordwrap permanently (-w option
), edit ~/.nanorc
and add this line:
set nowrap
Cheatsheet
Action | Shortcut |
---|---|
Goto Line | CTRL+- (CTRL + guión en teclado español) |
Search | CTRL+W |
Page Up/Down | CTRL+Y CTRL+V |
Syntax highlighting missing? We just uncomment desired include files at file: /etc/nanorc
i.e.
include "/usr/share/nano/sh.nanorc"
And we can add:
## PHP include "/usr/share/nano/php.nanorc"
COPY: CTRL+6
, mark, ALT+6
(end mark), then to paste: CTRL+U
~~DISCUSSION|Comentarios~~