GNU nano
1
is Nano's ANOther editor, inspired by
Pico
2
.
Dependencies
Required
- Pacman
3
1. Install
NOTE
nano-syntax-highlighting
replaces and expands the default syntax highlighting.
2. Configure
2.1. nanorc
NOTE
2.2. Syntax highlighting
NOTE
- Write
include
declarations on top of~/.config/nano/nanorc
/usr/share/nano/*.nanorc
contains predefined syntax highlighting rules/usr/share/nano-syntax-highlighting/*.nanorc
replaces and expands above rules
2.3. Set as default editor
NOTE
$EDITOR
is used when$VISUAL
fails- This replaces
vi
withnano
to edit with other programs- Use
sudo EDITOR=nano visudo
to edit sudoers file (/etc/sudoers
)