What Are The Benefits Of Emacs Over Vim?

  Рет қаралды 169,119

DistroTube

DistroTube

3 жыл бұрын

Probably one of the most common Vim/Emacs questions that I get is "Why would I choose Emacs over Vim?" Or "what does Emacs have to offer that Vim doesn't?" You see this question all the time from Vim users on message boards and support forums. So I wanted to take a minute to answer it.
WANT TO SUPPORT THE CHANNEL?
💰 Patreon: / distrotube
💳 Paypal: www.paypal.com/cgi-bin/webscr...
🛍️ Amazon: amzn.to/2RotFFi
👕 Teespring: teespring.com/stores/distrotube
DONATE CRYPTO:
💰 Bitcoin: 1Mp6ebz5bNcjNFW7XWHVht36SkiLoxPKoX
🐶 Dogecoin: D5fpRD1JRoBFPDXSBocRTp8W9uKzfwLFAu
📕 LBC: bMfA2c3zmcLxPCpyPcrykLvMhZ7A5mQuhJ
SOCIAL PLATFORMS:
🗨️ Mastodon: distrotoot.com/@derek
👫 Reddit: / distrotube
📽️ LBRY/Odysee: odysee.com/$/invite/@DistroTu...
DT ON THE WEB:
🕸️ Website: distrotube.com/
🐿️ Gemini Capsule: gemini://distro.tube
📁 GitLab: gitlab.com/dwt1
FREE AND OPEN SOURCE SOFTWARE THAT I USE:
🌐 Brave Browser - brave.com/dis872
📽️ Open Broadcaster Software: obsproject.com/
🎬 Kdenlive: kdenlive.org
🎨 GIMP: www.gimp.org/
🎵 Audacity: www.audacityteam.org/
💻 VirtualBox: www.virtualbox.org/
🗒️ Doom Emacs: github.com/hlissner/doom-emacs
Your support is very much appreciated. Thanks, guys!

