No video

Vim vs NeoVim, What's the Difference? Which Should You Use?

  Рет қаралды 319,312

Mental Outlaw

Mental Outlaw

Күн бұрын

Пікірлер: 678
@brethagen7776
@brethagen7776 3 жыл бұрын
The three differences covered in this video: - Vim is developed and maintained by one person - Nvim is developed and maintained by the community - Vim does not support asynchronous execution - Nvim does support asynchronous execution - Vim does not have great LUA support - Nvim does have great LUA support All of that for 10 minutes
@jacobitosuperstar
@jacobitosuperstar 2 жыл бұрын
but I don't know if this videos is just old or have a lot of miss-conceptions, but Vim is no developed by one person. Braum makes the merges, but there is a team and people that constantly add to it. Vim does support async execution and Vim does support Lua, it's not it's main language, yes, but it does support it, and I don't know if have made functions or plugins in Lua for vim, but my functions work the same, I have to do the same API calls... so I don't know... i prefer TJ comment on it, "it´s not about features, it's about focus"
@kartikchauhan2778
@kartikchauhan2778 2 жыл бұрын
Thanks
@lazyeclipse
@lazyeclipse 2 жыл бұрын
...and 2 of the three are wrong (vim does have a community of contributors, it's just that patches aren't contributed through github, and it does have async execution as of version 8). That said, I thing the Lua support is huge, and we've seen great neovim plugins thanks to it.
@xybersurfer
@xybersurfer 2 жыл бұрын
@@lazyeclipse the vim contributions may come from the community. but they are much less open to contributions from the discussions i've read. so my impression is that the author of the commits does say a lot about who's in control
@elbbepp
@elbbepp 2 жыл бұрын
@sidhanth rathod Ain't no way you're advertising your neovim rice 💀. You've already got 10k stars calm down.
@bustercasey3806
@bustercasey3806 3 жыл бұрын
Nothing beats a good old pencil and some paper.
@pazu_513
@pazu_513 3 жыл бұрын
Bloat. Just use your own blood and draw with your finger
@SimGunther
@SimGunther 3 жыл бұрын
Best debugger around: a spreadsheet on accounting/engineering paper
3 жыл бұрын
No
@pardal_bs
@pardal_bs 3 жыл бұрын
Except, you know, fire, water, bugs, etc…
@uzefulvideos3440
@uzefulvideos3440 3 жыл бұрын
Scissor beats paper
@rob679
@rob679 3 жыл бұрын
Easy random character generator: get a random person in front of Vi and ask him to close the program
@trbry.
@trbry. 3 жыл бұрын
I believe you would get even more random strings if you ask them to wrote their name in something lile notepad..
@inx1819
@inx1819 3 жыл бұрын
plot twist they close the terminal
@theodiscusgaming3909
@theodiscusgaming3909 3 жыл бұрын
@Big Poppin’ Jake the joke is that it's unintuitive to normies so they'll type random stuff trying to close it
@igorswies5913
@igorswies5913 3 жыл бұрын
:wq is for masochists that like typing too much, use ZZ
@groos3449
@groos3449 3 жыл бұрын
@@igorswies5913 I use ZZ to save, ZX to save and quit and ZC to quit without saving
@Calajese
@Calajese 3 жыл бұрын
I can't exit both so there isn't really any change for me
@NeveJay
@NeveJay 3 жыл бұрын
:wqa!
@Calajese
@Calajese 3 жыл бұрын
@@NeveJay ZZ > ...
@MentalOutlaw
@MentalOutlaw 3 жыл бұрын
just unplug computer
@bobbob2658
@bobbob2658 3 жыл бұрын
buy a new computer entirely
@betabenja
@betabenja 3 жыл бұрын
@@MentalOutlaw and wait for battery to run down. only 3 days to quit vim on my old laptop. I get faster every day.
@Ultrajamz
@Ultrajamz 3 жыл бұрын
The chad answer is typically: Whichever is already installed
@qwertykeyboard5901
@qwertykeyboard5901 3 жыл бұрын
nano
@censoredterminalautism4073
@censoredterminalautism4073 3 жыл бұрын
ed is the standard text editor.
@sagnost
@sagnost 3 жыл бұрын
vi
@jamess1787
@jamess1787 3 жыл бұрын
I like chad
@rizkyadiyanto7922
@rizkyadiyanto7922 3 жыл бұрын
gedit
@its-amemegatron.9521
@its-amemegatron.9521 3 жыл бұрын
But for real. Vim has the superior logo
@nestorgomez7305
@nestorgomez7305 3 жыл бұрын
Tbh, I see it as a bit old compared to the N in nvim.
@censoredterminalautism4073
@censoredterminalautism4073 3 жыл бұрын
True. It's a pretty cool logo.
@cmodead5284
@cmodead5284 3 жыл бұрын
Mmmm maybe it's nota really good
@helkindown
@helkindown 3 жыл бұрын
I use an AZERTY keyboard, and only neovim can understand special character for map command like "map à 0" or other non ASCII character, so I recommend it to anyone with a keyboard with those kind of unusual keys on it.
@dr.derekrobinson1920
@dr.derekrobinson1920 3 жыл бұрын
>I use an AZERTY keyboard Um I'm thinking based
@felipej.oribeiro6700
@felipej.oribeiro6700 3 жыл бұрын
Yes! This is a must for Portuguese speakers. And the alt key functions are a good reason too.
@neeko319
@neeko319 3 жыл бұрын
@@felipej.oribeiro6700 Belgium uses Azerty aswell iirc
@JohnDoe-bm5lp
@JohnDoe-bm5lp 3 жыл бұрын
Try french swiss keyboard it's better
@Micha-ohne-el
@Micha-ohne-el 3 жыл бұрын
Thanks! This comment was exactly the info I was looking for, wasn't expecting to find it so quickly, if at all!
@noideac
@noideac 3 жыл бұрын
The virgin VIM and NeoVIM vs the chad not knowing how to do shell scripts in the first place
@SimGunther
@SimGunther 3 жыл бұрын
Vs the Giga-Chad who never used an internet connection to begin with
@dacho707
@dacho707 3 жыл бұрын
chad nano
@qwertykeyboard5901
@qwertykeyboard5901 3 жыл бұрын
vs Lad > echo “stuff” >> thing.file wtf lad?
@censoredterminalautism4073
@censoredterminalautism4073 3 жыл бұрын
Would Emacs be the wizard or is that just ed?
@UoirLocer
@UoirLocer 3 жыл бұрын
dad Kate
@jtsiomb
@jtsiomb 3 жыл бұрын
Your point about vim being developed by a single person vs neovim being a community project seems a bit strange, since in your video capture of the vim commit history, every single commit was a patch merge. What I'm seeing is just different merge methods: a single commiter applying patches, vs merging pull requests. Also my experience with the quality of code when it's mostly a single person writing it vs a large number of people submitting changes is quite the opposite of what you described.
@felixthehuman
@felixthehuman 2 жыл бұрын
TJ Devries (one of the core nvim developers) made a response. He also responded to that Stackoverflow "Modern IDEs are Magic" article. They are both entertaining.
@armynyus9123
@armynyus9123 2 жыл бұрын
Full ack. Things getting "messy" defintely more a multi contributor problem.
@JethroYSCao
@JethroYSCao 2 жыл бұрын
Bram merges every patch submitted by others by hand. That’s not a healthy development flow for any large project.
@jamesdickerson6726
@jamesdickerson6726 2 жыл бұрын
^ this. 100% things tend to be more efficient and uniform with one developer. Truer to it's actual vision.
@JethroYSCao
@JethroYSCao 2 жыл бұрын
@@jamesdickerson6726 when the single developer in charge is a real guru like Linus Torvalds, Mike Pall, etc. Then yes, having that BDFL can be great for the project. But Bram is no where near as competent as those guys. Every single feature added to Vim over the past half decade has been a reaction and playing catch up to the excellent work done by the Neovim team: asynchronous execution, terminal mode, etc. But even with his best efforts, Bram's Vim still lacks behind Neovim in terms of features. Lua (with Luajit) support, built-in LSP client to name a few major things. There's simply no comparison which project is better at this point, empirical results speak for themselves.
@23pointblank
@23pointblank 3 жыл бұрын
As a beginner in vim, what i am getting from this video is that i don't know enough to need neovim.
@yash1152
@yash1152 2 жыл бұрын
hehe, seems so will be the case for me too
@rbettsx
@rbettsx 2 жыл бұрын
What I'm getting is: it's absolutely safe to learn Vim. If I run into some limitation, I can change over without having to unlearn anything.
@yes-vy6bn
@yes-vy6bn 2 жыл бұрын
they're both essentially the same, but neovim is faster because it uses luajit instead of some some janky homemade language called vim script
@harleyspeedthrust4013
@harleyspeedthrust4013 9 ай бұрын
​@@yes-vy6bnyeah but you can compile vim with lua support (with luajit, optionally) if you want. you can even compile vim with support for scheme if you were so inclined. so plain old vim does support lua + luajit. and as far as async stuff, i tend to run commands in a separate tmux pane - but when i need to do something in the background from vim i just run it as a background job. for example, i have some bash function that tries to render a file in an x11 window. i have a vim keybinding to view the current file (for markdown mostly) that just calls this bash function and sends it to the background.
@Lmao-ke9lq
@Lmao-ke9lq 3 жыл бұрын
Light themed github killing my eyes in 1am
@nissengummihone
@nissengummihone 3 жыл бұрын
I have vim and my entire terminal in light mode
@nissengummihone
@nissengummihone 3 жыл бұрын
@@weakspirit_ recently I also found out how to get tty in light mode
@Lmao-ke9lq
@Lmao-ke9lq 3 жыл бұрын
you're all madmen
@Mersal-uj5nh
@Mersal-uj5nh 3 жыл бұрын
@@Lmao-ke9lq there are some browser extensions that you can use.
@ex0stasis72
@ex0stasis72 3 жыл бұрын
So, the bottom like is, if you don’t run an old computer from the 80’s, then go for Neovim.
@Mjs96117
@Mjs96117 3 жыл бұрын
You misspelled "Emacs"
@ex0stasis72
@ex0stasis72 3 жыл бұрын
@@Mjs96117 Good one!
@flexagonpark5467
@flexagonpark5467 3 жыл бұрын
@@Mjs96117 you misspelled "Doom Emacs"
@comicsans1689
@comicsans1689 3 жыл бұрын
@@Mjs96117 Sorry, I don't need an OS within my OS. I have virtual machines for that.
@josemembreno4996
@josemembreno4996 3 жыл бұрын
@@flexagonpark5467 you misspelled “O26”
@amnottabs
@amnottabs 3 жыл бұрын
*in a really thick Australian accent* na-no
@dacho707
@dacho707 3 жыл бұрын
næ-noy
@eccomi21
@eccomi21 3 жыл бұрын
Could be a dankpods reference, could be wrong.
@amnottabs
@amnottabs 3 жыл бұрын
@@eccomi21 glad someone noticed it
@eccomi21
@eccomi21 3 жыл бұрын
@@Zuudo durr dollaridooos
@Sharp931
@Sharp931 3 жыл бұрын
Goes well with this mate
@franchufranchu119
@franchufranchu119 3 жыл бұрын
Actually, you should remove systemd, glibc, and all other glow-in-the-dark software. The only thing you need is grub, vmlinuz, a minimal HolyC compiler, and the version of vi provided by busybox.
@linxuser897
@linxuser897 3 жыл бұрын
The CIA ni.....
@drishalballaney6590
@drishalballaney6590 3 жыл бұрын
nah, use just the kernel and emacs ;)
@nyankers
@nyankers 2 жыл бұрын
@@drishalballaney6590 emacs doesn't have a kernel yet? smh
@vodam6970
@vodam6970 2 жыл бұрын
no need for vi, just use ed
@someonerandom704
@someonerandom704 2 жыл бұрын
also I got rid of my mouse and keyboard and now just have two buttons: a 0 and a 1. I believe that compilers and interpreters are bloat so I just use these buttons to input cpu instructions directly into the machine.
@AoTheMighty
@AoTheMighty 3 жыл бұрын
Vim and Nvim are overrated, I just write on paper and scan it
@giatu1
@giatu1 3 жыл бұрын
"Tipe q to exit" One of the biggest lies in history.
@chefravioli4924
@chefravioli4924 3 жыл бұрын
You type ':' to enter command mode, then type q and enter to exit
@giatu1
@giatu1 3 жыл бұрын
@@chefravioli4924 You also need exclamation mark (!) at the end.
@theemacsen1518
@theemacsen1518 3 жыл бұрын
@@giatu1 only if you don’t want to save the changes made
@blufudgecrispyrice8528
@blufudgecrispyrice8528 3 жыл бұрын
it says type :q to exit. And who doesn't read the docs before using something?
@blufudgecrispyrice8528
@blufudgecrispyrice8528 3 жыл бұрын
@Big Perx I've done it too sometimes... but for easy to understand programs. With all the memes and whatnot about vim, you'd think people would research a little.
@mihailazar2487
@mihailazar2487 3 жыл бұрын
Three most immediate thing you'll notice about nvim is that "+ actually works. If you have vim preinstalled, depending on your distro, it will be compiled with the -clipboard flag disabled. Meaning you'd have to select your text with the mouse like a noob and Ctrl+Shift+C from your terminal emulator to send someone a code snippet or something. This is horrible not only be at you touch the mouse while using vim (which is sacrilege), but also because if you have long lines you will lose indentation. The soluit for this is to download the source code for vim and compile it yourself with that flag enabled. But if you're gonna go that far, might as well just switch to neovim.
@silak33
@silak33 2 жыл бұрын
Isn't this the distros fault rather than vim's fault? I mean if I had to judge whatever one car type is better than another, then I wouldn't compare a newly made car with a car where someone had bashed in all the windows with a hammer :P
@savantshuia
@savantshuia 2 жыл бұрын
when that happened to me on arch I just installed gVim which is just vim but it come with a GUI you'll never use and "+p and "*p
@revnouken9913
@revnouken9913 2 жыл бұрын
Had this problem long ago. Found the answer in the INSTALL file on /src while trying to fix a valgrind problem, you need to install libxt-dev and recompile.
@savantshuia
@savantshuia 2 жыл бұрын
@@revnouken9913 I've never see Lupin but I've heard its a classic, should probably get to watching it.
@Gurj101
@Gurj101 2 жыл бұрын
but would you use a mouse for selection? in vim ? no right ?
@esra_erimez
@esra_erimez 3 жыл бұрын
Fun facts: The original "vi" editor was written by Bill Joy at Berkley.. And, there was once a editor called "nvi" that was bug-for-bug compatible with original vi editor. vim evolved from an editor called "stevie".
@nightcoder5k
@nightcoder5k 2 жыл бұрын
'vi' was the only choice when I was in college. We used dumb terminals in the computer labs to access the mainframes. At home, vi was efficient enough for editing code over a 2400 baud modem connection. At my first job in the early 90's after I graduated, I had to program in MSDOS. I found 'vile', a vi editor, was blazing fast compared to other DOS ports. Over the course of my career, I've converted quite a few coworkers to 'vi'. It's like a cult.
@cocorico128
@cocorico128 Жыл бұрын
RIP Bram
@Vifnis
@Vifnis 4 ай бұрын
WAHT
@Vifnis
@Vifnis 4 ай бұрын
Bram Moolenaar, 1961 - 3 August 2023 (aged 62)... welp rip
@kayurbach5182
@kayurbach5182 3 жыл бұрын
A demo of actual visible difference would have been nice though. 👍🏽
@RobBates
@RobBates 2 жыл бұрын
Having worked with/for many large tech companies, I disagree with the generalization that single author is usually messier. In fact, I would say the reverse is far more common, but that it really boils down to the style of the repo owners. I have definitely seen both, but I would say about 90% of repos with more than 5 contributors are messy, whereas single contributors it's more like 50/50. There is a sweet spot where a few people keep each other honest because they are embarrassed to commit sloppy code, but there are still few enough of them to coordinate and communicate in an organized fashion. In fact, I would say of the 10% clean codebases with many contributors, the vast majority were ruled with an iron fist where only 1 or 2 people had the power to accept PRs.
@rugmj
@rugmj Жыл бұрын
rip bram
@slavko5666
@slavko5666 3 жыл бұрын
Talk about single GPU pass trough in Gentoo. There's a post on r/Gentoo with the title: gentoo single gpu vfio passthrough scripts
@andrewhunnter
@andrewhunnter 3 жыл бұрын
i second this message
@Neko-kun-dp1hq
@Neko-kun-dp1hq 3 жыл бұрын
Same. I would love to do it but Muta's tutorial didn't work for me and I have great difficulty reading and understanding the stuff myself.
@alkaupadhyay7650
@alkaupadhyay7650 3 жыл бұрын
@@Neko-kun-dp1hq Same. It is hard af to setup virt Manager perfectly
@luimu
@luimu 3 жыл бұрын
What's the point of running single GPU pssstrough? Only benefit I can see is faster change to guest os. Also if thigns haven't changed you can't reattach the driver back to the host so you will need to restart anyways if you change between them.
@gdr-1243
@gdr-1243 3 жыл бұрын
@@luimu fake news, you can do that without rebooting. That is, if you ssh to your host from whatever you have, including the VM. Also, single GPU passthrough can allow you to try distros without having to partition a disk, and you'll end up with an environment that's almost the same as your bare-metal machine
@marcovirtual
@marcovirtual 3 жыл бұрын
Great video Kenny, now do a shirtless one.
@intdivisionbyzero
@intdivisionbyzero 3 жыл бұрын
Coming from a background in college, learning Nano, Emacs and Vim is really difficult, we always programmed Java using Eclipse and Python/C++ etc using Geany/VSCode if on Windows/Mac etc. Really happy that Vim, Nano and Emacs are very well documented and information is easy to find, idk, my two cents. Probably just gonna stick with Vim cause it seems alot easier once you get a bit more experience with the program.
@lama-chan
@lama-chan 2 жыл бұрын
in my university all of our coding in c had to be done in vim and now i can't stand working in vs code
@cdoublejj
@cdoublejj 2 жыл бұрын
i find nano easier to use than vim
@jamesdickerson6726
@jamesdickerson6726 2 жыл бұрын
Once you get over that initial learning curve with Vim, it really does make a world of difference. I have EVERYTHING on my computer with vim-like bindings. Qutebrowser, dwm window manager, etc. It really is the most efficient way of doing things.
@cdoublejj
@cdoublejj 2 жыл бұрын
@@jamesdickerson6726 learning curve? that's whole lot of learning and curving for a 2 second edit to the fstab file. Having take a course on vi and vim, Nano is life. i propose a national holiday for Nano.
@encycl07pedia-
@encycl07pedia- 2 жыл бұрын
@@cdoublejj Are you trolling or are you really that proud to be unskilled using a console version of Notepad?
@yash1152
@yash1152 2 жыл бұрын
2:14 "as far as commits are concerned" yeah, sometimes someone else makes the changes, but when they are merged, the commit is shown by the maintainer. and here as well, u can see that these are the patches commited by him. And as the licence of vim mentions, that changes/patches can be mailed to him to get them merged. so.... that's that. TL;DR: the commit history's overview there doesnt says much about if others are involved or not. Edit: oh, ohkay, this is addressed immediately after.
@jemag
@jemag 3 жыл бұрын
Built-in LSP client and Treesitter are also 2 big differentiators for Neovim
@k98killer
@k98killer 2 жыл бұрын
I've been using vim since I was a kid. Always been sufficient for my purposes. As far as I'm concerned, it's a black box with lightly colored text and a unique input method. If I ever have to do a significant amount of code editing via a non-graphical interface, I'll give neovim a try. Sounds cool. Hopefully it's compatible with my screen rc file. Pixel pushing in an rc file is a real pain in the ass.
@brissance
@brissance 9 ай бұрын
how? kids are not that smart.
@k98killer
@k98killer 9 ай бұрын
@@brissance I graduated highschool as salutatorian with an associate of arts degree. Some kids are that smart.
@gamer-gw9iy
@gamer-gw9iy 7 ай бұрын
​@@k98killerAA is pretty easy bro.. Had my AA credits done by junior year HS
@joaopedrodeamorimpaula8965
@joaopedrodeamorimpaula8965 3 жыл бұрын
i'm sorry but there's only ed, the standard editor.
@sayanghosh6996
@sayanghosh6996 3 жыл бұрын
cat > textfile content... ctrl+d
@joaopedrodeamorimpaula8965
@joaopedrodeamorimpaula8965 3 жыл бұрын
@@sayanghosh6996 real chad never makes a mistake
@kc1087
@kc1087 3 жыл бұрын
To me personally the fact that NeoVim doesnt ask me to donate to africans sold me instantly, I hated the Vim message.
@favor94
@favor94 3 жыл бұрын
is that a bad thing to do ?
@netbotcl586
@netbotcl586 3 жыл бұрын
it does.
@favor94
@favor94 3 жыл бұрын
@@netbotcl586 why
@netbotcl586
@netbotcl586 3 жыл бұрын
@@favor94 idk; i just say that neovim also asks you to donate.
@chrkrngl
@chrkrngl 3 жыл бұрын
You can disable the Vim "splash screen" which shows the messages. Or change the source code. Vim is very easy to compile yourself.
@generalmichaelconstantine4598
@generalmichaelconstantine4598 3 жыл бұрын
One more thing you forgot to mention is that neovim has its config file stored in .config while vim has it in the home directory. It may be important for some users
@alouisschafer7212
@alouisschafer7212 3 жыл бұрын
why would they do that? Seems illogical.
@chandakangwa1917
@chandakangwa1917 3 жыл бұрын
heck, i was supposed to go to sleep 4 hours ago... but then i kept on trying to install vim plug and i thought i was running vim and my .vimrc was in home and stuff like that... turns out, my whole life was a lie
@christopherjenkins6174
@christopherjenkins6174 Жыл бұрын
I know it’s been 2 years but that’s specifically why I use neovim. I refuse to use programs that won’t adhere to XDG standards. Or I’ll build the program from source and make it XDG compliant. I hate clutter in my home directory 😭
@gormless-idiot
@gormless-idiot 7 ай бұрын
@@alouisschafer7212 it's because neovim's use case is for desktop users who live in their mother's basement, in a place where nobody else uses the computer. VIM's configuration is in the user's home folder because it's intended for use on both single user and multi user machines, so that the computer's users can have individual VIM configs to suit their needs instead of a single global configuration that every user has to deal with.
@gormless-idiot
@gormless-idiot 7 ай бұрын
@@christopherjenkins6174 you just outed yourself as a neet
@almasabdrazak5089
@almasabdrazak5089 3 жыл бұрын
The Boomer here, Neovim 4.3 is a cave man old , switch to 5.0 nightly xD
@OggerFN
@OggerFN 3 жыл бұрын
You shouldn't use nightly builds with neovim imo
@ishanagarwal475
@ishanagarwal475 3 жыл бұрын
@@OggerFN I've been using master for 4-5 months whats the problem?
@OggerFN
@OggerFN 3 жыл бұрын
@@ishanagarwal475 You will probably run into bugs if you use the latest features
@ishanagarwal475
@ishanagarwal475 3 жыл бұрын
@@OggerFN I didn't.
@OggerFN
@OggerFN 3 жыл бұрын
@@ishanagarwal475 Good for you then. I will wait until they declare a version stable
@kemi242
@kemi242 3 жыл бұрын
I never had the patience to learn Vi/Vim properly. There are so many nice and intuitive graphical editors, that don't rudely beep at you as you're trying to type, and you don't have to read the manual on how to quit.
@alouisschafer7212
@alouisschafer7212 3 жыл бұрын
shit needs to be easy to use for my normie brain
@mytop5602
@mytop5602 3 жыл бұрын
all shitty bloatware
@techworld3043
@techworld3043 2 жыл бұрын
When you learn that it is fucking fast
@serene-dev
@serene-dev 2 жыл бұрын
I was using vim as my main editor. Once I tried to symlink vimrc to neovim config, and alias vim=nvim. And I found that neovim loads much faster compared to vim. Since then I use neovim.
@MrMaiaBang
@MrMaiaBang 3 жыл бұрын
Just today I asked myself this very question! You have been so on point with these vids that I happily disable my adblock for these :) Cheers mate
@moatazfouad2317
@moatazfouad2317 3 жыл бұрын
Weird how I had just installed both these morning and you made a video abt them 😂 , keep up the good work
@spyro3635
@spyro3635 3 жыл бұрын
“Ed is the standard text editor.” Ed, the greatest WYGIWYG editor of all. ED IS THE TRUE PATH TO NIRVANA! ED HAS BEEN THE CHOICE OF EDUCATED AND IGNORANT ALIKE FOR CENTURIES! ED WILL NOT CORRUPT YOUR PRECIOUS BODILY FLUIDS!! ED IS THE STANDARD TEXT EDITOR! ED MAKES THE SUN SHINE AND THE BIRDS SING AND THE GRASS GREEN!!
@akarimasuta
@akarimasuta 3 жыл бұрын
?
@josemembreno4996
@josemembreno4996 3 жыл бұрын
What happened to good old “O26”?
@muha0644
@muha0644 3 жыл бұрын
echo $x > file.foo there, hope that answers this question.
@SFSAtlas
@SFSAtlas 3 жыл бұрын
cat file.foo > file.bar
@youcefkel4743
@youcefkel4743 3 жыл бұрын
it feels unique to watch ur videos man . ur channel is like a shelter that protects us from the trendy BS
@Samji3877
@Samji3877 3 жыл бұрын
that really set the foundation for the two thank you - have an excellent day!
@remrevo3944
@remrevo3944 2 жыл бұрын
One big difference is that neovim natively includes a lsp-client, which is invaluable for people who write code.
@adissentingopinion848
@adissentingopinion848 2 жыл бұрын
Oooh, that makes a lot of difference. I just took it for granted that I could find a VHDL language server connection, but the native support made it ludicrously easy.
@remrevo3944
@remrevo3944 2 жыл бұрын
@@adissentingopinion848 Also it is possible to write your config in lua instead of vimscript
@christoesh8901
@christoesh8901 4 ай бұрын
Anything vim lacks compared to neovim can be added with plugins. But something vim can do that neovim can NEVER do is ssh into a remote system and edit a file directly in the terminal.
@remrevo3944
@remrevo3944 4 ай бұрын
@@christoesh8901 I mean everything except for using a lua config. (Maybe through rpc, but I'm not sure.) Also what makes you think you can't edit files through ssh with neovim? Both opening a remote file directly through neovim, as well as editing with neovim through an ssh connection work just like with vim.
@christoesh8901
@christoesh8901 4 ай бұрын
@@remrevo3944 Cause most servers won't have it installed.
@HenryTitor
@HenryTitor 2 жыл бұрын
I feel like we should make a malware that opens and fullscreen Vim/Neovim whenever they use their computer. Would probably help alot with computer literacy
@xtdycxtfuv9353
@xtdycxtfuv9353 Жыл бұрын
Knowing esoteric keybindings = computer literacy Okay
@HenryTitor
@HenryTitor Жыл бұрын
@@xtdycxtfuv9353 if you are referencing Ctrl+W+q for quit, then you are one of the computer illiterates
@maurolimaok
@maurolimaok 4 ай бұрын
Thanks for the video. Knowing the commands are compatible allows me to use sites to learn these commands before go to NeoVim.
@opiniondiscarded6650
@opiniondiscarded6650 3 жыл бұрын
Doesn't Neovim drop some legacy terminal support? If it does, no thanks.
@demolazer
@demolazer 8 ай бұрын
I've been self teaching peogramming for the past year. Decided to learn vim and I'm really enjoying it! It reminds me of when I used to play RTS games with lots of keybindings. I now understand why people love it.
@ttheno1
@ttheno1 3 жыл бұрын
"My text editor has 'neo' in it, so I'm a hacker now!"
@ricardocesar8883
@ricardocesar8883 3 жыл бұрын
Nice profile pic, i love Omori!
@ttheno1
@ttheno1 3 жыл бұрын
@@ricardocesar8883 thanks, also same (lel)
@scottmiller2591
@scottmiller2591 2 жыл бұрын
The burning question for me is usually "How much of a PITA is it going to be to install, configure, and maintain?" All in all, a good summary of the two editors, though.
@haziqsembilanlima
@haziqsembilanlima 3 жыл бұрын
Vim logo seems to be inspired by Megaman X for some reason. NeoVim kinda looks like Android N logo
@larriyrnir5756
@larriyrnir5756 3 жыл бұрын
Which Should You Use? emacs
@StrangeIndeed
@StrangeIndeed 3 жыл бұрын
I've always wondered what's the difference between the two, so thank U so the video :3
@arnaudparan1419
@arnaudparan1419 2 жыл бұрын
tbh since I use arch I very rarely see bugs, and never noticed any in neovim. And the rare times I spotted something going wrong on arch it was pretty easy and straightforward to fix it. Compared to when I was using ubuntu and spotting bugs all the time, I consider arch much safer.
@Ezekiel-dude
@Ezekiel-dude 9 ай бұрын
btw...
@kashantariq9987
@kashantariq9987 3 жыл бұрын
Thought you were a "vim elitist."
@paulosantana9607
@paulosantana9607 3 жыл бұрын
it's better to be a nvim commoner
@gavinridley5727
@gavinridley5727 3 жыл бұрын
literally got nvim just for the python scripting interface
@yoshikagekira7600
@yoshikagekira7600 3 жыл бұрын
Can you explain a bit, how it is better than other editor for python scripts?
@francescovolpini
@francescovolpini 3 жыл бұрын
@@yoshikagekira7600 it's just the better text editor, i've also read that as an ide emacs would do the job even better, but don't quote me on that
@Ultrajamz
@Ultrajamz 3 жыл бұрын
N vim?.... 🤔
@bsatyam
@bsatyam 3 жыл бұрын
I was literally thinking about this when I recently starting using LARBS and you upload a video on it.
@kevyyar
@kevyyar 3 жыл бұрын
I’m lost using LARBS. I’m a noob and I don’t even know how to customize it and make it my own. Change terminal color, change default browser, change fonts on the dwmblocks or terminal etc.
@censoredterminalautism4073
@censoredterminalautism4073 3 жыл бұрын
@@kevyyar Starting slowly from scratch could help. Using someone else's configs seems like it could easily become overwhelming because you will suddenly have to learn a bunch of new tools all at the same time. I recommend installing a simple distribution and learning whatever you're most interested in first, and then gradually adopting new tools and moving to systems that require a little more knowledge. There is no rush.
@bsatyam
@bsatyam 3 жыл бұрын
@@censoredterminalautism4073 In some cases it might but I did not want to spend time trying to get a usable setup. Instead I went with a usable setup already in place and learning the configuration stuff as I go along. @kevthedev just have a look at the variables defined in config.h for DWM in .local/src/dwm. You can change the file manager DWM looks for to a bash variable $FM and then change your prefered file manager directly from .bashrc without having to recompile DWM (You will have to recompile it once though). For changing colors, just install 'wal' and run "setbg img.png" and it will both change the background and the color scheme intelligently derived from the image. It works great.
@user-wx8my6rb1r
@user-wx8my6rb1r 3 жыл бұрын
also neovim weighs 20+ MB when vim takes up only 4 KB or something, you can even write it on a floppy disk if you really want to not that much compared to other editors though
@fabiogulmini4664
@fabiogulmini4664 3 жыл бұрын
Both take around 30mb (not sure) the reason of vim taking 4kb is that with neovim you already installed most of the dependencies that also vim needs
@romydrah5606
@romydrah5606 3 жыл бұрын
That's a symlink bro
@mihailazar2487
@mihailazar2487 3 жыл бұрын
Idk if I like vim playing catch-up with nvim Vim is supposed to be reliable. It's supposed to be the thing that saves your ass when you're in Ctrl+Alt+F2 tryina see why your computer won't boot
@FranLMSP
@FranLMSP 3 жыл бұрын
Kenny what do you think of SpaceVim?
@dadecountyboos
@dadecountyboos 3 жыл бұрын
citation needed but i thought last time i looked at installing neovim that is was unconfined... plain 'ole vim is already wonderful thanks for sharing
@siwiecministro1994
@siwiecministro1994 3 жыл бұрын
@8:12 There is so much competition between free software products, that none of the graphical environments offers non-overlay scrollbars anymore... ;>
@nissengummihone
@nissengummihone 3 жыл бұрын
Video on Sway when?
@leilei8772
@leilei8772 3 жыл бұрын
You can run neovim in Vscode. That made me switch.
@raymondwright
@raymondwright 2 жыл бұрын
In my case I learned how to exit Vim, but that's all I can do. Vim seems unintuitive, VS code is much more confortable and has a lot of functionality.
@earthling_parth
@earthling_parth 2 жыл бұрын
Got it, installing nvim on my new Framework laptop right away :)
@MostWanted17O1
@MostWanted17O1 3 жыл бұрын
You didnt answer the most important question. Which one do you prefer to use? I just go with whatever is installed and dont care too much.
@knghtbrd
@knghtbrd Жыл бұрын
neovim does tend to get more bugs in newer features, but they are usually pretty quickly squashed. vim is a little more conservative and doesn't have as many flashy terminal features or support for random scripting languages … but if you don't need or care about those features, it almost doesn't matter which one you use. A major feature of neovim for me is yank buffer integration with the system clipboard. You *can* do it with vim with the right stuff enabled, but nvim just has it. (On Debian systems for example, you need the full-fat GUI-enabled version of vim to have the feature at all, even if you're only ever going to run it in a terminal.) If any scripts or plugins you use are vimscript-based, they ought to work in both. But it's possible to turn neovim into a modal VSCode-alike if you don't mind running some typescript node.js crap along with your already not insubstantial editor. My init.vim works as a .vimrc on any system with vim 8 and git. (I do use a few plugins-vim-sensible, editorconfig-vim, and a few syntax plugins mostly.
@harleyspeedthrust4013
@harleyspeedthrust4013 9 ай бұрын
blud u could just compile vim with plus clibord and b chillin my guy no need for fat vim and pls dont turn ur neovim into vscode bruh
@lusun5784
@lusun5784 Ай бұрын
Bram Moolenaar passed away on Aug 3, 2023. Now Vim has been taken over by the contributors in the community who have a lot of love on him.
@alieninvaders1188
@alieninvaders1188 8 ай бұрын
Vim = Modern China Nvim = United States of America
@amadlover
@amadlover Жыл бұрын
QUESTION: If the code for nvim is cleaner than vim, would it also mean that the execution of the nvim is also cleaner than vim ?
@neodonkey
@neodonkey Жыл бұрын
I had thought this might be so, so i used the UNIX time command to compare, and Neovim was more CPU intensive despite its code being so 'clean'. It used more memory too.
@licokr
@licokr 4 ай бұрын
Thanks a lot! it's so informative!
@phlynniii
@phlynniii 8 ай бұрын
Well, thank you for bringing some things up... Last 20 years vim now Neovim. Thank you from me here...
@Rami-L
@Rami-L 3 жыл бұрын
“Spaghetti code” Vim is bloat??
@bsatyam
@bsatyam 3 жыл бұрын
Spaghetti code does not necessarily mean bloat, it just means code that is so convoluted that it's hard for other developers to understand. Like not respecting encapsulation and accessing anything from anywhere will create a sort of web you wouldn't want to untangle unless you're the one who wrote it.
@calabrais
@calabrais 4 күн бұрын
RIP Bram, he did a :wq on life 🥺
@sugaryhull9688
@sugaryhull9688 3 жыл бұрын
I'm more of a "GNU Nano" kinda guy (i.e. not a programmer)
@pavelnovak4888
@pavelnovak4888 3 жыл бұрын
Neovim doesnt really work with non qwertz keyboards and AltGr
@giatu1
@giatu1 3 жыл бұрын
That's good to know. I use Dvorak.
@giatu1
@giatu1 3 жыл бұрын
I think you mean "Neovim" btw
@pavelnovak4888
@pavelnovak4888 3 жыл бұрын
@@giatu1 yes I made a typo
@anonymous2596
@anonymous2596 3 жыл бұрын
I use nano... Vim is to advanced for what I use it for.
@glowiak3430
@glowiak3430 3 жыл бұрын
VI > VIM > VIMIM > VIMIMIM > VIMIMIMIM Vi > Vi Improved > ViM Improved > VIMIM Improved
@slayeeerrr
@slayeeerrr 2 жыл бұрын
nvim broke your standard nomenclature.
@Defal_
@Defal_ 3 жыл бұрын
Good morning, evening, night or Afternoon y'all
@_grzehotnik
@_grzehotnik 3 жыл бұрын
Which should you choose? VS Code
@special5934
@special5934 3 жыл бұрын
@Mental Outlaw, could you do a video on image editors? I keep a windows laptop aside specifically for photoshop because of how inconvenient GIMP’s default settings are.
@GabrielMartins-wp6ps
@GabrielMartins-wp6ps 3 жыл бұрын
There is a patch called photogimp that give gimp the same key bindings and a layout that match more closely to photoshop
@tbttfox
@tbttfox 3 жыл бұрын
Personally, I've switched over from GIMP to Krita, and haven't looked back.
@lifebarier
@lifebarier 3 жыл бұрын
Which one is more immune to CoC? Also, vim/nvim VS kak/kakoune ?
@akojic5486
@akojic5486 3 жыл бұрын
Sry, btw I use Emacs. :-)))
@apestogetherstrong341
@apestogetherstrong341 3 жыл бұрын
(((
@njlschpprkjrsvk
@njlschpprkjrsvk 3 жыл бұрын
yes
@apereirafernandez
@apereirafernandez 3 жыл бұрын
oh I thought Emacs was an os
@gaffclant
@gaffclant 3 жыл бұрын
I use arch btw get one upped NORMIE
@Dther99
@Dther99 3 жыл бұрын
I use artix, I haven’t shaved my beard in months
@seanwieland9763
@seanwieland9763 2 жыл бұрын
Church of EMACS for life!
@shredded_lettuce
@shredded_lettuce 3 жыл бұрын
Love your videos! Do you think you could start leaving at least another few seconds of silence after the end though so that if they're in a playlist (like Watch Later) the next video doesn't automatically play unexpectedly? 😅
@xxxxxxx38
@xxxxxxx38 9 ай бұрын
, the name "Vim" was an acronym for "Vi IMitation", but this changed to "'Vi IMproved" late in 1993.
@mike94560
@mike94560 9 ай бұрын
Bram passed away in Aug 2023.
@kenwood7195
@kenwood7195 3 жыл бұрын
NeoVim is a fork of Vim. Essentially Bram Moolenaar did all the work for both and I see NeoVim as a bit of a backstab to Vim's creator. Also Bram pushes hard for people to donate to helping children in Uganda which makes him a bloody good guy in my opinion. Use Vim and do the right thing.
@TheJackal917
@TheJackal917 2 жыл бұрын
3:20 - don't go that road, man.
@nicholascureton933
@nicholascureton933 3 жыл бұрын
I use vim. It's already installed in most server.
@benocxx7906
@benocxx7906 3 жыл бұрын
I really like your videos! :)
@pzzcc
@pzzcc 2 жыл бұрын
I am a happy emacs user. It took me time to understand but I can’t use vim or neovim anymore . Emacs is just too damn good , it blows my mind when i want to do something special and i find it builtin 😀 Plus this neovim thing took forever, i am no longer excited .
@ProfessorSlimezz
@ProfessorSlimezz 2 жыл бұрын
I got stuck in vim, when I first started with linux and I never went back.
@agaga5886
@agaga5886 3 жыл бұрын
I use PaleoVim
@sambird7
@sambird7 3 жыл бұрын
virgin vim vs chad kakoune
@flleaf
@flleaf 3 жыл бұрын
8:15 competition for free products? this could scare capitalists to death!
@HumbleHuman-k7g
@HumbleHuman-k7g 3 жыл бұрын
Nice point 👏
@jerbear7952
@jerbear7952 6 ай бұрын
People sure do like that closing vim joke don't they...
@Rignchen
@Rignchen 3 ай бұрын
I watched this cause my friend was like "stop using vim, use nvim" and I didn't knew the differences, well I still feel like the only difference is who made it
@pjf
@pjf 3 жыл бұрын
I prefer to use nano :D
@hikingpete
@hikingpete 3 жыл бұрын
If you're interested in competition among editors, you should check out xi-editor and kakoune. Both of them bring big new ideas to the table.
@atimholt
@atimholt 3 жыл бұрын
I've tried getting into Kakoune, but the documentation is a bit painful. If there's one thing (Neo)Vim get(s) right, it's its massive amount of documentation.
@limitless1692
@limitless1692 Жыл бұрын
Thaks for the advice. I was an Atom code editor user... But now that Microsoft k!led it, I am looking into something more stable. I belive that VIM is the way foreward for me, thank You :)
Why I Cant Stand IDE's After Using VIM | Prime Reacts
17:51
ThePrimeTime
Рет қаралды 296 М.
I tried 10 code editors
10:28
Fireship
Рет қаралды 3 МЛН
Joker can't swim!#joker #shorts
00:46
Untitled Joker
Рет қаралды 40 МЛН
7 Days Stranded In A Cave
17:59
MrBeast
Рет қаралды 93 МЛН
طردت النملة من المنزل😡 ماذا فعل؟🥲
00:25
Cool Tool SHORTS Arabic
Рет қаралды 19 МЛН
It's time for change, it's time for Linux.
10:53
DankPods
Рет қаралды 226 М.
Feds Couldn't Crack Signal, So They Banned It
8:50
Mental Outlaw
Рет қаралды 466 М.
I tried Neovim Distributions so you don't have to
9:12
typecraft
Рет қаралды 157 М.
I Love Neovim But I WONT Use It | Prime Reacts
23:22
ThePrimeTime
Рет қаралды 117 М.
NVChad - Turn Neovim Into An Awesome IDE
14:48
Mental Outlaw
Рет қаралды 246 М.
What Everyone Missed About The Linux Hack
20:24
Theo - t3․gg
Рет қаралды 285 М.
Vim Versus Emacs. Which Is Better?
30:38
DistroTube
Рет қаралды 268 М.
microsoft doubles down on recording your screen
10:00
Low Level Learning
Рет қаралды 58 М.
Why Neovim nerds are so obsessed with the terminal
6:44
Joshua Morony
Рет қаралды 91 М.
THE TRUE POWER OF VIM - Saving hours of time with some vim magic
11:49
Joker can't swim!#joker #shorts
00:46
Untitled Joker
Рет қаралды 40 МЛН