User Tools

Site Tools


linux:nano_editor

This is an old revision of the document!


Nano editor

It's a surprisingly powerful and customizable editor. Just create a .nanorc file in your home directory and paste the following settings.

set titlecolor sage,black
set linenumbers
set tabsize 4
set breaklonglines
set softwrap
set atblanks
set guidestripe 80
set stripecolor brown,black
set indicator
set autoindent
set trimblanks
set whitespace "→·"
set zap
set positionlog
set historylog
set casesensitive
set multibuffer
set wordbounds
set wordchars "_-$"
#set mouse

bind ^H help main
bind ^G gotoline main
bind ^/ comment main
bind M-M findbracket main
bind M-] indent main
bind M-[ unindent main
linux/nano_editor.1745256311.txt.gz · Last modified: 2025-04-21 19:25 by admin