Пікірлер: 881
@Rundik
@Rundik 3 жыл бұрын
hackers stole 10gb of proprietary elisp code. Luckily it was the end of the file and only the closing parentheses were stolen
@g-manchanel1710
@g-manchanel1710 3 жыл бұрын
Ahaha Classic
@NdxtremePro
@NdxtremePro 3 жыл бұрын
What! They can know how many functions/data/lists are in the file! NOOOOOOOOOOO!
@TheSulross
@TheSulross 3 жыл бұрын
time for an amazon ebook of emacs jokes
@AndersJackson
@AndersJackson 2 жыл бұрын
@@TheSulross I would buy that. But not a vim book about that. Yes, I use Emacs for most things.
@jessejordache1869
@jessejordache1869 2 жыл бұрын
@@TheSulross That's actually more of a lisp joke. They all boil down to "haha, look at the parentheses."
@danieldantur2719
@danieldantur2719 3 жыл бұрын
Finally an excellent explanation of what emacs is that allows me to make the aducated decision of staying with vim.
@RoboticRabbit3312
@RoboticRabbit3312 2 жыл бұрын
*educated
@danieldantur2719
@danieldantur2719 2 жыл бұрын
@@RoboticRabbit3312 Lol, typo. Status: Won't fix Reason: Breaks comments context
@sprytnychomik
@sprytnychomik 2 жыл бұрын
@@danieldantur2719 Ship It!
@gunman1188
@gunman1188 2 жыл бұрын
Yes, why we have to make it more complicated. Make it quick and simple with vim (neo im)
@omertoast
@omertoast 2 жыл бұрын
dude really.. i'm a vim user too and after i saw this video, my relation with vim got stronger.
@spacewad8745
@spacewad8745 3 жыл бұрын
just saying. you never see dt and luke smith in the same room.
@erics7004
@erics7004 3 жыл бұрын
But they are in the same boomer backyard.
@terrenceolivido741
@terrenceolivido741 2 ай бұрын
Luke Smith !
@henninb
@henninb 3 жыл бұрын
Emacs is more of an environment vs vim is an editor.
@antoninperonnet6138
@antoninperonnet6138 3 жыл бұрын
Exactly ! When you just want to have an editor that deels well with your terminal, you don't need more than vim
@yoghurt3643
@yoghurt3643 3 жыл бұрын
Right! „Emacs is a great operating system, lacking only a decent editor.“ is the saying.
@thingsiplay
@thingsiplay 2 жыл бұрын
My environment is GNU/Linux, the operating system.
@vesder819
@vesder819 2 жыл бұрын
@@thingsiplay in that case you should install an editor asap ;).
@thingsiplay
@thingsiplay 2 жыл бұрын
@@vesder819 It comes pre-installed with many editor tools.
@KyrychenkoAnton
@KyrychenkoAnton 3 жыл бұрын
Thanks finally somebody big articulate this correctly - THIS IS AN ELISP ENTERPRETER
@mikesa7719
@mikesa7719 3 жыл бұрын
You forget to add GUI - i.e. It's a GUI LISP INTERPRETER.
@grapesalt
@grapesalt 3 жыл бұрын
it's Interpreter
@mikesa7719
@mikesa7719 3 жыл бұрын
@@grapesalt Yes but it is GUI? not CLI interpreter. VIM is CLI EDITOR. For me is important - VIM is not Graphical Editor/ I mean if in linux you;ll have error on X server (x.org) emacs will not start.
@mikesa7719
@mikesa7719 3 жыл бұрын
@Robert Pilgrim My point is - initially Emacs is GUI application? and Vim is cli editor. I'm not trying to convince that smth is better or not. If you install Emacs you have a Gui application.
@JkyLi
@JkyLi 3 жыл бұрын
@@mikesa7719 I believe emacs was written to run in the terminal initially. GUI emacs was developed much later. It is a software written in the 80s, GUI was not the primary environment for hackers.
@RedBearAK
@RedBearAK 3 жыл бұрын
This is the first explanation of the difference between vim and emacs I’ve ever seen that has actually helped me understand why I would want to use one over the other. Didn’t they have an old saying like, “Vim is an editor, emacs is an operating system.”
@alexpetrean827
@alexpetrean827 3 жыл бұрын
"Lacking only a decent editor" was the full joke, i think
@maxarendorff6521
@maxarendorff6521 3 жыл бұрын
He's basically comparing vim without plugins to emacs with plugins. It's an unfair comparison. Vim has plenty of cool plugins as well. It is more limited though because elisp is more powerful than vimscript (Neovim has Lua now though) and vim is not GUI, so it can't show images and stuff. Vim is much more fast and lightweight though, is a much better editor by default (not counting emacs evil mode here obviously), and runs better in a terminal. There's a reason why DT uses doom emacs and not default emacs. Default emacs sucks and you need to write a loooong config file to turn it into something like doom emacs :)
@SenthilBabuji
@SenthilBabuji 3 жыл бұрын
@@maxarendorff6521 He actually mentioned that Emacs has a steep learning curve. Doom Emacs eases the process. One can learn vim in a week. But to really understand the power of emacs it takes months. But once you get there, emacs will feel much more powerful than vim.
@maxarendorff6521
@maxarendorff6521 3 жыл бұрын
@@SenthilBabuji I tried Emacs, but switched back to Neovim. It's not for me. Too slow, doesn't run well in a terminal, huge pain to configure...
@AndersJackson
@AndersJackson 2 жыл бұрын
@@maxarendorff6521 no, it is a fair comparing vim and Emacs. (And you couldn't bother learning Emacs, so just say that and don't make up excuses like "too slow", or doesn't run well in terminal or "pain to configure". Just admit, you are not the man up for the job. ;-D ) Because one argument of using vim is that it are in all Linux server. But then you need to copy the configuration between your servers. You can edit files on remote servers with Emacs without copy configuration to those servers, nor install Emacs. Just open the file /ssh:user@server:file will use ssh to open the file on server, as it was local. And with M-x shell you got a shell on that machine. Vimscript is less powerful, because you are not changing vim. When you write elisp extensions, you are actually changing Emacs. So no, vimscript isn't even comparable. That vim is faster and mire leightweight are debatable, so are to claim it is better by default. And no, it doesn't run better in terminal, actually there are no major difference between the running in terminal. Default Emacs IS the same Emacs as Doom Emacs, there would not be a Doom Emacs, if there was not a default Emacs. Just acknowledge, you are not the man to run Emacs, or configure Emacs to suit your workflow. You are not just up for the task, so you make lots of excuses. ;-) (And yes, Doom Emacs and Spacemacs are bloated ;-) ). Just go to System Crafter channel and read up on Emacs, I know you can learn Emacs too, if you want to.
@Tb0n3
@Tb0n3 3 жыл бұрын
That quote at the bottom "I showed you my source code, pls respond" I love it.
@okamiboi
@okamiboi 3 жыл бұрын
What are the benefits of Emacs over Vim? *Is this some kind of a overcomplicated people's thing I'm too of a Nano user to understand?* Little update: I started learning really basic stuff about Vim and watching DT's _kind of_ obsession over Doom Emacs and ORG mode made me go back to graphical IDEs lmao
@inithinx
@inithinx 3 жыл бұрын
no.
@taidee
@taidee 3 жыл бұрын
I think the best thing you can do is using whatever application best suits your workflow irrespective of who says what.
@0xDEAD_Inside
@0xDEAD_Inside 3 жыл бұрын
Give micro a try too.
@jacanchaplais8083
@jacanchaplais8083 3 жыл бұрын
Tbh if you use nano it will be trivial for you to start using Vim to do literally everything that nano does. They're both CLIs, and the only thing you need to know is how to get into insert mode and out back to normal mode - which is as simple as hitting i then ESC - and how to save :w, close :q or ZQ, and save and close :wq or ZZ. After that it's basically the same as nano, but you'll realise there is no glass ceiling and you can use it in more and more advanced ways. I use Vim, so I don't know if you can jump into emacs with similar ease - I'll leave that for others to comment.
@mrri8403
@mrri8403 3 жыл бұрын
Master nano user here, who needs vim or eMacs those editors have so many features you’ll probably never use half of them … ill choose simplicity and elegance over those two.
@novakboskov9090
@novakboskov9090 3 жыл бұрын
I'm an Emacs user for more than 7 years now. Before that I used Vim for about 3 years. However, it's not Vim that I switched from to Emacs. It was actually Eclipse (I don't think it's even that relevant nowadays in the VSCode era). I used Eclipse as an IDE and Vim as an editor. I still use Vim for elementary editing on remote machines. And more or less that's the only thing that frustrates me in the Emacs world; tramp mode is slow.
@ingliss
@ingliss 3 жыл бұрын
"emacs is a fine operating system in need of a good editor"
@ingliss
@ingliss 3 жыл бұрын
@@wafficuslives6701 it's just a famous quote I find amusing I don't use either day to day and live most of the time in Sublime Text. Edited for reduced grumpiness,with apologies
@wyleong4326
@wyleong4326 3 жыл бұрын
Which could prolly be written in elisp. The gift that keeps on giving.... ah, Emacs.
@vapourmile
@vapourmile 3 жыл бұрын
It's a great quote because it must have been said by somebody who really understands emacs.
@erichlf
@erichlf 3 жыл бұрын
Which is why I use spacemacs with vim key bindings.
@12kenbutsuri
@12kenbutsuri 3 жыл бұрын
Evil mode comes close!
@joetheman74
@joetheman74 3 жыл бұрын
Hey DT. It was your channel that a few years back convinced me to take the plunge and learn VIM. I love VIM now and just don't want to change and learn something new all over again. Even with using VIM bindings in Emacs. Just don't care. My Linux setups are how I like them and my VIM is set up with a dozen plugins and tweaked to IMO PERFECTION. I think emacs is interesting and the thought of using it as the entire window manager and os seems like it would be fun to experiment with but I just don't want to take the time. There is just other fun to be had.
@kevenarmandomate8869
@kevenarmandomate8869 3 жыл бұрын
I was thinking about start learning Emacs for some time, but I was reluctant because I know nothing about lisp/elisp and I'm fairly new to both Linux and Programming, but after this video, I think I'll learn how to use Emacs and get used to list/elisp. Dude, I really love this channel, keep up the good work DT, I still have a lot to learn from you!!
@AndersJackson
@AndersJackson 2 жыл бұрын
Check out System Crafters, as there are lots of videos about setting up Emacs for different tasks.
@Phydoux2112
@Phydoux2112 3 жыл бұрын
Woah! You just blew my mind with all of that git stuff! I'm going to have to try doing my git stuff in emacs now! Totally cool!
@hcjorgensen
@hcjorgensen 3 жыл бұрын
Good luck, man. Magit is really good. You can do everything the git command can do, only this time with single keystrokes. It's the fastest way to use git. Also, it's hands-down the fastest way to commit only parts of changes. Tab-open the changed file to see the diff, mark the part of the diff you want to stage and press 's' to stage. Done. Also, forget about what people say about having to live in emacs. It's not required. It all depends on your needs. Right now I myself am perfectly happy using emacs just for org mode and magit and coding in VSCode. That being said, I did spend quite some time learning Emacs and getting it configured the way I wanted. There's no way around that. But it will pay dividends in the end.
@bardus_hobus
@bardus_hobus 3 жыл бұрын
I think you explained perfectly why I don't like emacs. If emacs is an environment in which I can do anything....why not just do that thing in Linux? Why add another layer of bloat on top of it?
@KManAbout
@KManAbout Жыл бұрын
Not to be that guy but I'm gonna be that guy. Its becuase Linux is just the kernel. Emacs can run on top of Linux kernel to be a desktop env, and pretty much everything else
@bardus_hobus
@bardus_hobus Жыл бұрын
@@KManAbout hey whatever works best for you is the best solution :)
@KManAbout
@KManAbout Жыл бұрын
@@bardus_hobus truer words have hardly been said.
@mke7605
@mke7605 3 жыл бұрын
I was an emacs user for 5 years. But changed to vim and separate tools a few years ago. I tried to get back into emacs last year, but found I really couldn’t anymore.
@Spedfree
@Spedfree 3 жыл бұрын
I think it should be left to those who have complete freedom to setup things how they like otherwise the separate programs are just too hard to keep up with.
@noyalmartin9729
@noyalmartin9729 3 жыл бұрын
why ?, Is it because you loves vim more than emacs?
@mke7605
@mke7605 3 жыл бұрын
@@noyalmartin9729 in the end I found that I like simple tools and the flexibility they provide better than complex ones. After having used separate tools for some time, I can’t seem to wrap my head around all those integrated stuff in emacs anymore. It feels to monolithic to me. None of the tools in emacs were better than the separate ones. And org mode is so much its own ecosystem that it doesn’t integrate well with anything outside emacs. Living in emacs and org mode is all very well if you live behind your computer 24/7 and don’t use any other devices.
@nkristianschmidt
@nkristianschmidt 3 жыл бұрын
@@mke7605 helpful, thanks for sharing
@brianfiszman3179
@brianfiszman3179 3 жыл бұрын
@@mke7605 also, emacs doesnt have a decent terminal emulator, which i would really miss considering i have a shortcut for popping a terminal in neovim
@terrydaktyllus1320
@terrydaktyllus1320 3 жыл бұрын
I don't need to get Emacs, there is no function that it can fill that is missing from my workflow or that isn't being done well enough by existing tools. I am sure to those that use it, it's a very good application, but I will still give it a pass.
@teunissenstefan
@teunissenstefan 3 жыл бұрын
I agree with you. I also think that Emacs doesn't actually follow the Unix philosophy.
@daishes
@daishes 26 күн бұрын
​@@teunissenstefanYeah, it doesn't seem quite like it... It feels too monolithic, it is trying to be so many things at once... Vim follows better the unix philosophy, you have a simple shell of an text editor and you simply extend it with the things you need, it does not come pre-bloated for you, you use what you need
@MarcelRobitaille
@MarcelRobitaille 3 жыл бұрын
I won't understand it for 6 months? Sounds very appealing.
@Empty3932
@Empty3932 3 жыл бұрын
I was using emacs before vim, but the main reason I switched to vim, is emacs is just slow sometimes. I mean painfully slow, and it's usually really easy for plugins to hang it or something. Vim is just fast, it either works or it doesn't, but it's never slow.
@killertigergaming6762
@killertigergaming6762 Жыл бұрын
Thats because you generally want to run it as a daemon
@samgould8567
@samgould8567 Жыл бұрын
Vim can be slow, too. I switched to Emacs 5 years ago because Vim was starting and running agonizingly slowly with all the plugins I was using and due to the platform I was running on (Cygwin). Running Emacs in server mode was actually faster and gave me everything I wanted. Today, my Emacs config is over 10,000 lines, I use hundreds of packages, and I never experience performance issues.
@terrenceolivido741
@terrenceolivido741 2 ай бұрын
smart guy ... the fan-boys will explain that you can always find and fix the slowdown, but why spend your time doing that ? the vim system - once you practice it - i cannot live without it. i use Emacs with evil-mode, but Emacs is more a pass-time than a productive entity. if you like to write elisp, than it has advantages - only than.
@armynyus9123
@armynyus9123 3 жыл бұрын
Very polished version of that topic, well done! I remember my time of resistance, 15 years or so, where I was watching those show offs and my brain: "yeah, can do that in vim", "yeah, that as well...somehow", "that should also work", ..."could also work", "there is a plugin for this", "there should be a plugin", "there might be a plugin", "theoretically some insider could program that", "...could do that via remote controlling the buffer and some integration with that other tool" (...) but you invevitably, some day in your carrier if you are into "I want the fckng best tool for the jobs" you hit the wall and start giving it a *real* chance.
@reverseila4363
@reverseila4363 3 жыл бұрын
use the tool only if you need it
@zach118
@zach118 3 жыл бұрын
I've used many different editors on and off over the last decade or so. I'm a programmer and have worked on many solo projects, within teams, in many different contexts, many different languages, with many different goals. I've used everything you can think of for years at a time. Vim, Emacs, even VS Code for a few years, Kakoune editor... I "editor" hop even more than I window manager hop. Emacs is great, and of the one's I listed, it's the most powerful by far. But my issue with it is that it can get slow. I can't easily justify that or have patience for that when there are other tools in my environment and I'm already using a tiling window manager. I don't need my git client to be in the same window as my editor, because my entire desktop is my workspace. Emacs is amazing, but the slowness, even just a little bit of slowness, kills it for me.
@AndersJackson
@AndersJackson 2 жыл бұрын
Then look at Emacs 28, which have JIT compilation to native code.
@PaulSebastianM
@PaulSebastianM 4 ай бұрын
Me too. Even neovim is slow sometimes especially with async plugins and LSPs. Somehow Helix didn't seem to have that problem for me but it's a bit less configurable and I miss easy motions and other plugins.
@dionysis_
@dionysis_ 2 жыл бұрын
I tried Spacemacs for a few years but.. though org mode was cool, other stuff like web browsing or email work kind of like your example in this video opening a site. The consistency of a pure lisp environment is great but in the end it is a text editor and coming back to Vim brought me a great feeling of being back home 🤷‍♂️
@terrenceolivido741
@terrenceolivido741 2 ай бұрын
this is my last comment here ... by accident or no, the vi system - extended with vim is close to an AI created scheme for keyboard manipulation of text. once you learn it you hate using the mouse, though i tolerate the mouse for everything else.
@jasonfreeman8022
@jasonfreeman8022 2 жыл бұрын
"Emacs is an emacs lisp interpreter." This flipped a switch in my head. I realized that emacs is an emacs lisp interpreter initially configured as a text editor. I also realized after watching another Emacs video that the Vim editing model is more coherent at the fundamental editing level. These two combined, i.e. Emacs with Evil mode makes a ton of sense to me. Vim has been helpful in providing a coherent keyboard based editing system while emacs provides all the higher order features that a crucial to any workflow beyond editing. Thank you for your clarifying presentation.
@amad-os8rp
@amad-os8rp 3 жыл бұрын
Thanks for the video. This really helped me❤️
@BlackberryBoy
@BlackberryBoy 3 жыл бұрын
Totally agree, atleast few months are needed to get some idea of what emacs can potentially do.
@longhoacaophuc8293
@longhoacaophuc8293 2 жыл бұрын
hi DT, you stated in one of your video that people should use the GUI version of emacs instead of the terminal one. Then if we can only use the terminal, then can we get that much advantage (compared to vim) from the terminal version of emacs?
@huston7963
@huston7963 2 жыл бұрын
I use Emacs with evil-mode which I think can combine both pros. And the most important reason that I use Emacs is I really like Lisp, It’s elegant and powerful.
@Ateshtesh
@Ateshtesh 11 ай бұрын
well said Mob!
@shroomer3867
@shroomer3867 11 ай бұрын
If you would show this comment to a Victorian child in the Industrial Revolution they would’ve spontaneosuly combusted into thin-air
@fisyr
@fisyr 6 ай бұрын
I actually don't like lisp all that much. Between having parentheses everywhere and having everything in infix notations it is very hard to read. I get that in lisp everything is a function call hence the syntax is perfectly logical, but I don't think it's doing itself any favors in terms of readability. I still do love Emacs. It's great to be able to do everything within one customizable environment using the same bindings everywhere, I just wish it was built on a an easier language to use.
@terrenceolivido741
@terrenceolivido741 2 ай бұрын
you got it. god bless you. anyone who does not want to learn and write elisp will find zero real advantages in Emacs over better ide's.
@NaviciaAbbot
@NaviciaAbbot 3 жыл бұрын
I love Org Mode as a DM. World building, campaign notes, character sheets. The uses of Org are endless. I have installed Emacs on any OS supported because of how good Org is.
@Investmentmessiah
@Investmentmessiah 2 жыл бұрын
Interesting. I used emacs for some years and loved the org-mode - as a task manager, as a PKM, as a journal, as an environment for literate programming. At first I used pain emacs, later on I fiddled around with evil-mode and spacemacs - and finally I ended up in doom. Then I asked myself why do I need that obstruction? With the help of the command line I can almost do everything I want. Thus I switched to vim and since approx two years are quite happy with kakoune.
@Ateshtesh
@Ateshtesh Жыл бұрын
org-mode in terminal? how?
@terrenceolivido741
@terrenceolivido741 2 ай бұрын
we come back to the linux commandline. that is the mother and as everyone says ... the advantage is scripting. elisp is hardly an improvement over basic linux utilities.
@JRCSalter
@JRCSalter 3 жыл бұрын
I'm kind of interested in Emacs, however I haven't learnt it because I'm not sure it would be worth it for my needs. Vim serves my purposes well enough, and sometimes the learning curve is not proportional to the advantages it gives you. It may be something I'll look into at some point, but for the moment, there's other things that I will be better served by sinking my time into.
@jaredsmith5826
@jaredsmith5826 3 жыл бұрын
One one hand that could very possibly be true, OTOH by that logic you probably shouldn't have learned vim in the first place.
@JRCSalter
@JRCSalter 3 жыл бұрын
@@jaredsmith5826 I disagree. I saw some videos that showed the advantages of Vim over a standard text editor, and I thought that it would be worth learning it. Furthermore, to learn the basics of Vim takes half an hour or so, maybe even less. From there, if you need to do something but don't know how, a quick Google search is really all you need to do. From everything that I have been told about Emacs, it takes a lot longer to get as proficient with it, and the stuff that can be done beyond what Vim can do just isn't what I require.
@Mersal-uj5nh
@Mersal-uj5nh 3 жыл бұрын
I have one doubt, can we do global searches in vim for all the files in the directory? Like how we use ctrl+shift+F in VScode.
@AndersJackson
@AndersJackson 2 жыл бұрын
@@JRCSalter if you only want to edit within Emacs, you can get going with the same time limit. Nothing strange there, and you don't need to handle the multi mode thing. And as with vim, everything from there is just a google away. So if you call that to be proficent in Emacs, then they are about the same. The different thing is that to contionu from there, vim has limits, serious limits. You have your set of settings, that is it. You have vimscript, but that is just what vim allows you to use through the API. You can't really change vim. Emacs your configuration is basically you rebuildning Emacs to suit you, you are making the program yours. All configuration you do, are actually changing the program. All the elisp code will be part of Emacs, no way of knowing that your additions are yours or coming from the developers of Emacs, because Emacs is built in elisp. So there are the most fundamental difference between vim and Emacs. There are no limits what you can change, compared to vim. That is why you have several adaptions of key vi key bindings to Emacs, and I have seen none for Vim. Because that isn't part of the API you are allowed to use. And no, I wouldn't recommend vim to new users, unless they are not able to learn the Emacs key bindings, which are as natural as vim. But in another plan, as they are not limited to the keyboard layout, they are "logical" in another way. You can switch keyboard layout and still be able to use Emacs as before. Not so much in vim, as it is based on keyboard layout (like the h, j, k ,l in one row to move cursor).
@seanld444
@seanld444 2 жыл бұрын
@@JRCSalter I'm an avid Emacs user, but I will say, it can be overwhelming to get into if you're not interested in having an essentially infinite feature set. If the necessary feature set is covered by Vim, there's no reason you need to learn Emacs, unless you want to learn it for fun. For me, Org mode, Calc, and Magit are all irreplaceable to me. They looked amazing. That's why I personally switched.
@damikki
@damikki 3 жыл бұрын
Sold, I am going to spend the time needed to learn EMACS to replace my current code editor, thank you for the inspiration DT :)
@exnihilonihilfit6316
@exnihilonihilfit6316 2 жыл бұрын
How long did your inspiration last? Over 40 minutes? I'd be surprised...
@damikki
@damikki 2 жыл бұрын
@@exnihilonihilfit6316 lol nope I am just finishing reading a book on Emacs and trying to use it on day to day editing but it's not muscle memory yet 🤪
@SATALIT3
@SATALIT3 3 жыл бұрын
I might be a noob but at first when I heard about Emacs I was thinking of that one apple computer aimed at the education market. This makes a lot more sense why people mention emacs on linux and not running linux on an E Mac lol. Pretty helpful video!
@nopalfi1409
@nopalfi1409 3 жыл бұрын
Both are masterpiece, it's your freedom to choose one.
@sumanth3036
@sumanth3036 Жыл бұрын
I chose mode
@rbda8921
@rbda8921 Жыл бұрын
The only based answer in this cringe comment thread
@Alashure6
@Alashure6 2 жыл бұрын
I got forced into using emacs for work, and your videos have helped me keep my head above water. Thank you.
@Xenotypal
@Xenotypal Жыл бұрын
hows emacs treating you nowadays?
@codebasic32
@codebasic32 3 ай бұрын
Sold. I've been using vim for coding and logseq for taking notes(similar to notion, but opensource). I really like that you can do everything in one place. I'm gonna start using emacs right now.
@creative-commons-videos
@creative-commons-videos 2 жыл бұрын
thanks for your video but i was watching one of your video regarding emacs "Friendship With Emacs Is Over, Vim Is My Best Friend" and now this, is it the same emacs with evo mode or something else ?
@renealbrechtsen9743
@renealbrechtsen9743 3 жыл бұрын
You should totally do an emacs beginners series. Like configuring it completely from scratch and such.
@AndersJackson
@AndersJackson 3 жыл бұрын
Try the System Crafters Chanel if you want to start configure Emacs from scratch.
3 жыл бұрын
He did a livestream where he configured Emacs from scratch. The video is called "Leaving Doom Emacs For GNU Emacs? - DT Live!" :)
@jaritos675
@jaritos675 3 жыл бұрын
I think the question is vim + other command line tools vs emacs. Like there are terminal basted productivity apps that are not part of vim like taskwarrior while org mode is part of emacs
@gmlio
@gmlio Жыл бұрын
I started out using vim, and I really love the modal editing and memorable shortcuts. Whenever I need to use another editor/IDE, the first thing I do is install vim keybindings. At some point, I had to use Emacs for an AI class at university, and, as usually, I installed vim keybindings and fell in love. So now, I use Emacs with vim keybindings, and it's amazing. I'm currently in the process of moving all my todos and schedules into org-mode and org-roam and it's very promising. In conclusion, there really is no reason to chose between vim and Emacs. You can have the best of both. The only time I still use vi(m) is when I have to edit a file on a remote server because stock Emacs is pretty unusable to me if its even installed.
@Milky____
@Milky____ Жыл бұрын
Im glad I found this comment after seeing the one with almost 800 likes of people just hating on Emacs. If everything said in the video is true, it just makes sense to figure out how to get vim binding to work with Emacs so you can get the best of both worlds.
@Adamish
@Adamish 10 ай бұрын
Seriously I found this comment very insightful.
@heikokraemer2735
@heikokraemer2735 2 жыл бұрын
Man, I can see how someone could reach a point of no return on that thing. Great video, thx.
@possumcode
@possumcode Жыл бұрын
Excellent video! Thank you!
@DF-ss5ep
@DF-ss5ep Жыл бұрын
I've been "using" emacs for about 2 months now. I say "using" because I'm still learning. I think it escapes definition because it is developed in multiple directions: as a platform for running elisp (write your scripts in elisp, not bash), as an elisp IDE (debug code, inspect values), as a UI framework (it is much more developed in how it interprets keys than vim), and as a text editor (ie, it has a rich elisp API for editing text); it can even be your tmux and your window manager (through EXWM). If you just want to edit text with no fuss, vim is better, but if you're like me and liked all the plugins and extra functionality vim acquired recently, I advise you to not waste time and start learning emacs. You're writing all that Lua to get vim to be just perfect, but eventually you'll hit ceilings. Emacs has a taller ceiling, you won't be as limited, but you need to invest a lot of time into it to pay off.
@dalriada842
@dalriada842 Жыл бұрын
My text editing needs are modest. I use nano or micro for editing config files, and a graphical word processor for everything else. I have tinkered with both Vim and Emacs(I had a lecturer that wanted us to use Emacs on a programming course), but I didn't see enough of an advantage for me to persevere with them.
@paarthjuneja3707
@paarthjuneja3707 3 жыл бұрын
_Oh I forgot to show tetris in Emacs!_ You got me there, DT
@lindelystables
@lindelystables 8 ай бұрын
Small correction: VIM is not a "text editor", it's a Text Viewer with a mode for editing. It's more like 'cat' than an actual IDE.
@rainermathey6943
@rainermathey6943 3 жыл бұрын
hey @DT how you get this beautiful colored Doom - logo within your Doom Emacs 🤔
@UncleWalter1
@UncleWalter1 5 ай бұрын
I used to use emacs for a few years. I think the issue I have with it is that I always always messing around with my configuration and not getting work done. As I've gotten older, I realise I much less stressed with minimal tools. Now I use neovim. I've got a focused configuration with just the right number of plugins and I don't have to mess with it. Emacs feels like I'm using VSCode or something. Just so much going on everywhere. It's not what I want. I just want a good text editor that can I move fast in. That's it. tmux and neovim. That's all I need.
@PaulSebastianM
@PaulSebastianM 4 ай бұрын
​@@darthvader1191so the fix for emacs is actually called evil.
@UncleWalter1
@UncleWalter1 4 ай бұрын
@@darthvader1191 What would I bother with a Neovim simulcrum that runs slower if I can just use Neovim? Also, not a skill issue. I used it for three years in evil mode.
@fan_juggler
@fan_juggler 3 жыл бұрын
Well, you of course can have start screen, which key self-documentation, filemanagers and even email client in Vim, but the GUI advantages are nice indeed. Though I am curious, how the cursor behaves when you approach the text of different size? I mean, there is a reason why terminals don't support it, right?)
@fan_juggler
@fan_juggler 3 жыл бұрын
@AstroCat I mean, when it's going up and down. Especially if I want to select a block or something..
@LossyLossnitzer
@LossyLossnitzer 3 жыл бұрын
I think I used emacs a few times but when you go from ed->ex->vi and then vim it is strange to use something else and since I use vi to manipulate data and I like my code light I am happy with vi.
@yetanothercoder
@yetanothercoder 2 жыл бұрын
Hey @DT, I’m a vim user who has been using neovim for some time now. I believe neovim is a lua interpreter. Would this make or give neovim the potential to have feature parity with enacts?
@jeffparent2159
@jeffparent2159 2 жыл бұрын
Lua will increase vim's ability but as vim is designed around displaying text files and piped output, your UI design is going to be limited. Honestly prior to neovim you could just write scripts in your favorite language and then write vim script to process the output in a vim friendly way. Lua in neovim just reduces the complexity a little.
@AndersJackson
@AndersJackson 2 жыл бұрын
No, it will not. Those extensions (and configurations) you do is just what is allowed to be changed/used by the vim program and their coders. You can't change anything else. In Emacs you ARE changing the code base of Emacs when you configure Emacs. Your code/configuration are like the code that builds Emacs, and there are no way to see the difference, except if you know which files it is read from. So yes, you can change anything in Emacs, which you probably doesn't want to. But you can. Emacs is a elisp interpreter/compiler that has superb expandability for the users and it's default application is an editor, also called Emacs. You can't get more flexibility then that. Do vim work for you, great. But don't pretend that vim are as flexible and easy to configure as Emacs. When you configure Emacs, you change the code that is Emacs.
@jessejordache1869
@jessejordache1869 2 жыл бұрын
It doesn't change anything other than allowing you to program vim more intuitively than vimscript, with it's augroup function! ++nested etc... obscurity. It can change any part of the vim api, and it can run *any* terminal application and produce its output as part of the editor so that if you set up something like LunarVim, you'll be using parts of the toolchain totally external to vim without being aware of it. (Of course if you set up an telescope interface yourself then you'll know perfectly well where vim ends and telescope begins, even though it all appears in one application.
3 жыл бұрын
I'm trying to get into Doom Emacs, but man is it hard to get a grip on which packages are installed by default, which ones need additional configuration (Projectile does, for instance) and a short list of the basic things you can do. Then there's figuring out the millions of keybindings, but which-key is a big help on that front.
@AndersJackson
@AndersJackson 2 жыл бұрын
Recommend System Crafters if you want to know more about what to do to configure Emacs and the work flow. Are building some configure files for Vanilla Emacs right now (vanilla as in plain default), which is nice if you don't want the overhead from Doom Emacs.
@aswinmohanme
@aswinmohanme 3 жыл бұрын
Use Emacs with Evil Mode, give the Operating System the Editor it deserves.
@josedejesuslopezdiaz
@josedejesuslopezdiaz Жыл бұрын
great explanation, even wikipedia says emacs is a text editor.,
@suvetar
@suvetar 5 күн бұрын
Thanks DT! I've been a windows coder for far too long, and I suppose for this side of the pond I'm relatively rare in that I do a lot of my windows coding in Notepad++ and even midnight commander! But, recently I've really been getting the urge to do more Open development and have been watching people like your good self and @Tsoding using Emacs like absolute champions ... and so I thank you for this intro, it gives me a lot more confidence, I think I can do this - and make the switch! Can't wait to see what more Magic is to be revealed ... and if noting else, a decent game of bubble 😀
@user-ek8cd1gg3f
@user-ek8cd1gg3f 3 жыл бұрын
That org mode looks very cool. With respect to the introduction and Vim, neovim 0.5.0 and lua, etc.
@aquepaique
@aquepaique 2 жыл бұрын
There is a nvim plugin for org mode
@cherryramatis2508
@cherryramatis2508 3 жыл бұрын
Neovim is getting there, we already have magit on neovim and some prototypes on org mode
@juliusblank65
@juliusblank65 2 жыл бұрын
You should be in marketing - if opensource was about marketing. Dude, what a mind-blowing revelation-kind-of-thingy that was. I‘ll hit startpage quite hard on how to re-re-mess up my workflows again. Thanks!
@Drachenverbot-ts3io
@Drachenverbot-ts3io 7 ай бұрын
I don't understand the emacs vs. vim war. Such a waste of energy. The most important thing is that they aren't using garbage from microsoft.
@ubercorey
@ubercorey 2 жыл бұрын
Dude, amazing, what would we do without you. Not kidding.
@jpsouzamatos
@jpsouzamatos 3 жыл бұрын
Very interesting. It looks cool. I use gnu/linux but I know nothing of programming. Please recommend me something (either books or documentation) to learn programming. What's the advantage of doom emacs over vanilla emacs?
@AndersJackson
@AndersJackson 2 жыл бұрын
You don't need to be a programmer to use Emacs, nor to configure it. I would go for Vanilla Emacs and then check out System Crafters channel for more about Emacs. He made a serie of how to configure Emacs, and Org-mode.
@maxarendorff6521
@maxarendorff6521 3 жыл бұрын
I went back to Neovim after using Emacs for a while. It is powerful, but it is a pain trying to force Emacs into being something it is not, like with Evil, but without Evil, it is unusable. Neovim ist fast and lightweight, easier to configure and works better in a terminal, which is my preferred way of doing things. And now with lua integration, Neovim is more powerful than ever. Org is cool, but I didn't really use most of it's advanced features so pandoc+markdown+neovim works really well for me.
@Belgarathe
@Belgarathe 3 жыл бұрын
Thanks for sharing. It gives a better picture how it’s useful for a programmer. I’ve heard people using Emacs to keep snippets of code and that you can run code inside of Emacs. The last part with Magit was also useful. What I learned from my time playing with Emacs Org mode was it useful to keep track of tasks and projects. It also has a timer function to keep track how long you spend on a task. All Free. The question I have is how to make Emacs portable in terms of that I can access my emac anywhere? Would putting it in a cloud be a solution or would having a home computer and accessing it through the web be a better solution? Please note I am very new to all of this
@AndersJackson
@AndersJackson 2 жыл бұрын
Emacs is portable to more places then vim. Vi (and thus vim) was built at and for Unix. (based on ed, sed as a visual addition being vi), Emacs came from another OS to Unix. So Emacs can be used as an trans MS, OSX, Linux layer to unify them. Has been for long. And as editing files on other computers. If you have ssh access to those computers, you can edit them from Emacs without installing Emacs and/or your configurations on them. Just open a file /ssh:user@machine:file and you will open the file in Emacs as user on the machine. And if you them open a shell with M-x shell, you have terminal access to the machine through Emacs using ssh. So the most flexible use is to have it on a lap top, so you can bring your laptop and Emacs with you. There have been some experiments compile Emacs for web browser, but that is just experiments. But if you have your configurations in some git repository, you can easy move it to your different machines, if you have a need. Also good to have that as a back up. Please have a look at my configuration at gitlab.com/anders-jackson-hig/emacs-init or check out the System Crafter channel for more info on Emacs and how to use it.
@jessejordache1869
@jessejordache1869 2 жыл бұрын
Both emacs and vim have remote editing, despite an INCREDIBLE amount of silliness by people who only know emacs, and don't like the modal editor model anyway which pretty much ends the emacs vs vim argument right there.
@fgtdjkg
@fgtdjkg 3 жыл бұрын
I use pure Emacs in terminal for about a year and I am super productive. I would say Emacs shines in it's flexibility and customizability. You basically write your own ide on base of Emacs. Very convenient. I use use-package and daemon mode to start it quickly. I use it for c++/go/python/rust/shell/clojure/lisp programming, you name it. Most of all I like it's buffer management and key bindings. I should admit learning Emacs is hard but absolutely worth it! One down side is that Emacs is not pre installed on most Linux distros, so I always compile it from sources and make install the latest version
@AndersJackson
@AndersJackson 2 жыл бұрын
It doesn't come installed on every machine isn't a real problem, as long as you have it installed on your machine. Just use TRAMP and you can edit files in your Emacs in any machine you have ssh access to.
@092_deepak_kumar3
@092_deepak_kumar3 3 жыл бұрын
All hail Saint IGNUcius, of the Church of Emacs!
@vorrnth8734
@vorrnth8734 3 жыл бұрын
No, I don't like RMS.
@rizkyadiyanto7922
@rizkyadiyanto7922 3 жыл бұрын
@@vorrnth8734 then stop using linux.
@vorrnth8734
@vorrnth8734 3 жыл бұрын
@@rizkyadiyanto7922 I can't even though I indeed prefer FreeBSD.
@aldotovar9231
@aldotovar9231 3 жыл бұрын
*pulls the alpine linux copypasta*
@092_deepak_kumar3
@092_deepak_kumar3 3 жыл бұрын
@@aldotovar9231 I use Alpine with GNU coreutils :)
@qu4ku
@qu4ku 5 ай бұрын
i really like the matrix metaphor because it was like that with me. i installed spacemacs (like a doom emacs it is ready-to-go version). from the get go i knew it was the best editor i used (and i used it all, some prehistoric stuff, than sublime, atom, vscode) but i used it it like a normal editor, only after 6+ months something clicked, and i realized emacs is more of a living organism than normal program, since then i'm in a huge rabithole. emacs really shines when you start to be intimate with it. the really big thing is how easy it is to change it, and i don't mean configs (but this is huge too). everything in emas is just a function operating on other functions. that means writing your own function (think small plugin) is as easy as writing a function in python. every other piece of software feels like a software written by someone else that you don't have impact on. emacs feels different.
@barungh
@barungh 2 жыл бұрын
Came here to just read the comments ... Getting back to NeoVim again with more confidence
@BUDA20
@BUDA20 2 жыл бұрын
great color theme for the source code
@twiinner1135
@twiinner1135 2 жыл бұрын
Emacs is so appealing! Thank you, DT!
@jneal4154
@jneal4154 2 жыл бұрын
I've never been so deterred from using emacs... Thanks. 👍
@saravananm2280
@saravananm2280 3 ай бұрын
💯🤣
@jneal4154
@jneal4154 3 ай бұрын
@@saravananm2280 For what it's worth, I now use emacs for almost everything. The video was a bad introduction to what is otherwise an awesome piece of software for certain types of people. Give emacs a try if you're interested.
@rothbardfreedom
@rothbardfreedom 3 жыл бұрын
Thank you Stallman.
@TarebossT
@TarebossT 3 жыл бұрын
DT: _What Are The Benefits Of Emacs Over Vim?_ Unaboomer: _What Are The Benefits Of Vim Over Everything?_
@Yupppi
@Yupppi 3 жыл бұрын
What are the benefits of emacs over vim? - People don't understand emacs and don't know all the keybindings, it's too hard. Ok.jpg
@maybeanonymous6846
@maybeanonymous6846 2 жыл бұрын
Everybody: Vim or Emacs Me: *nervous in nano and kate*
@DrMaxPlank
@DrMaxPlank 3 жыл бұрын
I am a programmer and I use emacs for long time it is quite good system just one thing are still missing, yes it is a good text editor!
@kylebossonneyvonbischhoffs873
@kylebossonneyvonbischhoffs873 3 жыл бұрын
I'm a vim poweruser, and this video convinced me that I should learn emacs. Nice
@exnihilonihilfit6316
@exnihilonihilfit6316 Жыл бұрын
Let me guess: it never happened. 😃 That's OK, it's for the best. 😉
@kylevon1
@kylevon1 Жыл бұрын
@@exnihilonihilfit6316 lol, you're right 😂
@vedmalandkar2717
@vedmalandkar2717 3 жыл бұрын
Wait what about neovim though... I heard that a new org-mode type plug in called neorg was created for it. And it's also better than vim based on what I've heard, plus it has many of the things that emacs has, and has support for many languages for making plugins... Would it be considered an emacs killer?
@davidjakab4836
@davidjakab4836 Жыл бұрын
One side effect of using emacs for more and more things over the last couple years, is that I stopped using tiling window managers since emacs already internally tiles everything that I want to tile. I have also seen several other emacs users reach the same conclusion. I wonder what @DistroTube 's thoughts are on this issue, as he still clearly prefers a tiling wm alongside emacs.
@samgould8567
@samgould8567 Жыл бұрын
I think the problem is that Emacs is very capable of tiling window management but it’s relatively hard to learn and configure well. There is a lot of nuance with window parameters, frame parameters, the display-buffer mechanism, buffer-local variables, hooks, etc... It’s a slog to get something nice, but at least when you get there, you’re an expert, so you can solve any issues that arise. The only thing that’s missing IMO is nice window-specific tabs, as I am not a fan of stock tab-line functionality. I have developed a package that brings them closer to what you’d typically see in other tabbed tiling window applications, but there are still some minor bugs to shake out before I contribute to MELPA. Despite its flaws, I have been daily-driving my hack for 4-ish months and now I can’t imagine not using it. Really want to get it out there this year.
@f23anone82
@f23anone82 3 жыл бұрын
I'm kind of interested in Emacs, yet still I don't understand it. What's the point of having all the emacs versions of programs that we already have? Why do I need emacs browser if I have firefox / qutebrowser / tor? Why does one need two or more emacs terminal emulators if he can use st / alacritty / urxvt etc? As for Magit and org mode - there is vim-fugitive and some plugins which simulate org mode for vim. I don't understand why emacs include tetris, snake and so on? Isn't it the same as getting the bicycle which would also be kind of washing mashine? Isn't it better to use for each specific task the tool which fits this task better? I can edit text with Vim, browse internet with Librewolf, view images with sxiv and pdfs with zathura.
@crypt17
@crypt17 3 жыл бұрын
I think that neovim is heading in the emacs direction with lua rather than e-lisp. There are also some aspects of the design of neovim that are better than emacs in that there are aspects of emacs that are hacks ontop of hacks. Both are great but for the moment I am looking forward to the advances in neovim more than emacs. I spent a chunk of time in emacs before returning to neovim.
@AndersJackson
@AndersJackson 2 жыл бұрын
Hack upon hack? Don't agree, except for my own configuration. And when you set up your configuration and hack your setup, you actually make that part of Emacs, you are actually changing Emacs. vim and vimscript are just you talking to the vim program. You are not allowed to do anything there are not a API for. That is the most fundamental different between Emacs and Vim.
@noname-dt6sv
@noname-dt6sv 2 жыл бұрын
@@AndersJackson Genuinely curius, what's something I couldn't do in vim because there's no API for it?
@AndersJackson
@AndersJackson 2 жыл бұрын
@@noname-dt6sv write an email client in vim. Write an web browser in vim. Write Tramp in vim, write Org-mode in vim. etc etc etc. That is not how vim works, so no, you can't. Emacs is designed to be expandable, by execute code in the program, to have a REPL in it from the beginning. Where you by execute code change the program you are running. That is is so good documented so it actually makes ordinary non programmers able to write non trivial expansions to Emacs. By try out the expansion while they write it. Yes, vim have a nice set of key bindings, IF you can manage the multiple mode settings, which is origin because of older editors run on computers that didn't had the power to run in "video mode". That is why you have the different modes in vim, by accident it was quite ok. Yes you could retrofit most of the extensions into vim, but that is just hacks made after they have been developed in other tools, like in Emacs. Sorry, but that is what vim are. Some nice key bindings on on rather simple editor. Compared to Emacs. Yes, that might be the tool for you, and then I am happy for you. But don't try to make vim into something it clearly isn't because you want stuff that are in Emacs, but not in vim.
@AndersJackson
@AndersJackson 2 жыл бұрын
@@noname-dt6sv yes, you probably will claim that vim also have an expansion language, or several. But you know, that is just an after thought, and not as good as the Lisp repl that is Emacs.
@edupazz
@edupazz 3 жыл бұрын
Okay, ORG mode got my attention, i`ll add to my list of stuff to study
@kimberlynnkelly539
@kimberlynnkelly539 2 жыл бұрын
I gave emacs and vim a fair clean-slate when I had to choose a new "text"(source code) editor. I fell in love with vim's style before I got out of syntax-highlighting. The very important thing is modal vs chording, I think. EMACS rocks, but so does VIM.
@AndersJackson
@AndersJackson 2 жыл бұрын
I can't stand the modal thing in vim. So that is why I can't stand working in vim. And I have it configured to work well for me, nothing I could come close to in vim. Because when you edit Emacs configuration, you are actually changing Emacs. When you configure vim, you change some configurations and you add some scripts that can only use the allowed API. You don't change vim. This is a bit strange, when I think about it. Because I can't stand KDE, because of all the configuration you can, and have to, do to make it work.
@yukiousuzumi2595
@yukiousuzumi2595 2 жыл бұрын
Can we have off-screen cursor in emacs if it can do everything?
@CasperLabuschagne
@CasperLabuschagne 2 жыл бұрын
I've used VIM for 18 years now and I honestly still don't get Emacs. I have long ago come to the conclusion that life is simply to short to spend six months learning something with the complexity of an operating system to edit a text file. Einstein said that nothing is so complex that it cannot be explained simply but that was long before Emacs.
@romangeneral23
@romangeneral23 Жыл бұрын
It took me 20 seconds to learn how to edit anything text file in emacs. Not sure where you went wrong 18 years ago...
@abarocio80
@abarocio80 3 жыл бұрын
Org mode has an exporter that uses pandoc (ox-pandoc, I belive is it's name), but it doesn't use it by default. Each exporter uses emacs-lisp to generate the output (with intermediary output, like LaTeX). The pandoc exporter (ox-pandoc)is good, but it has some incompatibilities with org-mode format, because it uses Markdown as intermediary output. Even when you instruct it to not generate a Markdown document, it uses pandoc internal representation in memory, which is not 100% compatible with many aspects of org-mode. That's why I don't use it. But, as I said, org-mode DON'T use pandoc. It uses emacs-lisp.
3 жыл бұрын
It is true, I took me about 6 months deliberately trying to do all my editing and work in emacs until I got to the point that I made Emacs my default editor because my mucle memory was just doing things without thinking. Tricks like exiting Emacs with Ctrl-Z to get back to command prompt to do things I need there and running fg to get back to emacs environment. It is similar workflow that I was used in Windows/DOS with Norton Commander/Far Manager where I would press Ctrl-O to have full screen command line and back.
@AndersJackson
@AndersJackson 2 жыл бұрын
You might like to try M-x shell in Emacs. And use M-p and M-n to get previous commands in history. *edit* Also use C-x o to change active window and C-x b to change buffer in active window. Then you don't need to use C-z. But if using C-z gives you a nice workflow, then all power to you for that! *edit
@jessejordache1869
@jessejordache1869 2 жыл бұрын
Ctrl-Z and fg are native to *nix terminals. The same trick would work in pico. Both Vim and Emacs have various terminal modes that you can pop into, especially if what you're doing in the terminal has a direct bearing on what you're editing. There's something to be said for seeing it the edited file and the terminal in the same window.
2 жыл бұрын
It makes more sense to me to Ctrl-z from Emacs than pico or vim, because I use Emacs for large projects where I have multiple files open in multiple Emacs buffers. I would split the screen with Ctrl-x 3, Switch panes with Ctrl-x o, Open DireED mode with Ctrl-x f Enter. Since DirED acts like a an editor, I can mark everything, that matters to me, then copy/paste in to the text that I am editing, and so on. It could be that same is possible with Vim, but to be honest, after learning Emacs, I prefer Emacs when working with large projects.
@AndersJackson
@AndersJackson 2 жыл бұрын
@ Yes, agree. And C-z works equally well in GUI as in Terminal. In GUI you just do a C-x 5 3 and C-x 5 o and C-x 5 0 (that is C-x 5 is prefix for Frame (aka Windows in newer programs) as C-x is prefix for Windows (aka frame commands, like C-x 0, C-x 1, C-x 2, C-x 3, C-x o etc). It is consistent.
@jessejordache1869
@jessejordache1869 2 жыл бұрын
@ Yeah, The same is true in Vim, although in both cases I prefer to stay in my environment rather than backgrounding the whole thing.
@adammontgomery7980
@adammontgomery7980 2 жыл бұрын
Used Doom for a while; it's cool and I loved org mode and the scheduling feature. Elisp is terrible though. I'm learning helix now and it's way faster and feels more like vim.
@homfes
@homfes 3 жыл бұрын
This is the best pitch for Emacs I've seen so far. Whenever contemplating on whether or not I should take a leap into Emacs and see the steep learning curve, I turn away not because of fear. I don't dive through because it usually fails my internal cost-benefit analysis. If I don't really understand what I can get out of it, why would I bother to take the time to learn it?
@peacemekka
@peacemekka 3 жыл бұрын
same. I also go like 'vim does a lot for me, and it runs on the terminal which is very close to the shell which means I have access to all my scripts and other powerful apps, also being lightning fast at the same time' and I skip on emacs.
@brianchandler3346
@brianchandler3346 3 жыл бұрын
Same. Nowadays many projects are excellent, but without a good pitch and good documentation it's going to be hard to get/maintain traction. "What's the value proposition of my/our project and how should we communicate that in a video?" should be a key question to be asked in my opinion.
@viardent8823
@viardent8823 3 жыл бұрын
there is likely no "real benefit" if you are already invested in vim. certainly the jump from something like nano to either vim or emacs is not going to be found from going from vim to emacs. i will however say that there is something to the gnu philosophy that people living in the linux world are generally blind to and emacs is the only real way to learn it. i have spent years in vim and went down the configuring it, etc., rabbit hole and felt like it was perfect. on a whim a year or so ago I spent about 5 months (while i was doing some pretty low urgency web dev) in emacs (vanilla) and it was pretty insightful. that being said, my take basically was that both vim and emacs have the whole editing thing wrong for ideological reasons and have since moved to acme (plan9)
@AndersJackson
@AndersJackson 2 жыл бұрын
@@peacemekka M-x shell give you access to all your scripts from Emacs too. But you probably do way more stuff from Emacs anyway.
@AndersJackson
@AndersJackson 2 жыл бұрын
@@viardent8823 acme, it that like Wily, an Linux implementation of a Gui editor? Wily is nice, and you build it around script you run from Wily.
@maxfriis
@maxfriis Жыл бұрын
Instead of focusing on different font sizes I think you should focus on mixing fixed and variable pitch fonts. It's nicer to read variable pitch fonts comments while keeping e.g. tables and source code fonts fixed pitch. I like to use the mixed-pitch package with the Ubuntu mono and Ubuntu font. Some people might not like Canonical but if nothing else they gave us a great free font. I think some vim users are probably even using the mono variation.
@alexanderdunayevsky9893
@alexanderdunayevsky9893 11 ай бұрын
Neovim with some plugins/env may already offer it's alternatives though: 1) orgmode? -> nvim-orgmode + plugins for appearance & code evaluation 2) magit? -> vim-fugitive or similar plugins 3) images? -> nvim + kitty graphics protocol + hologram.nvim, etc 4) web browser? -> nvim + kitty graphics protocol + awrit 5) remote session? -> nvim with scp 6) which key? -> which-key.nvim 7) search anything? -> telescope with its plugins
@ricardasdarksas
@ricardasdarksas 2 жыл бұрын
Question is do you need Emacs when you already have GNU/Linux installed for OS stuff and VIM for text editing and development? What I understand, Emacs users choose Emacs and uses as UNIX Utility layer. So really they could install lightest linux distro just to run Emacs, because it's their OS.
@fartzerelli1385
@fartzerelli1385 7 ай бұрын
My biggest gripe with Emacs is the high usage of the control key. I am a total noob tho so I'm probably missing something. Vim is very intuitive and fast for me.
@qvindicator
@qvindicator 3 жыл бұрын
While regular vim or vscode users get excited when they use their editors as an IDE, emacs users get excited when they use their editor as an entire operating system.
@AndersJackson
@AndersJackson 2 жыл бұрын
Or at least as a Tilled Window manager. 🙂
@jessejordache1869
@jessejordache1869 2 жыл бұрын
Yeah, because when I'm editing a project in six different windows on 6 different servers in six different languages in vim with everything just autoformatting perfectly, it really sucks that I can't play tetris right then and there. ;)
@terrenceolivido741
@terrenceolivido741 2 ай бұрын
my friend, it is an illness. ... i need a therapist.
@ianperkins8812
@ianperkins8812 3 жыл бұрын
Well, vi, historically, was always included (in every distro I have worked with since the 90s and as far as I can tell, it's still generally included) to use in a rescue situation when you boot to single user mode to fix something, so (at least in my case), from an admin perspective, I made the investment in Vim. I guess it depends upon your use case. Heck, I even struggle with Nano nowadays, because the muscle memory is :wq!... I'm not knocking Emacs, I just never had a use case where there was a compelling reason to invest in learning it. To each their own. DT likes Emacs? Good on him and rock on Good Sir. I suppose an obligatory "get off mah lawn" is warranted here?
@AndersJackson
@AndersJackson 2 жыл бұрын
Well, since the end of 1990:th, there have been the package Tramp in Emacs. Which basically means that you can remove all editors in servers you are managing, as long as you have ssh access to the server. Just open the file /ssh:user@machine:file will login as user at machine and edit the file as it was open local. And if you open a shell from that buffer, you get a remote shell to the same user@machine. So no need to have the right editor installed in all servers, as you never move from your local machine where you have Emacs and your configuration.
@nimsu2496
@nimsu2496 Жыл бұрын
The use case argument is acceptable, but you can get the vi modal editing easily on emacs too...
@Pumpkin-Link
@Pumpkin-Link Жыл бұрын
@@AndersJackson vim can also edit remote files over ssh, that's a basic feature nowadays, heck even vscode and intellij and can do that natively. You can actually do it on any other editor, if you just mount sftp
@AndersJackson
@AndersJackson Жыл бұрын
@@Pumpkin-Link you don't understand. But as DT written, vim users usually don't understand Emacs. That is why they claim "vim can too". Of course you can ssh into the server and start the editor there. But emacs can open the file for you, without you manually ssh into the machine and start the editor in that machine. You could do that too, because Emacs can run graphically over SSH or run in text moder, like vim. And do MacOSX and MS Windows have support for sftp file system? Using sftp file system are not have support in the program, its in the OS you run the program from.
@Pumpkin-Link
@Pumpkin-Link Жыл бұрын
@@AndersJackson no, you're the one not getting it, vim itself has an ssh client built-in, its called netrw. You just need to pass hostname, path and credentials and vim will log you in and start editing remotely, as I said this is a pretty standard feature nowadays and intellij and vscode also come with ssh plugins natively
@harishkalva6237
@harishkalva6237 3 жыл бұрын
I am interested in using emacs but stuck especially using emacs for python development. I am using Doom emacs and just uncommented python in init.el but it started showing errors of python not been set. So could you help me out
@Chalisque
@Chalisque Жыл бұрын
From late 90s to very early 2000s I was an emacs user. Then I switched to vim, and have stayed with it. My other main editor is VS Code, and I happily hop between them depending on what is easier in one or the other. Occasionally I have been, out of habit, running vim in the VS Code embedded terminal at the bottom. But emacs I just find too awkward on the fingers. In VS Code I have vim mode on standby -- starts disabled, but can be toggled with ctrl-alt-v. Now if only they'd allow you to increase the size of the text in the status bar so that I can see what I'm typing when doing a complex regex...
@Chalisque
@Chalisque Жыл бұрын
I wrote my MSci (4 year undergrad) dissertation in Xemacs on Linux (can't remember which distro, probably Red Hat), my MPhilQual (half-way through Ph.D.) in WinEdt under Win2000 (by then my *nix editor of choice was vi/vim), and my Ph.D. thesis in vim/textmate on a mac mini G4. I was also getting into XCode and TextMate at the time for other coding things -- I would remain mac only until 2009, mainly mac for the next few years, gradually shifting to Ubuntu and Windows. Until recently my newest mac was a 2009 white macbook that I got for £30 on eBay and fixed up (now 2014 mac minis can be had for around £180, so I can build for new macos versions). The constant through all that, from around 2001 on, is vim. And there's still tons of vim that I don't yet know. The thing is, keystroke memory muscle learned around 2001 time is still just as valid today. It will likely still be valid long after VS Code is EOL'd. Just like the bash stuff I learned in the late 90s.
@zehph
@zehph 3 жыл бұрын
It all ends up overly complicated and feels bloated to me, I know it technically isn't,but I still rather use my shell to do the integrations and automations and have a light and snappy editor on vim, but if I didn't have that workflow, Emacs would be a cool centralised option.
@pomo1238
@pomo1238 3 жыл бұрын
i tried doom emacs and i tried some simple things like vip and :norm command and just none of them worked, i would like to try emacs but as it stands, it hasn't got the tools that keeps me invested in vim
@12kenbutsuri
@12kenbutsuri 3 жыл бұрын
I love both, but the only reason I use vim is the slow startup time if emacs stresses me to death.
@lupuscanis4370
@lupuscanis4370 2 жыл бұрын
that has a simple solution, doom emacs as a emacs-server then it will start faster than vim. and that also tells me you are running either mac or windows, because emacs in Linux is so damn fast, even with spacemacs starts fast.
@12kenbutsuri
@12kenbutsuri 2 жыл бұрын
@@lupuscanis4370 oh cool! I havnt used anything but linux the past 10 years though. Maybe because I had a lot of configuration on emacs.
@lupuscanis4370
@lupuscanis4370 2 жыл бұрын
@@12kenbutsuri and I have used linux for 22 years, so what.
@12kenbutsuri
@12kenbutsuri 2 жыл бұрын
@@lupuscanis4370 wow, you have some socializing issues don't you lol from your comments, I can tell you are probably not even good at coding, with all your big assumptions ;p
@lupuscanis4370
@lupuscanis4370 2 жыл бұрын
@@12kenbutsuri well you are so slow or why would you assume I'm here to socialize, I'm using a disposable account, seriously.
@SteinGauslaaStrindhaug
@SteinGauslaaStrindhaug 9 ай бұрын
But are there any keys or combination of keys you can hit without it accidentally being a shortcut for doing something? I'm rather clumsy; I accidentally press multiple keys by accident, and this looks rather intimidating because it seems like there's thousands of shortcuts that can do anything and since theres no strong separation between input mode and command mode (which though awkward at first, is one of the things I like about vim/neovim because there's very few surprises if I stumble in on some control keys (in fact it's more likely that a random key combo will activate something in my shell or the OS in general than activate anything in vim). (Omg, that paragraph was just one short and one VEEEERY long sentence... but I can't be bothered to fix that now...) And if I mess around in command mode and do something surprising by accident I know I can undo it with "u" in command mode or return from where ever I ended up with ":q" or ":q!" if I really messed up and do not want to save whatever I did.
@federicomuciaccia9191
@federicomuciaccia9191 Жыл бұрын
thank you for this explanation: I will surely give Emacs a try
@fluca1978
@fluca1978 3 жыл бұрын
the matrix similarity is clever! by the way magit is the only way I use gut and the reason I've not switched to fossil.
Doom Emacs On Day One (Learn These Things FIRST!)
35:10
DistroTube
Рет қаралды 159 М.
Three HUGE Mistakes New Emacs Users Make
13:28
DistroTube
Рет қаралды 91 М.
Каха ограбил банк
01:00
К-Media
Рет қаралды 3,2 МЛН
DELETE TOXICITY = 5 LEGENDARY STARR DROPS!
02:20
Brawl Stars
Рет қаралды 17 МЛН
I Love Neovim But I WONT Use It | Prime Reacts
23:22
ThePrimeTime
Рет қаралды 107 М.
Interview with an Emacs Enthusiast in 2023 [Colorized]
8:50
Programmers are also human
Рет қаралды 1,1 МЛН
5 Command Line Tools That Boost Developer Productivity (2023)
8:02
I tried 10 code editors
10:28
Fireship
Рет қаралды 2,9 МЛН
Vim Can Save You Hours Of Work
20:52
DistroTube
Рет қаралды 169 М.
Write Everything In Emacs Org Mode? You NEED This Plugin!
13:22
DistroTube
Рет қаралды 48 М.
Is It "WRONG" To Learn Emacs With The Evil Bindings
20:51
DistroTube
Рет қаралды 14 М.
5 Reasons You Should Use Emacs (And 1 Reason Why You Shouldn't)
15:56
The Linux Cast
Рет қаралды 30 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 38 М.
Emacs Plugins That Impressed Me
10:49
DistroTube
Рет қаралды 36 М.
Неразрушаемый смартфон
1:00
Status
Рет қаралды 995 М.
Mem VPN - в Apple Store
0:30
AndroHack
Рет қаралды 115 М.
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 40 МЛН
#miniphone
0:16
Miniphone
Рет қаралды 3,1 МЛН