nano is a simple command line text editor which comes preinstalled in Ubuntu by default.

learn more… | top users | synonyms

11
votes
1answer
4k views

How do I get spaces instead of tabs in nano?

I usually edit Python files with nano, so I need four spaces instead of a tab. How can I get nano to automatically insert spaces for tabs, and control how many of them it inserts?
0
votes
1answer
4k views

How do I copy music from ipod nano to computer (Banshee)

I have a fresh install of Ubuntu 11.04. My Nano syncs fine with Banshee. How do I copy the music already on the Nano onto my computer? There doesn't seem to be an option to do this within Banshee. ...
12
votes
4answers
29k views

How to switch the editor in mc (midnight commander) from nano to mcedit?

Using ubuntu 10.10 the editor in mc (midnight commander) is nano. How can i switch to the internal mc editor (mcedit)?
8
votes
3answers
10k views

Save an edited file in nano, but no permissions

I edited a file in /etc/ that I want to save, but forgot to open it using sudo. I remember there was a command to save such a file in vi, and want to know if there is any such way to do it in nano? ...
2
votes
2answers
1k views

Nano syntax highlighting for C# and/or ASP.Net

Has anyone got (or can point in the direction of) a nanorc file that contains syntax highlighting for C# and/or ASP.Net?