Vim vs Emacs | Prime Reacts

Поделиться
HTML-код
  • Опубликовано: 30 ноя 2024

Комментарии • 419

  • @oscarhagman8247
    @oscarhagman8247 Год назад +469

    the gandalf image is real, it was taken off scene when Ian was just checking his computer while still in his costume

    • @ThePrimeTimeagen
      @ThePrimeTimeagen  Год назад +167

      i love this

    • @gandalf1783
      @gandalf1783 Год назад +17

      Yep, I had to check my mails real quick...

    • @Endelin
      @Endelin Год назад +10

      I was thinking no way that macbook was out when they made LOTR, but then I remembered Gandalf was in the Hobbit movies too...

    • @joshuatye1027
      @joshuatye1027 Год назад +3

      @@Endelin dude that was dumbledore

    • @Endelin
      @Endelin Год назад +5

      @@joshuatye1027 You're right. I'm the Dumblemore.

  • @farqueueman
    @farqueueman Год назад +430

    I use VimMacs... to quit I type: SHIFT+ZQ+C-x C-c... which is the opposite of BLAZINGLY FAST! ♥

    • @xpusostomos
      @xpusostomos Год назад +28

      One does not exit Emacs until there is a power failure

    • @Dharmic_developer
      @Dharmic_developer 11 месяцев назад +2

      ​@@xpusostomos😂

  • @pbnjdev
    @pbnjdev Год назад +41

    As an experienced vim user, I prefer the integrated terminal (:terminal) over shelling out (:!) for most use-cases for 2 main reasons:
    1. doesn't block vim like `:!cmd` does (I know I can start a split tmux pane or new terminal window to run commands, but this leads to #2)
    2. it allows me to take advantage of Vim's built-in completion suggestion engine (insert mode ) to complete a word from another (integrated terminal) buffer.
    So, I would run tests/linters/compilers via file watchers, or any arbitrary command in a split terminal buffer and get all the completion goodness I come to expect from Vim. This gets me to about 80-90% of my needs for an LSP without the downsides of LSPs.

    • @callyral
      @callyral Год назад +5

      i just use a separate terminal window

    • @cookster69
      @cookster69 4 месяца назад

      ​@@callyralyeah this is definitely the way.

    • @chri-k
      @chri-k 4 месяца назад

      the vim integrated terminal itsn't a very good terminal though

  • @ryandls2592
    @ryandls2592 Год назад +58

    Emacs with vim keybindings is the real way to go. I can have the same keybings to navigate the terminal, my text editor, my PDFs, my notes, and my to do list. They are all in the same window and i can hide them without having to close and reopen a whole bunch of applications.

    • @xpusostomos
      @xpusostomos Год назад +4

      How would you not get that with Emacs bindings?

    • @DestopLine
      @DestopLine 6 месяцев назад +5

      That sounds like a tiling window manager with extra steps

    • @CaptTerrific
      @CaptTerrific 2 дня назад

      ​@@DestopLine but elisp is so much nicer than bash scripting everything

    • @DestopLine
      @DestopLine 2 дня назад

      @@CaptTerrific What are you bash scripting with a tiling window manager?

    • @CaptTerrific
      @CaptTerrific 2 дня назад

      @@DestopLine Me? Nothing :) However if I wanted to mimic some of the most ludicrous Emacs workflows I've seen, it would require a ton of scripting. Me, I don't even use tmux - I strictly use i3 and put everything in its own terminal :D (I am not a smart man)

  • @kenneth_mata
    @kenneth_mata Год назад +47

    There are terminal alternatives for many of the GUI options (not different font sizes or images or doom) but plenty of the other options are covered, if you are jumping on a server remotely, you can do that using emacs built-in tramp so that you can use your configured editor.

  • @Toradoshi12
    @Toradoshi12 Год назад +247

    I had a professor in college that lost a hand in a logging accident. He's an avid emacs evangelist for the sole reason he can still write code fast one handed.

    • @mattmurphy7030
      @mattmurphy7030 Год назад +72

      The idea of writing code one handed gives me a huge amount of anxiety

    • @wkingston1248
      @wkingston1248 Год назад +122

      Another log4j victim rip.

    • @gagagero
      @gagagero Год назад +11

      I've also heard glowing reviews about Emacspeak being the only good way to use Linux when blind.

    • @Oziq
      @Oziq Год назад +1

      ​@@wkingston1248😂😂😂😂

    • @uuu12343
      @uuu12343 Год назад +8

      How the fuck does he perform emacs operations with just one hand
      I cant imagine the emacs pinky (+ index finger, thumb, ring finger, middle finger)

  • @DeusinMachina
    @DeusinMachina Год назад +49

    I'm an Emacs User but I understand the appeal of Vim. There is no question that Elisp is a better language than Vimscript, but with Neovim's switch to Lua, I think that argument is no longer cut and dry. Vim is definitely still snappier than Emacs, but Emacs is still lightning fast compared to today's software. And with Elisp being compiled in version 28.0 of Emacs it's even faster now. And if you run Emacs as a daemon it launches just as fast as Vim. With that being said, I really do think that Emacs is a lot more than just a text editor and using it as such is really underutilizing it. And if all's you need is to edit code it can be a bit overwhelming. But there is a certain magic to that kitchen sink mentality that it has that leads to videos like this ruclips.net/video/FtieBc3KptU/видео.html (Emacs for Writers) which is a Writer talking about their journey to discovering Emacs for their writing process.

    • @Imaltont
      @Imaltont Год назад +9

      > Elisp being compiled in version 28.0 of Emacs it's even faster now.
      And in 29 it gets even better, especially when it comes to long lines as well as treesitter making the syntax highlighting much snappier in larger files.
      > And if you run Emacs as a daemon it launches just as fast as Vim
      From my experience, it's even faster than launching vim, as there is some overhead to loading plugins in vim too.
      I do think Vim is the better experience out of the box though, as all you really need is a context aware completion engine and syntax highlighting before you're good to go with great completion and amazing navigation, and while Evil is good, it's still missing some stuff to just be a drop in replacement for using Vim but with Elisp. You can get a lot of the same experience working on and navigating stuff in Emacs as in Vim, but it requires some work and knowledge of Emacs anyway.

    • @tkg__
      @tkg__ Год назад +3

      @@Imaltont many people lazy-load their neovim plugins now using package managers like lazy.nvim these days, so less and less plugins are actually loaded on start.

    • @apestogetherstrong341
      @apestogetherstrong341 Год назад

      ​@@tkg__awesome, so vim users are finally getting the feature that was always there in emacs (autoloads), but only now, and only as plugins?

    • @ivymuncher
      @ivymuncher Год назад

      @@tkg__ adding to this point, you can now connect to neovim remotely! just have a session on at startup and wam bam waduwapam you got in instantly

    • @xpusostomos
      @xpusostomos Год назад +1

      I don't know anything about Lua, but nothing is better than lisp. As far as startup, yes it's blindly fast on today's hardware, but if you're desperate for small and fast, there's mg ... Micro Gnu Emacs.. good if you want to install one binary and get minimal Emacs on a server

  • @ColinFox
    @ColinFox 9 месяцев назад +2

    I'm a happy vim user, and got into neovim because of you Prime. What got me into neovim & plugins is watching how fast you could move around doing stuff. I've been using vim for a couple of decades, but stupidly never really got past the basic vim motions, and never did any real customization or plugins. I got into vscode, and installed vim motions, and was happy, but the constant having to grab the mouse for things was getting in the way of my flow state.
    I realized that I don't need the fancy graphics, windows or other nonsense. When I am deep in "code brain", I'm just thinking in text anyway, so watching you use the plugins and how fast you could do stuff that I could do in vs code but a lot slower got me to try the neovim way, and this is now where I live.
    So I would say to programmers that when considering another editor, watch an experienced user do their thing in that editor, and if it looks faster/more powerful/more enjoyable than yours, then consider switching.
    I have no need to switch from neovim now. Maybe something will appear in the future, but I honestly see using vim motions until I die.

    • @RREDesigns
      @RREDesigns 6 месяцев назад +1

      So you never saw Tsoding tinkering around in Emacs, I guess.

  • @BosonCollider
    @BosonCollider Год назад +68

    Helix is nice because it is very good out of the box (treesitter based commands are amazing) and runs in the command line, so it is very easy to add to a dev container or to run in any environment that you want to to access.
    The downside of it is that kakoune-style keybinds will mess with your vim muscle memory

    • @MyAmazingUsername
      @MyAmazingUsername Год назад +7

      I would not be surprised if kaklune keybinds are much better than Vim.

    • @ThePrimeTimeagen
      @ThePrimeTimeagen  Год назад +43

      they are not better than vim binds
      there are a bunch of things that are equal, few that are more efficient, more than few that are less efficient

    • @pythonBlender7
      @pythonBlender7 Год назад +1

      I started in helix and moved to neovim it was simply too clunky to me moment to moment

    • @0oShwavyo0
      @0oShwavyo0 Год назад +6

      @@MyAmazingUsername even if it would be better after getting used to it, I find it really annoying that it is the reverse of vim essentially because I am more likely to be forced to use vim at some point and then it sucks to be in the habit of doing selection -> action instead of action -> selection. I even really dig the philosophy it’s just not worth the struggle when I find myself forced to vim it up again.

    • @jesusmgw
      @jesusmgw Год назад +11

      @@MyAmazingUsername they are objectively better just because of the much better consistency. for example gg and ge vs gg and G

  • @laughingvampire7555
    @laughingvampire7555 Год назад +6

    you can embed opengl output in emacs, that is how you get Doom running in it.

  • @Beastintheomlet
    @Beastintheomlet Год назад +17

    I just came off of trying Neovim for a month. I like it but I’ve gone back to VScode simply for the Typescript error translator extension (I’m still learning Typescript) but I am using the VIM mode for VS Code now. I still use Neovim when writing Python or Rust.

    • @ThePrimeTimeagen
      @ThePrimeTimeagen  Год назад +8

      very cool. i don't know this typecript error translator biz. sounds neet though

    • @kenneth_romero
      @kenneth_romero Год назад +2

      I did the same. Tried Nvim and doom emacs. switched back to vscode with vim emulation. Might stick to Doom Emacs, i love find-file.

    • @nobody535
      @nobody535 Год назад

      ​@@ThePrimeTimeagen theo did a video on it

    • @gagagero
      @gagagero Год назад +2

      ​@@kenneth_romero I'm pretty sure find-file is just a small dired buffer.

  • @Nicolas-L-F
    @Nicolas-L-F Год назад +5

    Gandalf was just shitposting on 4chan in that image, a true wizard

  • @jangtehbo
    @jangtehbo Год назад +3

    When you were searching for the meme I kept thinking about "Silly Hats Only" but I'm glad you found the right one

  • @tkg__
    @tkg__ Год назад +9

    Some Helix keybindings are absolutely weird and inefficient, the lack of plugins is a dealbreaker for now, but I kind of dig the whole Selection -> Command thing.

    • @theycallmesloth
      @theycallmesloth Год назад +4

      Can you elaborate which keybinds you're referring to?

    • @geryz7549
      @geryz7549 7 месяцев назад

      Helix sacrifices speed for better mnemonics and being more internally consistent, e.g. gh and gl instead of 0 and $ - makes more sense, but it's more keypresses

  • @segueoyuri
    @segueoyuri 9 месяцев назад +2

    the Bill Burr energy is great lol
    Never heard of vim or emacs until yesterday (actually I had when having to edit some system file a bit ago and didn't knew how to leave - yes, true story), and realized vim does with one keystroke what I've been using the most effed up keyboard shortcuts only I seem to know computers do (like shift insert or ctrl arrow) with freaking sublime text (because dark mode in notepad++ is a nightmare)
    And there's a little dip in performance whenever you first adopt anything that'll give you a increase in performance. It's normal and expected. There's a curve.

  • @ldmnyblzs
    @ldmnyblzs Год назад +15

    I built muscle memory for Emacs keybindings, and love that a bunch of them work in Bash too. I rage quit vimtutor once however.

    • @xpusostomos
      @xpusostomos Год назад +1

      To be fair... You can change bash to vi mode

  • @jorios550
    @jorios550 Год назад +4

    I use Witchemacs because it has nice defaults, no layers and Marisa from Touhou in the splash screen.

  • @gonzajuarez4918
    @gonzajuarez4918 Год назад +2

    then there's me using and liking both. It does take a few minutes for the muscle memory to kick-in when switching

  • @duncanw9901
    @duncanw9901 Год назад +24

    Emacs 4 life
    If I need a lightweight, portable editing experience, I use ed 🗿

    • @yjlom
      @yjlom Год назад

      ?

    • @gagagero
      @gagagero Год назад +1

      ​@@yjlom Ed is the standard text editor.

    • @yjlom
      @yjlom Год назад +1

      @@gagagero missed the joke possibly?

    • @xpusostomos
      @xpusostomos Год назад

      For light weight try mg ... Micro Gnu emacs

  • @SimGunther
    @SimGunther Год назад +8

    The ultimate editor: cat + sed + semantic parsing programs + U*NIX pipelines
    That or you could just use TempleOS' text editor

    • @januszlepionko
      @januszlepionko Год назад +1

      Have you ever seen TECO?

    • @SimGunther
      @SimGunther Год назад

      ​@@januszlepionko And then there's VW (1976 Vitulli, N.) Which is just...WOW!

  • @AzerAnimations
    @AzerAnimations Год назад +26

    Emacs users rise up!

    • @romangeneral23
      @romangeneral23 Год назад +4

      Emacs is LIFE!!

    • @akojic5486
      @akojic5486 10 месяцев назад +1

      Living in Emacs is the way of life!

  • @vexsimp
    @vexsimp Год назад +7

    I love Emacs, but it absolutely SUCKS in Window$, nvim behaves miles better in Window$.

    • @gagagero
      @gagagero Год назад

      Yeah, even a "naked" Emacs takes like 3 seconds to start up in Windows while it's instant on Linux... But also, use Linux.

    • @vexsimp
      @vexsimp Год назад

      @@gagagero In my company, there is no choice, you MUST use a underpowered windows 10 machine, because they are afraid that if they are not spying on me every single second I'm working on something I'll leak the US nuclear codes.

    • @xpusostomos
      @xpusostomos Год назад

      Huh, windows Emacs is perfectly fine, what's wrong with it?

    • @therflash
      @therflash 5 месяцев назад +1

      ​@@gagageroemacs --daemon

    • @SirRichard94
      @SirRichard94 5 месяцев назад

      I used emacs all the time in my Linux laptop during college. But after college moving to windows desktop environ,ent I just couldn't use emacs there.

  • @MaxHaydenChiz
    @MaxHaydenChiz Год назад +6

    Also, going purely by speed, when do we get to see Prime try to learn how to use Plover (open source stenography software) to write code? Yes this is real and yes people do use it to type code at 300wpm.
    This is only a half-joke. If I were young and less set in my ways, the ergonomics and substantially reduced hand motion adds so much physical longevity over typing with a keyboard that that I'd invest the time to learn it. Having at least double the typing speed for the rest of my life would be a nice side benefit.

    • @Anriuko
      @Anriuko 11 месяцев назад +1

      AFAIK stenography relies on dictionaries and the operator learning what each key combination resolves to. It's probably effective and manageable for advanced English vocabulary, but I don't see the benefits in programming context with gazillion different API's with different agglutinations of compound words to describe procedures, data types etc.. I would guess that word completion and context-sensitive semantic analysis as we have it now trump whatever enhancements to text input speed you might get with stenography.

  • @logana.martinez770
    @logana.martinez770 Месяц назад

    One don't "" from 'i' mode one "jj"s from it.

  • @luisvictoria
    @luisvictoria Год назад +8

    Why did you switch from Doom Emacs back to Vim? I just started using it about a week ago and I’m really liking Magit and org mode.
    What’s better about Neovim that made you switch back? For me, Vim was all about its keybindings and Doom Emacs has that so I don’t know what I’m missing.

  • @Dev-HK
    @Dev-HK Год назад +3

    also a question @ThePrimeTime, for someone learning the web do you recommend learning things as if it's in the 00's and like trying to figure out each layer from application to network and what's happening under the hood

    • @chindianajones3742
      @chindianajones3742 11 месяцев назад +2

      Learning the basics of the OSI model and the TCP/IP model is invaluable knowledge. However, for web developers, all knowledge below the application layer (in tcp/ip model) or below the session layer (in osi model) is somewhat useless. The details of the physical/link layer, the network layer, and the transport layer are much more important for network engineers and IT operations professionals to master. This is one of the beautiful things about modern computer networking -- its modularity and abstraction (TCP needs no knowledge of Http to work). That said, the more you learn about web technologies the more you will understand about networking as a whole, by virtue of proximal technologies, so dont worry about the networking stuff too much, you will pick it up as you learn.

  • @NotTheHeroStudios
    @NotTheHeroStudios Год назад +3

    That Nautro meme makes me really wanna pick up VIM again

  • @justinhale5693
    @justinhale5693 6 месяцев назад +1

    What are you optimizing for?
    LISP is superior in syntax. Why else did Vim need an entire re-write? Vim prevails because of simple-minded reasons: it's a common default editor, the mistaken belief that h, j, k, l were designed for ergonomics, the idea that users should conform to an editor rather than configure it to the user's needs, etc.
    Just use -q to make a quick one-off edit, use a vim-mode if you want or god-mode. Emacs is more capable and that isn't a bad thing.
    Magit and org-mode should be reason enough.

  • @rajahaseeb8418
    @rajahaseeb8418 Год назад +1

    Paragraph jump is one ‘{‘, not two.
    It actually jumps to the next blank line.

  • @Darksvnn78
    @Darksvnn78 Год назад +4

    I honestly just use vim cause I have more fun coding with it and can take the hand off the keyboard less often. I don't think it increases my productivity that much

  • @PixelOutlaw
    @PixelOutlaw Год назад +2

    It's called Doom Emacs because you're Doomed to keep getting the wrong answers when asking for help with your hipster variant.

  • @catcatcatcatcatcatcatcatcatca
    @catcatcatcatcatcatcatcatcatca Год назад +3

    I can literally run two different instances of neovim with two different terminal emulators inside my emacs. I can even run emacs inside emacs and in that emacs change my config values so I can lanch an instance of TUI-emacs.
    Why would anyone want something simple and elegant instead of spending their days configuring emacs?

  • @weidiocrow
    @weidiocrow 11 месяцев назад +2

    6:43 The emacs pinky meme hurts me on a ideological level. You're in a highly configurable editor and for YEARS somehow people didn't think to change their key binds to exclude key chords or rebind their keys so that ctrl was something more ergonomic like caps lock(who uses caps lock anyway?).

    • @HobbitJack1
      @HobbitJack1 4 месяца назад +1

      Maybe it's just the keyboard on my laptop, or maybe it's how I type, but I don't get any finger strain from using Ctrl and Alt all the time.

  • @michalbotor
    @michalbotor Год назад +1

    how ide users debug their code: breakpoints, debug window, variable window, step over/into/out, pause/resume/restart
    how vim users debug their code: grep

  • @DaveBath
    @DaveBath Год назад +3

    If you move desks, ESPECIALLY if you move sites day by day, and ESPECIALLY ESPECIALLY if you need to visit sites that do not let you put any of your media near their machines or pull your files across the internet, then you can't have your emacs config with you. When you are called in to a site and you have half a day to get a job done ... are you going to use a vanilla emacs where all your muscle memory for your personalized emacs setup is not with you? Nope. So it's vi.
    Now, if you are stuck in a corner on the same physical keyboard, with the same $HOME, and you are going to stay there forever, then fiiiiiiiiiiine, go emacs to your hearts content - have some alt-control-meta-bucky-f5-shift-C macro that microwaves your pizza and walks your dog.

    • @xpusostomos
      @xpusostomos Год назад

      I don't get how you could customise Emacs so heavily that your muscle memory is useless with plain Emacs. Also, even in a locked environment you can usually email yourself a configuration file

  • @carriagereturned3974
    @carriagereturned3974 Год назад +3

    evilmode in spacemacs/doomemacs - war is over

  • @kukuc96
    @kukuc96 3 месяца назад

    I have seen 1 emacs user in my life. He was presenting at a Rust talk. He recompiled the Linux kernel on stage too. This is not a joke.

  • @T0m1s
    @T0m1s Год назад +5

    It's not just emacs users who customize their config file 10 times a day, that ritual is also performed by vim users. It starts with "who needs an IDE? I'll just use Vim", followed by "I'll just add a plugin to do X, Y, Z", followed by "my config file is 20k lines long", and in the end you have ... an IDE, but worse, because the plugins don't match the quality of a professional IDE. But at least you can hjkl or something.

    • @GreyDeathVaccine
      @GreyDeathVaccine Год назад

      And who is responsible for adding that crappy plugins? 🙂

    • @T0m1s
      @T0m1s Год назад +1

      ​@@GreyDeathVaccine the person who said they don't need an IDE and then proceeded to build a crappy IDE out of vim.

    • @tuananhdo1870
      @tuananhdo1870 13 дней назад

      Who need vim I will install vim emulation on ide. But you end up with an Vim but worse. But at least you have an IDE

  • @AndersJackson
    @AndersJackson 6 месяцев назад +1

    Vim is just a "graphical" layer on top of ed(1). You should go for that. Emacs used the modern use way to use the Ctrl key and ESC key. While vi(1) (and vim etc) are just change between states that you have to remember.
    You should look at willy(1). That is actually expanding with whatever language you want to code in.

  • @ducksies
    @ducksies Год назад +6

    Richard Stallman actually uses Emacs in the TTY, and he only opens a graphical environment when he wants to use something graphical-only.

    • @xpusostomos
      @xpusostomos Год назад +5

      That's pretty nuts, even for Stallman

    • @ducksies
      @ducksies Год назад

      @@xpusostomos I was surprised too lol

    • @HobbitJack1
      @HobbitJack1 4 месяца назад

      I like Emacs in the tty actually.

  • @mrraptorious8090
    @mrraptorious8090 Год назад +7

    I switched to vim motions about 5 days ago and it's so damn fun. Even now it just feels faster. thanks prime!

    • @ghosthunter0950
      @ghosthunter0950 Год назад +3

      The only issue is that now that I know speed reaching for the mouse fills me with anguish.

    • @kenneth_romero
      @kenneth_romero Год назад +1

      @@ghosthunter0950 i feel this whenever i have to use a gui file system from time to time for certain stuff

  • @noxdraconis3310
    @noxdraconis3310 5 месяцев назад +1

    I just realized that vim was that damn text editor that I had to turn the computer off to exit when I first tried to run linux.

  • @MaxHaydenChiz
    @MaxHaydenChiz Год назад +6

    Once upon a time, I was big into the whole Vim supremacy thing (having tried both it and Emacs). But then I installed Plan 9, learned structural regular expressions and mouse chording, and fell in love with Acme. Sadly, none of those discoveries and innovations made it into any modern-day editor. Vis is a terminal-based clone of Sam, but it doesn't have LSP support and all the rest of the things you'd need. VS Code, customizable though it may be, doesn't have hooks to support this stuff either. But I can speak from experience and say that a mouse can speed things up *if* the mouse commands are designed as thoroughly and thoughtfully as the Vim motions.
    Someone someday will probably rediscover Acme and make a cool modern thing inspired by it. Until then, I mostly use whatever the most popular set of tools are for the ecosystem I'm working in. But I'm holding out hope that Kakuone or Helix will get to the point where it'll be worth changing my muscle memory away from Vim bindings.

    • @KManAbout
      @KManAbout 6 месяцев назад +1

      Emacs has hyperbole so yeah acme stuff is totally a thing in emacs.

  • @DaveBath
    @DaveBath Год назад +1

    The old vi v emacs wars .... I was there Gandalf ... when we'd say emacs was a self-referential acronym for "emacs makes all computers slow" because it was "eight megabytes and constantly swapping". (back when 16 megabytes ram was a machine a small dev team would drool over). I felt perfectly ok slagging off emacs as I was an emacs user before meeting vi. There were actually commercial systems that came with emacs as the only editor (apart from line editors).
    Now, let's see how you folk go trying to use ed (or even ex, even ex with a decent .exinit file) for a couple of hours. If you know vi, you know ex ... kinda.

    • @xpusostomos
      @xpusostomos Год назад

      At my first job sometimes the boss would drop in and do some hacking on my terminal to help out or prove something, and he'd always use ed. That was quite the experience.

  • @chrisE815
    @chrisE815 Год назад +2

    The joke should be: Emacs is like a complete operating system but... it's just missing a kernel... Sorry Richard :(

  • @gamerboy4566
    @gamerboy4566 9 месяцев назад

    Other than vim/neovim keybindings, I am yet to get past the initial hurdle of mastering package management, and buffer switching in neovim. I just don't quite understand the configuration file structure there like I do in emacs. I find package management so much easier in emacs. For little edits I always fire up vim but for anything requiring multiple file edits, I always end up using my trusty emacsclient.

  • @centdemeern1
    @centdemeern1 Год назад +6

    11:44 screw you, I like Helix.

    • @ThePrimeTimeagen
      @ThePrimeTimeagen  Год назад +2

      Deez...

    • @centdemeern1
      @centdemeern1 Год назад +3

      @@ThePrimeTimeagen Your point was that one should try all of them, and I did! And I like Helix.
      Uh… deez nuts!

  • @alpheusmadsen8485
    @alpheusmadsen8485 Год назад +1

    Ok, you piqued my curiosity: what is Helix? I just googled it, and while I might not try it any time soon, I am at least amused that it's related to Vim.

  • @manoelnt0
    @manoelnt0 Год назад +5

    Indeed it's love a flame war. Just use emacs.

  • @SeanCallahan52
    @SeanCallahan52 Год назад +2

    And micro enters the chat

  • @waltherstolzing9719
    @waltherstolzing9719 Год назад +12

    The 'other side’s inconveniences/difficulties/bad design' cited by the opposing factions in these 'wars' are as convincing as those black&white 'before' segments in infomercials.
    Learn the proper *idiomatic* usage patterns for your editor, and you'll discover why those patterns have persisted ~40 years in their respective families. There's always room for improvement, of course; but no one's going to find a GOTCHA! moment that will settle once and for all, that one editor's design is inferior to the other's.
    (& it's all the more ridiculous when beginners claim to find those 'gotcha's.)

    • @xpusostomos
      @xpusostomos Год назад

      Eliza ! Gotcha!

    • @waltherstolzing9719
      @waltherstolzing9719 Год назад

      @@xpusostomos Touché... vim's built-in psychotherapist is better in every conceivable way.

  • @michaelplaczek9385
    @michaelplaczek9385 7 месяцев назад +2

    Church of Emacs or Cult of Vim

  • @FrankGarcia-m7w
    @FrankGarcia-m7w День назад

    Can someone explain the sentiment at 14:00? He basically says that NetBeans and intelliJ stifled his learning because he would just press the debug or run and not know how things works, but the video is about vim and emacs, so how would these editors make someone understand "how stuff works"?"

    • @FrankGarcia-m7w
      @FrankGarcia-m7w День назад

      He also says he wishes he could've been faster at learning how things work, how can one accelerate their learning of "how things work"?

  • @MeriaDuck
    @MeriaDuck Год назад +2

    I cannot edit source code without vim like bindings or plugins anymore.
    In the nineties Emacs at my university was known as Eating Megabytes And Constantly Swapping 🤣

    • @xpusostomos
      @xpusostomos Год назад +1

      In the days when megabytes mattered. Now they don't.

  • @happsie1936
    @happsie1936 Год назад +5

    Just a question out of curiosity. Why not to use terminal emulators inside ide?

    • @gagagero
      @gagagero Год назад +6

      If I had to guess, it's "something something Unix philosophy something something".

    • @0oShwavyo0
      @0oShwavyo0 Год назад +1

      It’s not about fast terminal access, it’s because the IDE is slow. I don’t want to wait sometimes literally 1min+ for my project to load

    • @gagagero
      @gagagero Год назад

      @@0oShwavyo0 A GUI really doesn't slow anything down.

    • @0oShwavyo0
      @0oShwavyo0 Год назад

      @@gagagero I didn’t say it was cause of the GUI. I am comparing RubyMine to EMacs, so both are GUI apps but eMacs loads new projects much faster. Not saying there’s no reason for that, RubyMine definitely offers more features, but I find that what eMacs with LSP can do is more than enough for me and I don’t have to pay the extra loading time cost, so I can actually feel comfortable to close out of my project every now and again instead of dreading loading it up again lol

    • @xpusostomos
      @xpusostomos Год назад

      The ide is aiming to help you avoid the terminal

  • @BraxtonMeyer
    @BraxtonMeyer Год назад +1

    Always funny that people think emacs doesn't fit the unix philosophy when it does perfectly. it's simply an elisp interpreter, all the "editor" and "Operating System" that has cropped up around it are merely incidental.

    • @xpusostomos
      @xpusostomos Год назад

      It more fits the lisp machine philosophy, which is actually a better philosophy. The Unix philosophy of connecting everything with pipes and text files actually kinda sucks when you think about it.

  • @ludangupta8505
    @ludangupta8505 Год назад +2

    3:45 devaslife...? who is it

  • @xpusostomos
    @xpusostomos Год назад +1

    The age old battle is VI (pronounced vee eye) vs Emacs. If you have to resort to vim or neovim in the battle you've already lost.

  • @n000d13s
    @n000d13s Год назад +4

    That kakashi meme is too funny. Prime is too old yo get it.

  • @Codigger-br2rt
    @Codigger-br2rt 8 месяцев назад

    In terms of productivity and editing speed, which is faster, Vim or Emacs?

  • @happyfase
    @happyfase Год назад +4

    I learned rust and neovim by working through the zero2prod book. I typed out every code snippet and by the fifth chapter I was moving in neovim faster than vscode.
    zero2prod was particularly good for exercising vim motions because throughout the book you revisit the same code snippets several times as you enhance and optimise the code base.

  • @EICDarkOrbitEIC
    @EICDarkOrbitEIC Год назад

    4:13 "redrawtime exceeded, syntax highlighting disabled"

  • @laughingvampire7555
    @laughingvampire7555 Год назад

    good take, people with hyperactivity feel great using vim speed, but they make so many mistakes do to the speed that they waste more time fixing all the mistakes because of it.

  • @DF-ss5ep
    @DF-ss5ep Год назад +1

    I've been trying to get into emacs but the keybindings are insane

    • @jorios550
      @jorios550 Год назад

      You can use "evil" keybindings, and have all your vi/vim keys

    • @DF-ss5ep
      @DF-ss5ep Год назад +2

      @@jorios550 I know that exists, then there's also Doom Emacs, and right now I'm trying something called meow, which is vim-like but not quite. I have 3 problems right now: the defaults are inferior to vim; some of the extensions seem to "leak" default bindings; the amount of choices and configuration is overwhelming 😅. To some degree, I'm even a proponent of keeping some of the defaults, as they prob fit better to the emacs environment. Emacs seems cool, I don't want to diss it, but making the transition is not trivial

    • @gagagero
      @gagagero Год назад +1

      You can either try viper-mode, which is a Vi (not Vim!) emulation layer that also forces you to learn the Emacs keybindings with time, or god-mode that keeps all the default keybindings but modalifies them.

    • @xpusostomos
      @xpusostomos Год назад

      Insane how, Padawan?

  • @kasperchristensen8416
    @kasperchristensen8416 Месяц назад

    Me: "Should I try this [Neo]Vim editor?"
    Searches RUclips and finds a video called "Tutorial on how to exit Vim"
    Me: "Nah ..."

  • @EnderMega
    @EnderMega Год назад +1

    1:10 The person who comment J-ASS, lmao.

  • @orenelbaum1487
    @orenelbaum1487 Год назад +1

    Why would I take months to try vim and emacs, in 2 years i'm just going to think code into existence

    • @xpusostomos
      @xpusostomos Год назад +1

      You tried the Emacs brain interface extension?

  • @kelvinpina3392
    @kelvinpina3392 Месяц назад

    Richard stallman wrote two operating systems

  • @agungokill
    @agungokill Год назад

    it is real when gandalf read the hp script. because director didnt print it.

  • @mage3690
    @mage3690 Год назад

    So I just started using vim like 2 weeks ago. One, I haven't felt like I was stumbling around since like day 3 or so, and two, WHERE HAS THAT CREAT SHEET AT 4:43 BEEN ALL THIS TIME I COULD'VE REALLY USED THAT SHIT.

  • @methanbreather
    @methanbreather 7 месяцев назад

    I have edited borked configs on half dead systems with just cat and sed.
    Because the alternative would have been vi(m).

  • @Plexdet
    @Plexdet 10 месяцев назад

    I learned python using terminal emacs while ssh’d into a university computer, in 2018…

  • @MasterSergius
    @MasterSergius Год назад

    Epic battle, greater than Avengers vs Thanos

  • @barbaneigro
    @barbaneigro Год назад +2

    Any editor that does not require a mouse is fine for me. That said, I hate browsers. Vimium make it less painfull, tho.

    • @tuananhdo1870
      @tuananhdo1870 13 дней назад

      You can use cs code without a mouse

  • @coffeehousephilosopher7936
    @coffeehousephilosopher7936 Год назад

    If working with a company I rather use vim , if for my own projects either one is fine with me. I like terminal based tools and if I wanted to do other things then emacs would be put into consideration.

  • @olaniyanayodele5986
    @olaniyanayodele5986 Год назад

    What's your distro primeagen?

  • @cmelgarejo
    @cmelgarejo Год назад +4

    @ThePrimeTimeagen ToTK is the emcas of the Zelda games

    • @ThePrimeTimeagen
      @ThePrimeTimeagen  Год назад +1

      ohhhhhhhh hbabe, i want that

    • @0oShwavyo0
      @0oShwavyo0 Год назад

      What does this even mean lmao

    • @samgould8567
      @samgould8567 Год назад +1

      That is soooo incredibly true. You are maybe the only other person in the entire world say what I’ve been thinking.

    • @cmelgarejo
      @cmelgarejo Год назад

      @@0oShwavyo0 you can build many things with the ultra hand system, thats why

  • @defnlife1683
    @defnlife1683 Год назад +5

    I live in Vim, I have Doom Emacs (with native compilation) installed. I just like the speed of vim.
    Sometimes I jump into emacs to work on things. Some plugins are fun.

    • @exnihilonihilfit6316
      @exnihilonihilfit6316 Год назад

      dabbling in everything, expert in nothing. classic.

    • @defnlife1683
      @defnlife1683 Год назад

      @@exnihilonihilfit6316 what a sad comment. Shows people can’t even read these days.

    • @tuananhdo1870
      @tuananhdo1870 13 дней назад

      @@exnihilonihilfit6316you can be expert at eating walking breathing no problems. There no rules tell that you can expert only one thing

  • @thunderbird3850
    @thunderbird3850 Год назад +1

    This video is right on time for me. I have been using doom emacs for 2 years now and it was great up until I ran into problems with the LSP integration. It just wouldn't work and make emacs hang all the time. I finally decided to try neovim and it works great. Still have some issues with the LSP in neovim as well but its fast enough to reload it so not much of a hassell. But I do miss some emacs features like org-mode and magit.

  • @dtg5790
    @dtg5790 Год назад +5

    I've been using Emacs for almost as long as I've been a programmer, but in the past year I've made a concerted effort to learn modal editing with Vim and I now understand the reason for the Vim evangelism expressed here and elsewhere. While I still prefer Emacs overall (I cannot give up on Org mode, Info mode, and my beloved Elisp) I am now using Evil as my daily driver and really do feel like I have the best of both worlds. Also, with respect to terminal emulators in the editor environment -- Emacs terminal emulation using `vterm` is decent bit but I still prefer using tmux with Emacs-nox for more complicated, terminal centric dev work flows. I do have a soft-spot for eshell, though :)

  • @m4rt_
    @m4rt_ Год назад

    The Gandalf image is as old as at least 2014

  • @Dev-HK
    @Dev-HK Год назад +1

    I do use terminal in nvim
    :20 hsplit
    :terminal
    :)

  • @androth1502
    @androth1502 Год назад +1

    you can't advocate for a super-keyboard while complaining about emacs finger mashing.
    i don't have a super-keyboard, but i do pick my keyboards where i can hit the control key with the palm of my hands. pretty much erases the emacs finger strain.

  • @hashomi0596
    @hashomi0596 Год назад +1

    You couldnt tell the voice is generated? oh no

  • @JohnWasinger
    @JohnWasinger Год назад +1

    Eight Megabytes
    And Constantly Swapping

  • @DMWatchesYoutube
    @DMWatchesYoutube Год назад

    I use nvim because i have a few tty laptops and i don't want to have gui on them. Emacs is great but i can't be bothered to configure it and if i need to make changes and something goes wrong it pretty much crashes back to defaults, that suck unless i wrap everything with error catching.

    • @xpusostomos
      @xpusostomos Год назад

      Why would you have to configure it if you don't want to?

  • @xravenx24fe
    @xravenx24fe Год назад +11

    This war has been solved forever, Emacs+Evil is the way and the truth. I will say that Vim has a better term emulator for some reason, but using a whole buffer inside your editor for a term is kinda annoying anyway so who cares.

    • @xpusostomos
      @xpusostomos Год назад

      What can be better than copying text from a buffer to your shell? Of course in this age you can do it via the gui clipboard but not as powerfully

    • @Anriuko
      @Anriuko 11 месяцев назад

      Using "a whole buffer" is not a problem, but I bet you meant a window. Even then, instead of splitting a window you could spawn a new frame for the terminal, in which case you can task switch it in your WM/desktop and still enjoy the benefits of having it inside Emacs where it's accessible as just another text buffer manipulatable with Emacs Lisp.

  • @luserdroog
    @luserdroog Год назад

    (require 'evil) (evil-mode 1) (setq evil-ex-search-case 'sensitive)

  • @whig01
    @whig01 Год назад +2

    I miss QEdit with the WordStar bindings.

    • @MichaelPohoreski
      @MichaelPohoreski Год назад +1

      QEdit + 4Dos + Norton Utilities were the golden days of MS-DOS.

    • @whig01
      @whig01 Год назад

      @@MichaelPohoreski It's like editors today are slower even on the modern machines.

    • @MichaelPohoreski
      @MichaelPohoreski Год назад

      @@whig01 Sadly, yes. Thankfully Vim is still fast.

    • @whig01
      @whig01 Год назад

      @@MichaelPohoreski It doesn't feel as fast without the WordStar bindings.

  • @TheRealWinsletFan
    @TheRealWinsletFan 7 месяцев назад

    I can't believe people keep saying it's vim vs emacs, no, it's vi vs emacs. sheesh!

  • @4xelchess905
    @4xelchess905 Год назад

    Since you can have terminal inside Emacs, why not combine the best OS with the best editor ? With evil mode so that you only have one set of keybinds.

  • @akshatkotpalliwar
    @akshatkotpalliwar 4 месяца назад

    prime : you guys know what i mean
    vladeimir : guy beating meat

  • @jojowolf6826
    @jojowolf6826 Год назад

    15:24 Tears of the Wantagen

  • @aztro8323
    @aztro8323 Год назад

    When the reaction is 3 times the length of the video

  • @fojico1234
    @fojico1234 Год назад +2

    Emacs is OS independent, you can carry your Dev-Enviorment with you everywhere. I’m talking everything, terminal, tiling, pdf reader...etc (future proof in case you ended up working on Windows). This is all theory, in reality, it doesn’t work (we need more maintainers).

    • @gagagero
      @gagagero Год назад

      Maintainers really won't fix that. 90% of Emacs users are using Linux, so throwing more bodies at the problem doesn't help.

    • @GreyDeathVaccine
      @GreyDeathVaccine Год назад

      Recently changed job and landed on Windows 11 :/ I will try to use Emacs on Windows.

    • @xpusostomos
      @xpusostomos Год назад

      There's only seriously 2 platforms now, windows and Unix. (Mac is Unix). So why that would matter I don't know

  • @TheSast
    @TheSast Год назад +7

    This video will definetly go *vi* ral, it will get th *e max* imum number of views that youtube allows (which is 301).

    • @ThePrimeTimeagen
      @ThePrimeTimeagen  Год назад +5

      i don't get it

    • @TheSast
      @TheSast Год назад +3

      @@ThePrimeTimeagen Search query: "Why do RUclips views freeze at 301?"

    • @cmelgarejo
      @cmelgarejo Год назад

      ​@@ThePrimeTimeagenme neither

  • @laniusdev
    @laniusdev Год назад +4

    A little known fact... James Gosling is the author of Emacs. Richard Stallman basically yoinked his code and re-licensed it to GPL (though old copyright was lingering in some files at first), and then started actually working with it. I believe that at this point there is none of the original code there, but calling Richard Stallman the author of GNU Emacs even, seems like a bit of stretch to me, as GNU Emacs was only possible to start existing, because Gosling had let this one slide, as this was basically stealing his code and breaking the terms of original license, and he just didn't want to deal with it and wasn't working on Emacs anymore.

    • @ea_naseer
      @ea_naseer Год назад +1

      ok so according to Wikipedia Gosling Emacs was in 1981 and the original Emacs was in '76 so... if you have any links that say contrary I'd like to see them

    • @dolorsitametblue
      @dolorsitametblue Год назад +2

      @@ea_naseer GNU emacs is '84. There were many implementations of emacs by different companies/people. If you want more context from the Gosling himself: youtube video TJ6XHroNewc TimeCode: 2:52:30

    • @laniusdev
      @laniusdev Год назад +2

      @@ea_naseer Ok, it might have not been quite specific. The fact is thatGNU Emacs at the very beginning was Gosling Emacs with GNU slapped on it. I've seen an interview with James Gosling talking about it, will try to find it.

    • @laniusdev
      @laniusdev Год назад +3

      @@ea_naseer here's the timestamp where he starts talking about his version of Emacs and how GNU Emacs came to be.
      ruclips.net/video/TJ6XHroNewc/видео.html
      And here's specifically the fragment about Stallman taking all the code: ruclips.net/video/TJ6XHroNewc/видео.html

    • @xpusostomos
      @xpusostomos Год назад

      Pretty sure that is completely wrong. Stallman was pissed off at the restrictive Emacs licence and started from scratch on a mad multi month hacking binge fueled by late nights, coke and pizza.

  • @HabibiGPT
    @HabibiGPT Год назад +1

    i dont understand shit but css and html but im having fun here

  • @khalilzakariazemmoura8995
    @khalilzakariazemmoura8995 7 месяцев назад +1

    Emacs is a king!

  • @iammac5813
    @iammac5813 5 месяцев назад

    For people saying emacs is a good os only missing a good text editor . Never have they used emacs . You configure for editor to suit ur need not the other way around