Vim vs Emacs | Prime Reacts

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 พ.ย. 2024

ความคิดเห็น • 412

  • @farqueueman
    @farqueueman ปีที่แล้ว +425

    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 10 หลายเดือนก่อน +2

      ​@@xpusostomos😂

  • @oscarhagman8247
    @oscarhagman8247 ปีที่แล้ว +464

    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.

  • @pbnjdev
    @pbnjdev ปีที่แล้ว +40

    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 11 หลายเดือนก่อน +5

      i just use a separate terminal window

    • @cookster69
      @cookster69 4 หลายเดือนก่อน

      ​@@callyralyeah this is definitely the way.

    • @chri-k
      @chri-k 3 หลายเดือนก่อน

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

  • @ryandls2592
    @ryandls2592 ปีที่แล้ว +57

    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

  • @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 ปีที่แล้ว +246

    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)

  • @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 5 หลายเดือนก่อน +1

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

  • @DeusinMachina
    @DeusinMachina ปีที่แล้ว +48

    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 th-cam.com/video/FtieBc3KptU/w-d-xo.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

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

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

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

  • @Nicolas-L-F
    @Nicolas-L-F ปีที่แล้ว +5

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

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

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

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

  • @jorios550
    @jorios550 ปีที่แล้ว +4

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

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

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

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

  • @AzerAnimations
    @AzerAnimations ปีที่แล้ว +26

    Emacs users rise up!

    • @romangeneral23
      @romangeneral23 ปีที่แล้ว +4

      Emacs is LIFE!!

    • @akojic5486
      @akojic5486 9 หลายเดือนก่อน +1

      Living in Emacs is the way of life!

  • @NotTheHeroStudios
    @NotTheHeroStudios ปีที่แล้ว +3

    That Nautro meme makes me really wanna pick up VIM again

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

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

  • @rajahaseeb8418
    @rajahaseeb8418 ปีที่แล้ว +1

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

  • @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 5 หลายเดือนก่อน +1

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

  • @carriagereturned3974
    @carriagereturned3974 ปีที่แล้ว +3

    evilmode in spacemacs/doomemacs - war is over

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

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

  • @logana.martinez770
    @logana.martinez770 หลายเดือนก่อน

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

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

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

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

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

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

  • @manoelnt0
    @manoelnt0 ปีที่แล้ว +5

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

  • @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 4 วันที่ผ่านมา

      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

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

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

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

  • @n000d13s
    @n000d13s ปีที่แล้ว +4

    That kakashi meme is too funny. Prime is too old yo get 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.

  • @chrisE815
    @chrisE815 ปีที่แล้ว +2

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

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

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

  • @SeanCallahan52
    @SeanCallahan52 ปีที่แล้ว +2

    And micro enters the chat

  • @ludangupta8505
    @ludangupta8505 ปีที่แล้ว +2

    3:45 devaslife...? who is it

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

  • @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 10 หลายเดือนก่อน +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.

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

  • @Plexdet
    @Plexdet 9 หลายเดือนก่อน

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

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

  • @michaelplaczek9385
    @michaelplaczek9385 7 หลายเดือนก่อน +2

    Church of Emacs or Cult of Vim

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

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

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

  • @EnderMega
    @EnderMega ปีที่แล้ว +1

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

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

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

  • @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 4 วันที่ผ่านมา

      You can use cs code without a mouse

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

  • @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 25 วันที่ผ่านมา

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

  • @justinhale5693
    @justinhale5693 5 หลายเดือนก่อน +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.

  • @JohnWasinger
    @JohnWasinger ปีที่แล้ว +1

    Eight Megabytes
    And Constantly Swapping

    • @ArturdeSousaRocha
      @ArturdeSousaRocha 7 หลายเดือนก่อน

      Escape Meta Alt Control Shift

  • @MasterSergius
    @MasterSergius ปีที่แล้ว

    Epic battle, greater than Avengers vs Thanos

  • @EICDarkOrbitEIC
    @EICDarkOrbitEIC ปีที่แล้ว

    4:13 "redrawtime exceeded, syntax highlighting disabled"

  • @kelvinpina3392
    @kelvinpina3392 หลายเดือนก่อน

    Richard stallman wrote two operating systems

  • @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 4 วันที่ผ่านมา

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

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

  • @xyzxyz6095
    @xyzxyz6095 7 หลายเดือนก่อน

    Veni,vidi,ViM. Salutations from France.

  • @jojowolf6826
    @jojowolf6826 ปีที่แล้ว

    15:24 Tears of the Wantagen

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

  • @m4rt_
    @m4rt_ ปีที่แล้ว

    The Gandalf image is as old as at least 2014

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

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

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

    • @xpusostomos
      @xpusostomos ปีที่แล้ว

      An editor for rust fanatics

  • @Dev-HK
    @Dev-HK ปีที่แล้ว +1

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

  • @methanbreather
    @methanbreather 6 หลายเดือนก่อน

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

  • @agungokill
    @agungokill ปีที่แล้ว

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

  • @luserdroog
    @luserdroog ปีที่แล้ว

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

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

  • @ex0stasis72
    @ex0stasis72 ปีที่แล้ว +1

    I can concur. I use Emacs, and customize the heck out of it. I couldn't figure out a one step way to toggle the window* split on my monitor between horizontal to vertical. So I made my own function for it.
    * A window in Emacs is like a frame or a pane in other apps.
    (defun my/toggle-window-split-direction ()
    "Toggle the split direction of the current window."
    (interactive)
    (if (= (count-windows) 2)
    (let* ((this-win-buffer (window-buffer))
    (next-win-buffer (window-buffer (nextcompany-abort (this-win-edges (window-edges (selected-window)))
    (next-win-edges (window-edges (next-window)))
    (this-win-2nd (not (and (

  • @ntc490
    @ntc490 4 หลายเดือนก่อน

    I like both, but my fav and DD is emacs in a shell. I prefer not to acknowledge Stallman has anything to do with the editor, though. XD. Emacs has gotten so much better with good, fast plugins, native compilation, etc. It used to be SO SLOW to start up. Now it's so close to vim it doesn't matter.
    Why do SO MANY vim users not know how to use it? And out of the box it's painfully inefficient working with more than 1 file. Seems like most people use it because they think they're getting nerd status. And sometimes I find its modal nature awkward. It works out sometimes, but feels slower in other circumstances.

  • @aztro8323
    @aztro8323 ปีที่แล้ว

    When the reaction is 3 times the length of the video

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

  • @TheRealWinsletFan
    @TheRealWinsletFan 7 หลายเดือนก่อน

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

  • @HabibiGPT
    @HabibiGPT ปีที่แล้ว +1

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

  • @js-ny2ru
    @js-ny2ru 10 หลายเดือนก่อน

    Almost 16 minutes of "You know what I mean?".

  • @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 TH-cam views freeze at 301?"

    • @cmelgarejo
      @cmelgarejo ปีที่แล้ว

      ​@@ThePrimeTimeagenme neither

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

  • @akshatkotpalliwar
    @akshatkotpalliwar 4 หลายเดือนก่อน

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

  • @olaniyanayodele5986
    @olaniyanayodele5986 ปีที่แล้ว

    What's your distro primeagen?

  • @godowskygodowsky1155
    @godowskygodowsky1155 ปีที่แล้ว

    Exploration vs. Exploitation

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

  • @lucasqueiroz23
    @lucasqueiroz23 ปีที่แล้ว +6

    Just use nano lol

  • @slendi9623
    @slendi9623 ปีที่แล้ว

    14:00 what about ed?

  • @thatguynar
    @thatguynar ปีที่แล้ว

    Meanwhile I’m sitting here chilling with my helix 🧬

  • @Codigger-br2rt
    @Codigger-br2rt 8 หลายเดือนก่อน

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