Configure nano to edit Python code

It’s useful to change nano editor default tabs to spaces, especially for Python by putting into ~/.bash_aliases

alias nano='nano -c -ET4'

nano options

-ET4
standard Python indentation of four spaces, not tabs.
-c
row/column display.

Tags:

Categories:

Updated:

Leave a Comment