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
@ritual301
5 жыл бұрын
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;)
@user-yf8il6we2z
5 жыл бұрын
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.
@saulaxel
5 жыл бұрын
And what can (vanilla) vim do that nano can’t?
@danieltaubinger2920
4 жыл бұрын
@@saulaxel Your fingers don't have to leave the home row to navigate a document. Also, you can execute commands directly from within vim.
@saulaxel
4 жыл бұрын
@@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.
@danieltaubinger2920
4 жыл бұрын
@@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.
@AlanPope
5 жыл бұрын
Holy cow, I didn't know I needed this in my life. This was so useful. Thanks
@DistroTube
5 жыл бұрын
You didn't know you needed nano in your life? We have identified the emacs user, folks! :D
@harrytsang1501
5 жыл бұрын
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.
@Harbonium
5 жыл бұрын
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
@DistroTube
5 жыл бұрын
Thanks! :D
@zacharycarbon4312
5 жыл бұрын
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.
@AnzanHoshinRoshi
5 жыл бұрын
Thank you, Derek. This makes me much more likely to use nanao rather than Gedit or Mousepad.
@horatiopugwash9183
5 жыл бұрын
Who the hell disliked this? IMHO, this video was pretty informative, I didn't know Nano could do all that syntax highlighting stuff.
@fuckgoogle7155
5 жыл бұрын
All the people out there that like to say that the only thing Nano is good for is getting installed.
@AnimalFacts
5 жыл бұрын
Never thought I'd be so exited about NANO... LOL Fun!
@IvanJarBaq
5 жыл бұрын
Amazing video, as always, thank you for it!
@SayedAli-gq8bl
3 жыл бұрын
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.
@kaentherei
4 жыл бұрын
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.
@andrewpalm2103
5 жыл бұрын
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.
@kajika135bis
5 жыл бұрын
If you want something odd : I use mostly emac (evil mode), good amount of vim and sometimes nano (all 3, depending of the task).
@rszakats
4 жыл бұрын
Wow. I use nano every day, but this video changed my life! :-D
@DistroTube
4 жыл бұрын
Great to hear!
@sasankt7068
4 жыл бұрын
@@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....
@EricAdamsYT
5 жыл бұрын
Great video DT. Thanks for sharing!
@DistroTube
5 жыл бұрын
Thanks, Eric!
@canyonstinky7817
5 жыл бұрын
NIM. Nano IMproved
@coronaklledmebot4856
2 жыл бұрын
@@AbhishekBM Nnim. Neo Nano IMproved
@kevinklement2621
5 жыл бұрын
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.
@youp1tralala
5 жыл бұрын
Always check the content of a shell script before running it with curl !
@bsap8256
3 жыл бұрын
I had to check the comments to make sure someone mentioned this lol. I was surprised he didn't.
@kjakobsen
3 жыл бұрын
Ctrl + O for save, and Ctrl + X for exit. :)
@crwmike0
5 жыл бұрын
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.
@markkeilys
5 жыл бұрын
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.
@knochestolle
5 жыл бұрын
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!
@alexstone691
5 жыл бұрын
i found micro and set it as default, vim, kate or emacs when something more important
@umka7536
5 жыл бұрын
NeoVIM is my daily editor.
@allenja8
4 жыл бұрын
Ubuntu 20.04 has it in their Snap Store titled "(UNOFFICIAL) nano and has 12 additional features based on Nano.
@IvicaAnteski
2 жыл бұрын
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
@tuxpowerpc
5 жыл бұрын
Awesome tips Derek!
@DistroTube
5 жыл бұрын
Thanks, Joe.
@l00t_t00l
5 жыл бұрын
I usually drink Negra Modelo, nice!
@DistroTube
5 жыл бұрын
You have good taste! :D
@l00t_t00l
5 жыл бұрын
:)
@gregf9160
5 жыл бұрын
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.
@iamlinux
5 жыл бұрын
I sometimes prefere nano over vi. is this makes me a noob?
@parthkrishna3507
5 жыл бұрын
Don't worry. Society will accept you :p Just don't use arrow keys to navigate.
@distroverse
5 жыл бұрын
If someone actually likes nano (nvim ftw), from what I heard they will also like `micro` text editor.
@spyritwalker
4 жыл бұрын
Just cheked it, seems promising. Thanks!
@richardmonroe4208
5 жыл бұрын
Thanks - very helpful!
@aniketchavan2211
2 жыл бұрын
nano is best ❣️❣️
@CrustyAbsconder
5 жыл бұрын
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 ??
@markkeilys
5 жыл бұрын
>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.
@canyonstinky7817
5 жыл бұрын
Hey DT. Do a vid on micro
@antonlee0
5 жыл бұрын
I like Kakoune ideas, kinda improved vim.
@fabianrr
11 ай бұрын
When you set tabsize 4, 4 show in red??
@alexandrprincip6366
5 жыл бұрын
Hello Derek. Make micro text editor review please.
@AlucardNoir
5 жыл бұрын
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.
@jan_harald
5 жыл бұрын
use wget over curl ;P only cause it's more common by a little margin
@mounttaineer
2 жыл бұрын
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
@nsaunders444
2 жыл бұрын
did you figure this out? I have the same issue
@mounttaineer
2 жыл бұрын
@@nsaunders444 yes, it was a problem with the version. I think I had to get the latest version 6.2.
@aniketchavan2211
2 жыл бұрын
💯💯💯💯
@Mr.Finkel
5 жыл бұрын
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
@jeffreysanfilippo6030
5 жыл бұрын
Hey Hpw did you configure the colors in powerline shell and get URL highlighting?
@GreyDeathVaccine
4 жыл бұрын
Why nano does not follow standard rules? Config files should have been in .config
@gallest7973
3 жыл бұрын
You can put your nanorc in .config/nano/
@j.s9875
3 жыл бұрын
My letters ar still white, do i have to do something else?
@pcfreak1992
5 жыл бұрын
As a vim user I have to say vim is more user friendly 😁
@Piotr-vw6uj
5 жыл бұрын
#NANOMASTERRACE
@vladimirtatarsky9928
5 жыл бұрын
Isn't it generally unsafe to run some shell script from the internet? You should warn your viewers to examine it's content
@DistroTube
5 жыл бұрын
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
@vladimirtatarsky9928
5 жыл бұрын
@@DistroTube Thanks! I've just recalled that case when some install script removed whole ~ because of the typo
@Coffeeratgaming
4 жыл бұрын
Honest question what’s the benfits and disadvantages of using vim over nano ?
@travisgoesthere
2 жыл бұрын
Take the time to learn vim and your question will be answered
@Coffeeratgaming
2 жыл бұрын
@@travisgoesthere well thats most unhelpful answer to a question like that not sure why u think answer it like that is at all helpfule
@travisgoesthere
2 жыл бұрын
@@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
@Coffeeratgaming
2 жыл бұрын
@@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
@travisgoesthere
2 жыл бұрын
@@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.
@mulljacob
5 жыл бұрын
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
@aedd3307
4 жыл бұрын
vim and nano aren't command line, they're TUI
@krtirtho
3 жыл бұрын
Smoking kills, drinking is injurious to health
@zerriasaad5148
5 жыл бұрын
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
Пікірлер: 101