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

Поділитися
Вставка
  • Опубліковано 27 гру 2024

КОМЕНТАРІ • 681

  • @brethagen7776
    @brethagen7776 3 роки тому +1530

    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 3 роки тому +138

      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 роки тому +2

      Thanks

    • @lazyeclipse
      @lazyeclipse 2 роки тому +34

      ...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 роки тому +6

      @@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 роки тому +6

      @sidhanth rathod Ain't no way you're advertising your neovim rice 💀. You've already got 10k stars calm down.

  • @wailfulcrab
    @wailfulcrab 3 роки тому +1203

    Easy random character generator: get a random person in front of Vi and ask him to close the program

    • @trbry.
      @trbry. 3 роки тому +11

      I believe you would get even more random strings if you ask them to wrote their name in something lile notepad..

    • @inx1819
      @inx1819 3 роки тому +121

      plot twist they close the terminal

    • @theodiscusgaming3909
      @theodiscusgaming3909 3 роки тому +31

      @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 роки тому +21

      :wq is for masochists that like typing too much, use ZZ

    • @groos3449
      @groos3449 3 роки тому +7

      @@igorswies5913 I use ZZ to save, ZX to save and quit and ZC to quit without saving

  • @bustercasey3806
    @bustercasey3806 3 роки тому +1114

    Nothing beats a good old pencil and some paper.

    • @pazu_513
      @pazu_513 3 роки тому +272

      Bloat. Just use your own blood and draw with your finger

    • @SimGunther
      @SimGunther 3 роки тому +38

      Best debugger around: a spreadsheet on accounting/engineering paper

    •  3 роки тому +1

      No

    • @pardal_bs
      @pardal_bs 3 роки тому +6

      Except, you know, fire, water, bugs, etc…

    • @uzefulvideos3440
      @uzefulvideos3440 3 роки тому +17

      Scissor beats paper

  • @Ultrajamz
    @Ultrajamz 3 роки тому +564

    The chad answer is typically: Whichever is already installed

  • @Calajese
    @Calajese 3 роки тому +541

    I can't exit both so there isn't really any change for me

    • @NeveJay
      @NeveJay 3 роки тому +32

      :wqa!

    • @Calajese
      @Calajese 3 роки тому +34

      @@NeveJay ZZ > ...

    • @MentalOutlaw
      @MentalOutlaw  3 роки тому +522

      just unplug computer

    • @bobbob2658
      @bobbob2658 3 роки тому +62

      buy a new computer entirely

    • @betabenja
      @betabenja 3 роки тому +86

      @@MentalOutlaw and wait for battery to run down. only 3 days to quit vim on my old laptop. I get faster every day.

  • @its-amemegatron.9521
    @its-amemegatron.9521 3 роки тому +247

    But for real.
    Vim has the superior logo

  • @helkindown
    @helkindown 3 роки тому +352

    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 роки тому +48

      >I use an AZERTY keyboard
      Um I'm thinking based

    • @felipej.oribeiro6700
      @felipej.oribeiro6700 3 роки тому +14

      Yes! This is a must for Portuguese speakers. And the alt key functions are a good reason too.

    • @neeko319
      @neeko319 3 роки тому +12

      @@felipej.oribeiro6700 Belgium uses Azerty aswell iirc

    • @JohnDoe-bm5lp
      @JohnDoe-bm5lp 3 роки тому +4

      Try french swiss keyboard it's better

    • @Micha-ohne-el
      @Micha-ohne-el 3 роки тому +3

      Thanks! This comment was exactly the info I was looking for, wasn't expecting to find it so quickly, if at all!

  • @jtsiomb
    @jtsiomb 3 роки тому +373

    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 3 роки тому +17

      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 роки тому +9

      Full ack. Things getting "messy" defintely more a multi contributor problem.

    • @JethroYSCao
      @JethroYSCao 2 роки тому +8

      Bram merges every patch submitted by others by hand. That’s not a healthy development flow for any large project.

    • @jamesdickerson6726
      @jamesdickerson6726 2 роки тому +6

      ^ this. 100% things tend to be more efficient and uniform with one developer. Truer to it's actual vision.

    • @JethroYSCao
      @JethroYSCao 2 роки тому +6

      @@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.

  • @noideac
    @noideac 3 роки тому +425

    The virgin VIM and NeoVIM vs the chad not knowing how to do shell scripts in the first place

  • @Lmao-ke9lq
    @Lmao-ke9lq 3 роки тому +58

    Light themed github killing my eyes in 1am

    • @nissengummihone
      @nissengummihone 3 роки тому +2

      I have vim and my entire terminal in light mode

    • @nissengummihone
      @nissengummihone 3 роки тому +2

      @@weakspirit_ recently I also found out how to get tty in light mode

    • @Lmao-ke9lq
      @Lmao-ke9lq 3 роки тому +5

      you're all madmen

    • @Mersal-uj5nh
      @Mersal-uj5nh 3 роки тому

      @@Lmao-ke9lq there are some browser extensions that you can use.

  • @ex0stasis72
    @ex0stasis72 3 роки тому +119

    So, the bottom like is, if you don’t run an old computer from the 80’s, then go for Neovim.

    • @Mjs96117
      @Mjs96117 3 роки тому +31

      You misspelled "Emacs"

    • @ex0stasis72
      @ex0stasis72 3 роки тому +11

      @@Mjs96117 Good one!

    • @flexagonpark5467
      @flexagonpark5467 3 роки тому +1

      @@Mjs96117 you misspelled "Doom Emacs"

    • @comicsans1689
      @comicsans1689 3 роки тому +32

      @@Mjs96117 Sorry, I don't need an OS within my OS. I have virtual machines for that.

    • @josemembreno4996
      @josemembreno4996 3 роки тому

      @@flexagonpark5467 you misspelled “O26”

  • @franchufranchu119
    @franchufranchu119 3 роки тому +174

    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 роки тому +18

      The CIA ni.....

    • @drishalballaney
      @drishalballaney 3 роки тому +22

      nah, use just the kernel and emacs ;)

    • @nyankers
      @nyankers 3 роки тому +23

      @@drishalballaney emacs doesn't have a kernel yet? smh

    • @vodam6970
      @vodam6970 2 роки тому +4

      no need for vi, just use ed

    • @someonerandom704
      @someonerandom704 2 роки тому +26

      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.

  • @23pointblank
    @23pointblank 3 роки тому +59

    As a beginner in vim, what i am getting from this video is that i don't know enough to need neovim.

    • @yash1152
      @yash1152 3 роки тому +1

      hehe, seems so will be the case for me too

    • @rbettsx
      @rbettsx 3 роки тому +5

      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 3 роки тому +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 Рік тому +1

      ​@@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.

  • @esra_erimez
    @esra_erimez 3 роки тому +44

    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 3 роки тому +13

      '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.

  • @mihailazar2487
    @mihailazar2487 3 роки тому +41

    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 3 роки тому +9

      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 3 роки тому +1

      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 3 роки тому +3

      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 3 роки тому +1

      @@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 ?

  • @giatu1
    @giatu1 3 роки тому +109

    "Tipe q to exit" One of the biggest lies in history.

    • @chefravioli4924
      @chefravioli4924 3 роки тому +20

      You type ':' to enter command mode, then type q and enter to exit

    • @giatu1
      @giatu1 3 роки тому +3

      @@chefravioli4924 You also need exclamation mark (!) at the end.

    • @theemacsen1518
      @theemacsen1518 3 роки тому +35

      @@giatu1 only if you don’t want to save the changes made

    • @blufudgecrispyrice8528
      @blufudgecrispyrice8528 3 роки тому +14

      it says type :q to exit.
      And who doesn't read the docs before using something?

    • @blufudgecrispyrice8528
      @blufudgecrispyrice8528 3 роки тому +2

      @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.

  • @RobBates
    @RobBates 2 роки тому +31

    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.

  • @amnottabs
    @amnottabs 3 роки тому +109

    *in a really thick Australian accent* na-no

    • @dacho707
      @dacho707 3 роки тому +12

      næ-noy

    • @eccomi21
      @eccomi21 3 роки тому +17

      Could be a dankpods reference, could be wrong.

    • @amnottabs
      @amnottabs 3 роки тому

      @@eccomi21 glad someone noticed it

    • @eccomi21
      @eccomi21 3 роки тому +3

      @@Zuudo durr dollaridooos

    • @Sharp931
      @Sharp931 3 роки тому

      Goes well with this mate

  • @AoTheMighty
    @AoTheMighty 3 роки тому +43

    Vim and Nvim are overrated, I just write on paper and scan it

  • @actually_peanuts
    @actually_peanuts 3 роки тому +17

    A demo of actual visible difference would have been nice though. 👍🏽

  • @slavko5666
    @slavko5666 3 роки тому +103

    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 роки тому +1

      i second this message

    • @Neko-kun-dp1hq
      @Neko-kun-dp1hq 3 роки тому +1

      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 роки тому +1

      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 роки тому +4

      @@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

  • @yash1152
    @yash1152 3 роки тому +6

    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.

  • @intdivisionbyzero
    @intdivisionbyzero 3 роки тому +66

    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 роки тому +12

      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 роки тому +3

      i find nano easier to use than vim

    • @jamesdickerson6726
      @jamesdickerson6726 2 роки тому +5

      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 роки тому +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 роки тому +9

      @@cdoublejj Are you trolling or are you really that proud to be unskilled using a console version of Notepad?

  • @cocorico128
    @cocorico128 Рік тому +15

    RIP Bram

    • @Vifnis
      @Vifnis 8 місяців тому

      WAHT

    • @Vifnis
      @Vifnis 8 місяців тому +2

      Bram Moolenaar, 1961 - 3 August 2023 (aged 62)... welp rip

  • @marcovirtual
    @marcovirtual 3 роки тому +73

    Great video Kenny, now do a shirtless one.

  • @k98killer
    @k98killer 2 роки тому +20

    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 Рік тому

      how? kids are not that smart.

    • @k98killer
      @k98killer Рік тому +1

      @@brissance I graduated highschool as salutatorian with an associate of arts degree. Some kids are that smart.

    • @gamer-gw9iy
      @gamer-gw9iy Рік тому +1

      ​@@k98killerAA is pretty easy bro.. Had my AA credits done by junior year HS

  • @generalmichaelconstantine4598
    @generalmichaelconstantine4598 3 роки тому +71

    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 роки тому +16

      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 Рік тому +1

      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 😭

    • @skinwalker69420
      @skinwalker69420 11 місяців тому

      @@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.

    • @skinwalker69420
      @skinwalker69420 11 місяців тому +1

      @@christopherjenkins6174 you just outed yourself as a neet

  • @jemag
    @jemag 3 роки тому +9

    Built-in LSP client and Treesitter are also 2 big differentiators for Neovim

  • @FranLMSP
    @FranLMSP 3 роки тому +3

    Kenny what do you think of SpaceVim?

  • @muha0644
    @muha0644 3 роки тому +39

    echo $x > file.foo
    there, hope that answers this question.

    • @KSPAtlas
      @KSPAtlas 3 роки тому

      cat file.foo > file.bar

  • @opiniondiscarded6650
    @opiniondiscarded6650 3 роки тому +6

    Doesn't Neovim drop some legacy terminal support? If it does, no thanks.

  • @serene-dev
    @serene-dev 2 роки тому +4

    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.

  • @HenryTitor
    @HenryTitor 2 роки тому +5

    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 2 роки тому +2

      Knowing esoteric keybindings = computer literacy
      Okay

    • @HenryTitor
      @HenryTitor 2 роки тому

      @@xtdycxtfuv9353 if you are referencing Ctrl+W+q for quit, then you are one of the computer illiterates

  • @joaopedrodeamorimpaula8965
    @joaopedrodeamorimpaula8965 3 роки тому +20

    i'm sorry but there's only ed, the standard editor.

  • @spyro3635
    @spyro3635 3 роки тому +20

    “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!!

  • @moatazfouad2317
    @moatazfouad2317 3 роки тому +2

    Weird how I had just installed both these morning and you made a video abt them 😂 , keep up the good work

  • @kemi242
    @kemi242 3 роки тому +4

    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 роки тому +3

      shit needs to be easy to use for my normie brain

    • @mytop5602
      @mytop5602 3 роки тому

      all shitty bloatware

    • @techworld3043
      @techworld3043 3 роки тому +1

      When you learn that it is fucking fast

  • @MrMaiaBang
    @MrMaiaBang 3 роки тому +1

    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

  • @youcefkel4743
    @youcefkel4743 3 роки тому +1

    it feels unique to watch ur videos man . ur channel is like a shelter that protects us from the trendy BS

  • @Samji3877
    @Samji3877 3 роки тому +1

    that really set the foundation for the two thank you - have an excellent day!

  • @larriyrnir5756
    @larriyrnir5756 3 роки тому +2

    Which Should You Use?
    emacs

  • @rugmj
    @rugmj Рік тому +10

    rip bram

  • @arnaudparan1419
    @arnaudparan1419 2 роки тому +8

    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.

  • @user-wx8my6rb1r
    @user-wx8my6rb1r 3 роки тому +19

    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 роки тому +16

      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 роки тому +4

      That's a symlink bro

  • @demolazer
    @demolazer Рік тому

    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.

  • @amadlover
    @amadlover Рік тому +2

    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.

  • @remrevo3944
    @remrevo3944 2 роки тому +5

    One big difference is that neovim natively includes a lsp-client, which is invaluable for people who write code.

    • @adissentingopinion848
      @adissentingopinion848 2 роки тому +1

      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 8 місяців тому

      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 8 місяців тому

      @@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 8 місяців тому

      @@remrevo3944 Cause most servers won't have it installed.

  • @scottmiller2591
    @scottmiller2591 2 роки тому +1

    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.

  • @MostWanted17O1
    @MostWanted17O1 3 роки тому +1

    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.

  • @maurolimaok
    @maurolimaok 8 місяців тому

    Thanks for the video.
    Knowing the commands are compatible allows me to use sites to learn these commands before go to NeoVim.

  • @nissengummihone
    @nissengummihone 3 роки тому +2

    Video on Sway when?

  • @StrangeIndeed
    @StrangeIndeed 3 роки тому +1

    I've always wondered what's the difference between the two, so thank U so the video :3

  • @gavinridley5727
    @gavinridley5727 3 роки тому +38

    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 роки тому +1

      @@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

  • @mihailazar2487
    @mihailazar2487 3 роки тому +5

    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

  • @earthling_parth
    @earthling_parth 3 роки тому +1

    Got it, installing nvim on my new Framework laptop right away :)

  • @special5934
    @special5934 3 роки тому +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 роки тому +1

      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 роки тому +2

      Personally, I've switched over from GIMP to Krita, and haven't looked back.

  • @phlynniii
    @phlynniii Рік тому

    Well, thank you for bringing some things up... Last 20 years vim now Neovim. Thank you from me here...

  • @ttheno1
    @ttheno1 3 роки тому +6

    "My text editor has 'neo' in it, so I'm a hacker now!"

    • @ricardocesar8883
      @ricardocesar8883 3 роки тому +1

      Nice profile pic, i love Omori!

    • @ttheno1
      @ttheno1 3 роки тому

      @@ricardocesar8883 thanks, also same (lel)

  • @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

  • @pavelnovak4888
    @pavelnovak4888 3 роки тому +4

    Neovim doesnt really work with non qwertz keyboards and AltGr

    • @giatu1
      @giatu1 3 роки тому +3

      That's good to know. I use Dvorak.

    • @giatu1
      @giatu1 3 роки тому +2

      I think you mean "Neovim" btw

    • @pavelnovak4888
      @pavelnovak4888 3 роки тому +2

      @@giatu1 yes I made a typo

  • @lifebarier
    @lifebarier 3 роки тому +2

    Which one is more immune to CoC?
    Also, vim/nvim VS kak/kakoune ?

  • @haziqsembilanlima
    @haziqsembilanlima 3 роки тому +4

    Vim logo seems to be inspired by Megaman X for some reason. NeoVim kinda looks like Android N logo

  • @knghtbrd
    @knghtbrd 2 роки тому +5

    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 Рік тому +1

      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

  • @licokr
    @licokr 8 місяців тому

    Thanks a lot! it's so informative!

  • @1998goodboy
    @1998goodboy 3 роки тому

    since when are u using a floating wm?

  • @leilei8772
    @leilei8772 3 роки тому +4

    You can run neovim in Vscode. That made me switch.

  • @Ultrajamz
    @Ultrajamz 3 роки тому +6

    N vim?.... 🤔

  • @almasabdrazak5089
    @almasabdrazak5089 3 роки тому +34

    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 роки тому +1

      @@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 роки тому +2

      @@OggerFN I didn't.

    • @OggerFN
      @OggerFN 3 роки тому +1

      @@ishanagarwal475
      Good for you then.
      I will wait until they declare a version stable

  • @_grzehotnik
    @_grzehotnik 3 роки тому +1

    Which should you choose?
    VS Code

  • @kashantariq9987
    @kashantariq9987 3 роки тому +19

    Thought you were a "vim elitist."

  • @bsatyam
    @bsatyam 3 роки тому +1

    I was literally thinking about this when I recently starting using LARBS and you upload a video on it.

    • @kevyyar
      @kevyyar 3 роки тому +1

      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 роки тому +2

      @@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.

  • @Ramdas_Devadiga
    @Ramdas_Devadiga 3 роки тому

    Guys, any recommendation for learning Vim?
    Books, blogs, videos? Anything.
    Many thanks.

  • @Rami-L
    @Rami-L 3 роки тому +8

    “Spaghetti code”
    Vim is bloat??

    • @bsatyam
      @bsatyam 3 роки тому +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.

  • @limitless1692
    @limitless1692 2 роки тому +1

    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 :)

  • @siwiecministro1994
    @siwiecministro1994 3 роки тому +2

    @8:12 There is so much competition between free software products, that none of the graphical environments offers non-overlay scrollbars anymore... ;>

  • @nicholascureton933
    @nicholascureton933 3 роки тому +3

    I use vim. It's already installed in most server.

  • @christoesh8901
    @christoesh8901 8 місяців тому

    Can you ssh into a remote system and run neovim to edit a file?

  • @raymondwright
    @raymondwright 2 роки тому +1

    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.

  • @flleaf
    @flleaf 3 роки тому +3

    8:15 competition for free products? this could scare capitalists to death!

  • @imagreatguy1250
    @imagreatguy1250 3 роки тому

    ... so how do I exit?

  • @benocxx7906
    @benocxx7906 3 роки тому

    I really like your videos! :)

  • @nelsonrobertomiranda7329
    @nelsonrobertomiranda7329 3 роки тому +1

    what about nano?

    • @slayeeerrr
      @slayeeerrr 3 роки тому

      It is well-made for basic text editing.

    • @mudi2000a
      @mudi2000a 3 роки тому

      nano is a non-usable abomination

  • @Maldito011316
    @Maldito011316 Рік тому

    I switched from gvim to neovim because I couldn't pipe text to it from the stdin.

  • @hikingpete
    @hikingpete 3 роки тому +2

    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.

  • @TheJackal917
    @TheJackal917 2 роки тому +1

    3:20 - don't go that road, man.

  • @NPDGX
    @NPDGX 3 роки тому +1

    Am I allowed to like gvim? I really like gvim.

    • @atimholt
      @atimholt 3 роки тому

      One difference between NeoVim and Vim is particular care and decouplings to allow it to be embedded in 3rd-party clients. I tend to use it on the command line, but the Windows pre-builds on the website (at least) come with an executable called nvim-qt.exe. It's not as nice as Gvim (love me some “wiggly” underlining for spelling & syntax mistakes), but it's only one client, meant as minimal. NeoVim makes it possible for *other* development environments to embed *real* (Neo)Vim instead of having to clumsily re-implement a tiny subset of features for users who prefer Vi-style editing.

  • @Defal_
    @Defal_ 3 роки тому +2

    Good morning, evening, night or Afternoon y'all

  • @ashrasmun1
    @ashrasmun1 3 роки тому +3

    The thing that I hate so far is that I cannot replicate really easy functionality in NeoVim that's present in Vim, for example --remote-silent. No, I'm not going to download a linux-only extension because I'm on Windows... Such things just make me afraid of using new tools, because they omit such simple things...

  • @kc1087
    @kc1087 3 роки тому +10

    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 роки тому +1

      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.

  • @lusun5784
    @lusun5784 5 місяців тому

    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.

  • @1ycx
    @1ycx 3 роки тому

    What about onivim2 ?

  • @AnkitJosh
    @AnkitJosh 3 роки тому

    This didn't mention a lot of differences at all

  • @medienkonsument4
    @medienkonsument4 3 роки тому

    Nice video, thanks! I never knew vim basically is a one man show. Just ran apt-get install neovim ;)

  • @AndiKod
    @AndiKod Рік тому

    If you are just learning vim motions and can't keep your hands on the homerow ...chances are that you just want an editor and find the trend around Vim/Neovim interesting. If that's the case, it frankly doesn't matter witch one you chose if you just want to learn and edit more code than configuration files. Just have fun at editing, and you'll find out later.

  • @pjf
    @pjf 3 роки тому +5

    I prefer to use nano :D

  • @agaga5886
    @agaga5886 3 роки тому +2

    I use PaleoVim

  • @Don_XII
    @Don_XII 3 роки тому

    Great video thanks!

  • @ProfessorSlimezz
    @ProfessorSlimezz 2 роки тому

    I got stuck in vim, when I first started with linux and I never went back.

  • @mike94560
    @mike94560 Рік тому +1

    Bram passed away in Aug 2023.

  • @seanwieland9763
    @seanwieland9763 3 роки тому +1

    Church of EMACS for life!