How to Customize Nano

preview_player
Показать описание
Today I talk about
👇 PULL IT DOWN FOR THE GOOD STUFF 👇

===== Follow us 🐧🐧 ======

==== Special Thanks to Our Patrons! ====

==== Referenced ====

#NanoChallenge #linux #thelinuxcast
Рекомендации по теме
Комментарии
Автор

I think you have to look at the history of editing text on unix systems to really appreciate what nano is and does. Not everyone need the power of vim to do everything.

Also nano supports syntax highlighting too. 👌🏽

blixuk
Автор

The nanorc file appears to be ordered alphabetically, which makes sense I guess.

chairman
Автор

nano is a simple terminal editor. it just prints itself on the screen. so when you copy its content you copy the screen as is. if there's a wrap there's a new line on the screen so you copy that.

if you code in nano you don't want any line wrapping. so the code structure is preserved. infinite lines are perfectly fine with code.

if you don't want to copy the wrap zoom out, copy, and zoom back in. or toggle the soft wrapping with alt+s, copy, and toggle back.

MECHANISMUS
Автор

You can reorder the nanorc file. Its indexed just like a bash script

joshua_lee
Автор

While I did know that nanorc is a thing and I have changed the short cuts to work like 98% of everything in the world like control+z or control+c and p just the normal things. I can see setting them to Vim keys that you like too.
While I do use Nano for command like edits and I promote Nano, I will agree that it is not for everything or file for editing. I will confess that I use a GIU editor when editing major/huge files. Soooo, Kudos to Matt for using it in his day today editing.👍
To be honest I'm not sure I could.🤔 I have always said use it for small fast editing, not a total replacement... Lol

Awesome video Matt!
Did you KNOW? you can run aspell -c -x (home) .bashrc and check the spelling from the terminal? I just found this out! Humspell will do it also... 😎
The things that make you go humm... An that was because of this video... Lol

Thanks Matt for sticking with Nano!

LLAP 🖖

Bruces-Eclectic-World
Автор

nice i will use nano more than a easy paste editor for the terminal

MENTOKz
Автор

Can I give a few useful tips?
1 The nanorc file in the etc directory gets updated pretty often. Do not alter it, so that you don't have to keep updating from pacnew files. Just use the nanorc in your home folder.
2 For the same reason, do not add more settings to your file in your home folder than you need. Things go obsolete quickly in new versions, I noticed.
3 You really want to install nano-syntax-highlighting if you are on Arch. The Arch wiki gives you very simple tips how to use it.
4 Read the help in nano. It's super simple. You can also search it.

jongeduard
Автор

I think line 137 Is where you exit buffer was.

thelinuxtube
Автор

The configuration options are alphabetical. unfortunately, most people will not know the names of the settings.

TheOfPain
Автор

Vim: pray to god that escape enters command mode, or you're screwed, then type wq
nano: Ctrl+X

Skelterbane
Автор

I never hear people talking about spell check in such editors, but yeah, I use it in vim from time to time. I wound up making a binding so I didn't have to leave it enabled or remember how to set it.

anon_y_mousse
Автор

Isn't .config/nano/nanorc a better location for your user config file?

FrasSmith
Автор

I just don't understand what is the mystery behind if anyone use nano or not, and i don't understand why you call nano default keybinding garbich just cuz it don't fits you needs 🤔

BernardoHenriquez
Автор

Hay Matt... I found out that if you press F12 it will invoke Aspell to check the file for spelling. Also, if you are using it in Tilix you will have to disable or change the F12 keybinding in Tilix, as it is using it. You might have issues in a WM too. I know Arcolinux sets F12 for something in SXHKD(still a dumb name).
I'm sure(not tried) Humspell will work as well, knowing you can use it on the command line too.
Hope this helps someone... Hay, I'm old so give me a break... 🤪

LLAP 🖖

Bruces-Eclectic-World
Автор

I hope I'm first, mad respect for enduring nano for so long

kenneth_mata
Автор

what do you do on these terminal based text editors ?

blahaj___
Автор

when i highlight text the numberline is highlighted too
how to prevent that like you did and highlight only text at
7:14

gogogogogogogogogogog
Автор

1 #Tab
2 set tabsize 4
3
4 #Suspend
5 bind ^Z suspend main

mago
Автор

I knew it was a matter of time until this video. I think nano will grow on you. I say that still not using nano lol

wyfyj
Автор

I don't think I can do nano. I tried it for like a day. It just pisses me off. Idk why. It's not an objectively BAD text editor, and I used to use it back when I was new and didn't even know that something called vim existed. It does a job, and it's easy and intuitive to use, which I guess is good for newer or less technical users. Use the arrow keys to move around, put the cursor where you want to type and start typing, and read the keybindings at the bottom to save and exit. It's great if you're coming from Windows and are used to navigating MS Word and Notepad with the arrow keys, and always being able to type without having to enter a new mode. However, once you learn :w for save, :q for quit, i for insert mode, and esc to go back to normal mode, vim is just easier to use. You don't even need to learn h, j, k, and l because the arrow keys work in vim if you prefer them.

zoltan