Nice. On top of the updates they made to Nano recently, this makes it all that much better to use. I'm a simple man. Nano is my go-to for those quick and dirty tweaks- which is about 90% of the time;)
Thank you Mr. Prof. Dr. InfoX. I'am just gonna say again, my new favorite linux channel. Or simply my favorite channel for 2019. Greetings from Macedonia
I am taking a python course this semester and I spent most of the time learning and using vim. Although sometimes I know I can do stuff a bit faster in nano because I know the bindings, it is great. I haven't used nano in quite some time now. Back then, I used both because nano is easy and safe, which is what I preferred when I don't trust myself with vim. If vim is not installed, I probably only needed to edit one line and nano will do.
Thank you. It's worth to have a look at the redidt post to get an even nicer nano. You can put the nanorc under ~/.config/nano/ with the remainder of the files (actually, a copy of nanorc will be already there) and use a much leaner construction: include "$HOME/.config/nano/*.nanorc" instead of nigh a hundred of entries. Don't be alarmed when the highlighting doesn't show when editing the nanorc in nano.
@@DistroTube this did not work for me...!!! :( "cannot find or open /tmp/nanorc.zip, /tmp/nanorc.zip.zip or /tmp/nanorc.zip.ZIP.c" this is what i get as error....
It takes such little time to learn how to use VIM and it's so much more powerful, I don't understand why anyone would want to use nano over VIM. It really shines with larger text files.
@@danieltaubinger2920 Maybe, but you will have to leave the home row to navigate EFFICIENTLY, otherwise you-ll be moving linewise and characterwise all the time.
@@saulaxel I mean, whatever you have to do in vim is still better than reaching for the arrow keys. Your hand will always remain in a position that you can easily reset to the home row.
Excellent tutorial. Thanks for the help. Though I had to dig deeper for a problem I faced on the Mac. The installation command won't run. After many hours of fiddling around, I found out that the pre-installed version of Nano in MacOS is pretty old; V2.0.6 to be exact. So Here's what solved the problem: Install the new version using Homebrew: $ brew install nano After this step, running the command "nano [file name]" would still launch the old version. To point the command to the new version, you need to clear the hash or something like that. $ hash nano Now you're all set to follow the steps in this video. Hope it helps.
Very helpful (as usual), Derek. Thanks! I'm watching on my latest "pawnshop rescue" laptop, a Dell Latitude E5570 with Fedora 29 xfce4 and qtile. It was quick to set up, because I swiped the SSD from a dying laptop that already had Fedora on it. ;-> But even after a BIOS update the usb 3.0 jacks won't power up and I don't know yet how to fix that. But it has a good usb 2.0 jack and Bluetooth, so I'll get by. Cheers, Andy.
Hey Distrofriends, I have a question. I just tried to use the new Green-Recorder app in Wayland ( in the Fedora 30-Beta ). I wanted to do a demo showing how I use my computer. But the final published video is barely viewable. The resolution is just awful. And it only has a window mode, cutting out the top panel, which is needed in the video to show how everything works. I tried to make the same video in simple-screen recorder and the final published video was just a black screen. The music was there and the mouse & cursor worked great, LOL ! So which screen-recorder should I try next in Wayland. Or am I just stuck having to show how Fedora 30-Beta works in Xorg ??
>green-recorder I take it you are using gnome then? There is an obs-studio plugin for recording gnome/wayland.. it's a bit of a heavy way to do it but it'll work. Or you could switch to sway (or wayfire or kde-plasma5) and use the wlrobs plugin for obs-studio for the same purpose... I'd recommend this if you don't need to use Gnome.
4:15 >put a bunch of lines in your .nanorc or you could put one line... "import nano/highlighting/dir/*" this exactly what I've done... also DT i'd recommend covering the Awesome-lists on git if you have not.. people need to know about them.
On Ubuntu, there is a file /etc/nanorc, you can copy that file to ~/.nanorc. The file has the settings and descriptions, just unpound the settings you want. Myself, I mainly use Vim. In the '90s, I installed and maintained UNIX servers (Solaris and SCO), when I started using Linux, Vim was the obvious choice.
im on MInt and i get some errors when opening nano after the install. doesn't recognize command "comment" in some rc files and set linenumbers doesnt work either. but still let's me load nano and the colors work. EDIT: fixed most errors upgrading to nano v.2.7.4
I've been using the micro text editor, which is a lot like nano except with modern keybindings and scripting in lua. Oh and syntax highlighting out of the box.
Hey, Thank you very much. This is exactly what I was looking for. I was hoping you could help me with an error. every time I open a file it gives me an error on all of the line commands. here is a small sample. Any idea why this is? Error in /home/gperry/.nano/sh.nanorc on line 8: Command "linter" not understood Error in /home/gperry/.nano/tcl.nanorc on line 5: Command "comment" not understood Error in /home/gperry/.nano/tex.nanorc on line 5: Command "comment" not understood Error in /home/gperry/.nano/tex.nanorc on line 7: Command "linter" not understood Error in /home/gperry/.nano/xml.nanorc on line 7: Command "comment" not understood
@@Coffeeratgaming Like many thing in Linux you have to decide what works for you and what you consider to be an advantage or disadvantage. You will never get an unbiased answer so the best advice is to take the time to learn each one and decide yourself. If thats not helpful then you are likely a nano user
@@travisgoesthere i mean these i am using vim to be honest but i dont realy see any actual direct befit from vs the other at least in a vanilla config just difference in prefered way of working
@@Coffeeratgaming Using Vim, you can unlock speed and efficiency with some powerful features, which include window support, macros, command repetition, text objects, registers, filters, auto-completion, and global substitution. Nano does not support advanced features, such as window splitting, macros, auto-completion, viewing multiple files at once, rectangle selecting/vertical block/editing, etc. Vim is a more powerful tool with which you can make complicated edits in a quick and easy way. With Nano, it can prove more difficult and time-consuming to make complicated edits.
DT is really unique! On day 1 with the new Threadripper he installs syntax highlighting for nano! So much bloatware for a 12 core machine! Unbelievable!
Correct. Although I explained what the install script will do, you shouldn't just take my word for it. Read the install script yourself: github.com/scopatz/nanorc/blob/master/install.sh
I have a simple request ..please make iso for openbox in debien with obmenu generator install in it ..beacuse I cant make it work in my own system ...I will use your iso for rest of my live ...please
NANO - the only CLI based text editor worth it's salt. If you want more, just go for a GUI based one or an IDE. This comment brought to you by the Vi/Vim/Emacs sucks group. Just use Nano if you need something really lightweight guys, don't bother with Vim and Emacs.
00:00 - 00:37 - Intro
00:38 - 02:08 - History of vim and nano
02:09 - 04:25 - GNU nano
04:26 - 04:40 - Nice nugget
04:46 - 06:00 - GNU nano improved in action
06:01 - 06:38 - GNU nano improved with Haskell
06:39 - 07:10 - GNU nano improved with Python
07:11 - 08:30 - The guy on Reddit had line numbers...
08:31 - 09:30 - In conclusion
09:31 - 10:14 - Closing
Nice. On top of the updates they made to Nano recently, this makes it all that much better to use.
I'm a simple man. Nano is my go-to for those quick and dirty tweaks- which is about 90% of the time;)
Holy cow, I didn't know I needed this in my life. This was so useful. Thanks
You didn't know you needed nano in your life? We have identified the emacs user, folks! :D
Thank you Mr. Prof. Dr. InfoX.
I'am just gonna say again, my new favorite linux channel.
Or simply my favorite channel for 2019.
Greetings from Macedonia
Thanks! :D
Amazing video, as always, thank you for it!
Never thought I'd be so exited about NANO... LOL Fun!
Thank you, Derek. This makes me much more likely to use nanao rather than Gedit or Mousepad.
adding "set cut" to .nanorc is very useful as well. it makes the usage of ctrl+k cut from position to end, rather than entire line.
Great video DT. Thanks for sharing!
Thanks, Eric!
I am taking a python course this semester and I spent most of the time learning and using vim. Although sometimes I know I can do stuff a bit faster in nano because I know the bindings, it is great. I haven't used nano in quite some time now.
Back then, I used both because nano is easy and safe, which is what I preferred when I don't trust myself with vim. If vim is not installed, I probably only needed to edit one line and nano will do.
Thank you. It's worth to have a look at the redidt post to get an even nicer nano. You can put the nanorc under ~/.config/nano/ with the remainder of the files (actually, a copy of nanorc will be already there) and use a much leaner construction: include "$HOME/.config/nano/*.nanorc" instead of nigh a hundred of entries. Don't be alarmed when the highlighting doesn't show when editing the nanorc in nano.
Awesome tips Derek!
Thanks, Joe.
Wow. I use nano every day, but this video changed my life! :-D
Great to hear!
@@DistroTube this did not work for me...!!! :(
"cannot find or open /tmp/nanorc.zip, /tmp/nanorc.zip.zip or /tmp/nanorc.zip.ZIP.c"
this is what i get as error....
It takes such little time to learn how to use VIM and it's so much more powerful, I don't understand why anyone would want to use nano over VIM. It really shines with larger text files.
And what can (vanilla) vim do that nano can’t?
@@saulaxel Your fingers don't have to leave the home row to navigate a document. Also, you can execute commands directly from within vim.
@@danieltaubinger2920 Maybe, but you will have to leave the home row to navigate EFFICIENTLY, otherwise you-ll be moving linewise and characterwise all the time.
@@saulaxel I mean, whatever you have to do in vim is still better than reaching for the arrow keys. Your hand will always remain in a position that you can easily reset to the home row.
If you want something odd : I use mostly emac (evil mode), good amount of vim and sometimes nano (all 3, depending of the task).
Who the hell disliked this? IMHO, this video was pretty informative, I didn't know Nano could do all that syntax highlighting stuff.
All the people out there that like to say that the only thing Nano is good for is getting installed.
Thanks - very helpful!
Excellent tutorial. Thanks for the help.
Though I had to dig deeper for a problem I faced on the Mac.
The installation command won't run. After many hours of fiddling around, I found out that the pre-installed version of Nano in MacOS is pretty old; V2.0.6 to be exact.
So Here's what solved the problem:
Install the new version using Homebrew:
$ brew install nano
After this step, running the command "nano [file name]" would still launch the old version.
To point the command to the new version, you need to clear the hash or something like that.
$ hash nano
Now you're all set to follow the steps in this video.
Hope it helps.
Very helpful (as usual), Derek. Thanks! I'm watching on my latest "pawnshop rescue" laptop, a Dell Latitude E5570 with Fedora 29 xfce4 and qtile. It was quick to set up, because I swiped the SSD from a dying laptop that already had Fedora on it. ;-> But even after a BIOS update the usb 3.0 jacks won't power up and I don't know yet how to fix that. But it has a good usb 2.0 jack and Bluetooth, so I'll get by. Cheers, Andy.
I don't know was it added later on, but I have line numbers out of the box... just press Esc and then Shift+n. Nano 4.8
Always check the content of a shell script before running it with curl !
I had to check the comments to make sure someone mentioned this lol. I was surprised he didn't.
Hey Distrofriends,
I have a question. I just tried to use the new Green-Recorder app in Wayland ( in the Fedora 30-Beta ). I wanted to do a demo showing how I use my computer. But the final published video is barely viewable. The resolution is just awful. And it only has a window mode, cutting out the top panel, which is needed in the video to show how everything works. I tried to make the same video in simple-screen recorder and the final published video was just a black screen. The music was there and the mouse & cursor worked great, LOL !
So which screen-recorder should I try next in Wayland. Or am I just stuck having to show how Fedora 30-Beta works in Xorg ??
>green-recorder
I take it you are using gnome then?
There is an obs-studio plugin for recording gnome/wayland.. it's a bit of a heavy way to do it but it'll work.
Or you could switch to sway (or wayfire or kde-plasma5) and use the wlrobs plugin for obs-studio for the same purpose... I'd recommend this if you don't need to use Gnome.
I sometimes prefere nano over vi. is this makes me a noob?
Don't worry. Society will accept you :p
Just don't use arrow keys to navigate.
NIM. Nano IMproved
@@AbhishekBM Nnim.
Neo Nano IMproved
i found micro and set it as default, vim, kate or emacs when something more important
4:15
>put a bunch of lines in your .nanorc
or you could put one line... "import nano/highlighting/dir/*"
this exactly what I've done...
also DT i'd recommend covering the Awesome-lists on git if you have not.. people need to know about them.
Ubuntu 20.04 has it in their Snap Store titled "(UNOFFICIAL) nano and has 12 additional features based on Nano.
On Ubuntu, there is a file /etc/nanorc, you can copy that file to ~/.nanorc. The file has the settings and descriptions, just unpound the settings you want.
Myself, I mainly use Vim. In the '90s, I installed and maintained UNIX servers (Solaris and SCO), when I started using Linux, Vim was the obvious choice.
NeoVIM is my daily editor.
I usually drink Negra Modelo, nice!
You have good taste! :D
:)
When you set tabsize 4, 4 show in red??
Why nano does not follow standard rules? Config files should have been in .config
You can put your nanorc in .config/nano/
My letters ar still white, do i have to do something else?
im on MInt and i get some errors when opening nano after the install. doesn't recognize command "comment" in some rc files and set linenumbers doesnt work either. but still let's me load nano and the colors work.
EDIT: fixed most errors upgrading to nano v.2.7.4
I've been using the micro text editor, which is a lot like nano except with modern keybindings and scripting in lua. Oh and syntax highlighting out of the box.
Hey, Thank you very much. This is exactly what I was looking for. I was hoping you could help me with an error. every time I open a file it gives me an error on all of the line commands. here is a small sample. Any idea why this is?
Error in /home/gperry/.nano/sh.nanorc on line 8: Command "linter" not understood
Error in /home/gperry/.nano/tcl.nanorc on line 5: Command "comment" not understood
Error in /home/gperry/.nano/tex.nanorc on line 5: Command "comment" not understood
Error in /home/gperry/.nano/tex.nanorc on line 7: Command "linter" not understood
Error in /home/gperry/.nano/xml.nanorc on line 7: Command "comment" not understood
did you figure this out? I have the same issue
@@nsaunders444 yes, it was a problem with the version. I think I had to get the latest version 6.2.
Ctrl + O for save, and Ctrl + X for exit. :)
Hey DT. Do a vid on micro
Honest question what’s the benfits and disadvantages of using vim over nano ?
Take the time to learn vim and your question will be answered
@@travisgoesthere well thats most unhelpful answer to a question like that not sure why u think answer it like that is at all helpfule
@@Coffeeratgaming Like many thing in Linux you have to decide what works for you and what you consider to be an advantage or disadvantage. You will never get an unbiased answer so the best advice is to take the time to learn each one and decide yourself. If thats not helpful then you are likely a nano user
@@travisgoesthere i mean these i am using vim to be honest but i dont realy see any actual direct befit from vs the other at least in a vanilla config just difference in prefered way of working
@@Coffeeratgaming Using Vim, you can unlock speed and efficiency with some powerful features, which include window support, macros, command repetition, text objects, registers, filters, auto-completion, and global substitution.
Nano does not support advanced features, such as window splitting, macros, auto-completion, viewing multiple files at once, rectangle selecting/vertical block/editing, etc.
Vim is a more powerful tool with which you can make complicated edits in a quick and easy way. With Nano, it can prove more difficult and time-consuming to make complicated edits.
Nano is nice for small config files, quick hacks and the likes but for serious editing, for me anyway, it's vim I reach for every time.
Hey Hpw did you configure the colors in powerline shell and get URL highlighting?
nano is best ❣️❣️
Hello Derek. Make micro text editor review please.
If someone actually likes nano (nvim ftw), from what I heard they will also like `micro` text editor.
Just cheked it, seems promising. Thanks!
I like Kakoune ideas, kinda improved vim.
DT is really unique! On day 1 with the new Threadripper he installs syntax highlighting for nano! So much bloatware for a 12 core machine! Unbelievable!
Your video is broken at 1:50.
use wget over curl ;P
only cause it's more common by a little margin
Isn't it generally unsafe to run some shell script from the internet? You should warn your viewers to examine it's content
Correct. Although I explained what the install script will do, you shouldn't just take my word for it. Read the install script yourself: github.com/scopatz/nanorc/blob/master/install.sh
@@DistroTube Thanks! I've just recalled that case when some install script removed whole ~ because of the typo
I have a simple request ..please make iso for openbox in debien with obmenu generator install in it ..beacuse I cant make it work in my own system ...I will use your iso for rest of my live ...please
sparkylinux.org/
distrowatch.com/search.php?basedon=Debian&desktop=Openbox
💯💯💯💯
#NANOMASTERRACE
As a vim user I have to say vim is more user friendly 😁
Smoking kills, drinking is injurious to health
NANO - the only CLI based text editor worth it's salt. If you want more, just go for a GUI based one or an IDE.
This comment brought to you by the Vi/Vim/Emacs sucks group. Just use Nano if you need something really lightweight guys, don't bother with Vim and Emacs.
If you don't know vim, u don't know Linux. lol jk nano is cool. It's all cool if it's command line. #commandlinerules
vim and nano aren't command line, they're TUI
Use micro
no such a directory
F nano
never knew people would take nano seriously lmao
You can't mention vim or emacs without getting beat up by the nano crowd. They are quite passionate about their text editor!
You forget to say "I use vi BTW"!!
I use vim, i3 and arch btw :P
@@DistroTube totally agreed.
If you are a nano user, don't talk to me... Ever! In fact, please uinstall Linux, you are doing it wrong.
Bro, you need to go out a little more