From the course: Learning nano
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Customizing the experience using a .nanorc file - nano Tutorial
From the course: Learning nano
Customizing the experience using a .nanorc file
- All those features we first enabled with key combinations, and then later with the command line options, were pretty handy, but man, that's a lot of flags and options to remember every time you launch nano. You could set up a bash alias to include all of these, but there's a better way, the nanorc file. There are two nanorc files, actually. One at the system level, which affects the operation of nano systemwide at /etc/nanorc, and you can create one called .nanorc in your user folder, too, if you want to customize things just for your user. These files are read by nano when it launches. They contain options to pass to nano, so it's a great way to customize your nano experience. I'll clear the screen and I'll create a nanorc file in my home folder. I'll write nano .nanorc. The nanorc file will contain a number of set commands, setting various options. I'll put a few in here and I'll turn off syntax highlighting right now so it's easier to see what I'm typing. So I've set the speller…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.