X

Select Your Country

Turkey (Türkçe)Turkey (Türkçe) Worldwide (English)Worldwide (English)
X

Select Your Currency

Türk Lirası $ US Dollar

Enabling Nano Automatic Indenting

Enabling Nano Automatic Indenting
HomepageKnowledge BaseGeneralEnabling Nano Automatic Indenting
Enabling Nano Automatic Indenting

To enable automatic indentation in Nano, simply delete the # and space at the beginning of the set autoindent line in the /etc/nanorc file and save the file. Thus, when you move to the next line with Enter, it will automatically add the space to the left of the previous line.

To activate the code:

sed -i ''s/# set autoindent/set autoindent/g'' /etc/nanorc

You can click for our high-performance virtual servers.

Can't find the information you're looking for?

You have examined the knowledge base in detail, but if you cannot find the information you need,

Create a Support Ticket
Did you find it useful?
(630 times viewed. / 0 people found helpful.)