You don’t need to close Emacs and open a terminal to run doom commands. You can use ‘SPC h r r’ to do a ‘doom reload’ within Emacs while it’s running. You might need to reload your major mode after this, but it syncs changes in-place. When changing some configurations (like the font you changed at the end), you can actually just re-evaluate the elisp in-place too with ‘SPC m e r’ or ‘SPC m e d’ to re-eval the highlighted region or definition under your cursor. Then see if you like it. If you want to make it a persistent change, then you can do a ‘doom reload’ or ‘doom sync’. Much quicker to tweak your config this way rather than closing and starting up each time.
@@marioschroers7318 thats not an emacs thing, doom adds it. if you wait a second after you press SPC, a little menu pops up with all the options. basically everything thats not a vim keybind is accessible via SPC. also the keys are not random, they're mnemonic so they're easily remembered.
@@marioschroers7318 This is a vim thing. SPC is the leader key. You can also define major mode leader keys and a key to act as localleader.Everything has a reason for its keybindings.
@@robbyoconnor Thanks for explaining. I've heard about leader key before, but never knew what it was. I've got a long way yet to go. It's still some pages to read in Practical Vim 😁 Cheers!
I used Vim pretty much the entire time I've been a developer, tried Doom Emacs due to the content on this channel (I was SUPER skeptical at first, especially having tried various Emacs flavors before), but I quickly fell in love Much appreciated!
Emacs is a piece of software that you can learn something new about every day. Doom Emacs makes it even better with keybindings that make more sense and are comfortable for me. I even keep it open when I'm not editing text files to play tetris or read PDFs.
Thankyou! I honestly thought a package I was trying to install was broken. I did not realize that Doom has its own specific way of adding packages. Everything working now, and finally seeing why people love this software :)
I wish I knew the use cases for Emacs before this video. I started searching a good PDF summary tool and I stumble upon Emac org-mod pdf-tool and I fall in love with it. I hope it could be installed (using windows )
this video was incredible helpful, long time vim user but never used emacs and didn't like the vanilla experience so wanted a premade starting point but was having trouble understanding how to use it.
DOOM Emacs is a nice thing, but I'm still not getting on with these space plus random chars bindings despite evil mode. I still love how it keeps nagging before closing like: »Wanna leave? Sure, go ahead. See if I care.« 🤣🤣🤣 fd is a brilliant find replacement, by the way. I use it regularly now: fd "search pattern" /path/where/to/search, and your done. Love it.
Thank you Sir, I followed along with your installing Arch Linux tutorial. I installed it as a virtual machine. This is nearly perfect for me as doing so allows me to continue using the adaptive software ( ZoomText 2022 ) while allowing exploration of OSS that wouldn't, quite, be possible without ZT. After the install I decided that I wanted KDE Plasma. Followed the steps and got the login screen. Great! Logged in, and got a black screen. So I did some searching, found the answer thank Goodness I RTFM... I've started compiling an app list for any future installs. I've also followed along this tutorial and have Doom Emacs running on my Arch VM's. Yes, plural. I cloned the original Arch VM and will use the clone for tinkering so if I break it, I can just spin up a new clone from the original VM. Thank you very much for helping me explore OSS again.
Hey, try Emacs from scratch!!! I used to use Doom Emacs, but then I wanted to set up my emacs from scratch and it's a little challenge but then it has the right packages for you, so no unnecessary packages. Also you learn more about emacs and the perfomance will be much better. My emacs config is even inspired on Doom Emacs, with SPC as leader key and more or less the same org-mode config
4:50 - Basic commands in DOOM 7:38 - Config file locations 10:12 - configuring init.el 13:40 - configuring packages.el 15:06 - using doom sync 17:10 - evil tutor 21:20 - config.el Just making my life easier for when/if I come back
Suggestion: First few minutes of video should describe 1. what IS Doom Emacs and how is it different from regular Emacs? 2. Why should the viewer care about it?
As I much it pains me, I still see a lot of potential in DOOM Emacs. First two weeks and it still feels like I'm jumping way to many hoops between the "M-x", "C-x" and "C-c" or "Space" to get something done. It still feels like VIM but with 3 - 4 leader/subleaders assigned.
Just M-x make-coffee and it uses the coffee making protocol (HTCPCP, RFC-2324)[1][2] to make you a cup of coffee of your choice. Welcome to the Emacs side. :-) There are also support from W3C for "HTCPCP Vocabulary in RDF"[3]. If your coffee machine support HTCPCP-TEA, RFC-7168, [4], you can even order a cup of tea. ;-) 1) tools.ietf.org/html/rfc2324 2) en.wikipedia.org/wiki/Hyper_Text_Coffee_Pot_Control_Protocol 3) cstrobbe.github.io/WC3/TR/2008/RFC-htcpcp-in-rdf-20080401/ 4) tools.ietf.org/html/rfc7168
@@itdepends604 of course. And there are an Emacs implementation. And the Coffee Pot Control Protocol also have an extension for other pots, like Tea Pots, HTCPCP-TEA protocol. Emacs doesn't currently have that implemented, but it shouldn't be that. I wasn't so long ago when there was a lot of buzz about removing 418 (I think), which is the http error code (I am not a Coffe Pot, or if it was I am a Tea pot error code, writing this from memory).
I tried and it has some good stuff, but the evil mode was not enough for me. I just miss some features that probably need some configuration. Also, I really enjoy using Tmux to add those additional things that are not in nvim.
@@Iggy_Lakic for regular neovim, I had some issues with Ctrl I and Ctrl O. Probably some configuration, and it may be something minimal, but that's something I need everyday. In Tmux, I really like to have the sessions for each project and run different processes per session. I'm sure that Emacs can do everything, but I feel that you need to do it the Emacs way, but with Vim/Neovim, I can change anything I want in my workflow easily. Also the speed feels superior with neovim. The startup is a great plus for me.
Hey DT, Great video! Quick question: what shortcut do you use for text files zoom in / zoom out in your videos? And is that emacs specific or part of your window manager shortcuts? Thanks!
When your editor is older than your distro and also had its own distro, well, you are in another level... 😅😅😅 In my 22 years in Linux I never went the Emacs or Vim rabbit hole, only play at the surface. But still intrigue. Maybe some day. For now I'm happy enough with nano. 😃😃😃
i also tried to write an emacs-style macro and failed, because the thing seems to behave like vim, which obviosly does, but I don't think my emacs-style keyboard macros will work with it, because it expects some sort of vim macros ? I sense thou that there is the possibility of keeping the ability to write emacs keyboard macros. Is that true ? How so ? thanks
in vanilla emacs in dired if I press s I get the directory sorted by descending date. That same key in doom emacs seems to do nothing. Any hint please ? I like the thing : )
Also if you get the common error: fatal error - directory already exists while cloning github repo. just run rm -rf ~/.doom.d/ && rm -rf ~/.emacs.d/ then rerun the cloning steps.
Are you guys running Emacs on Windows? If so, it is sadly slow and laggy and there is no cure for that except for using it with WSL. There is some slowness there as well because WSL doesn't have GUI acceleration yet but it is way faster overall still. On Linux, Emacs is very fast and a delight to use. If you have slowness there, you should ask on reddit or similar because it means that there is something wrong. In Windows, WSL 2 will get full GUI app support in the future so it will be groovy.
@@Leuvierre I am currently running gentoo linux and I tried using doom emacs in the past on arch. I am not talking about the startup time for emacs. I am talking about the small lag when executing commands just as bringing up dired, splitting frames, cycling through buffers, etc. When you start going faster it becomes noticeable. Although maybe using alacritty might help.
@@davidjeters I was talking about the interface as well, not startup time. On Manjaro it feels very snappy to me because I'm used to Emacs' slowness on Windows. Maybe someone who's primarily a Linux user can chime in.
@@BatteryProductions Doom is performance orientated. Which for vim users is much more important as they are used to much faster if not instant loading. Plus it's much smaller than spacemacs and has sensible defaults and imo much more intuitive keybinds.
Hmmmm. Emacs wont start for me. when I try to start it from the command line it says: Udefined color "WINDOW_FORGROUND". I'm using alacritty in KDE and my .yml file has no WINDOW_FORGROUND variable to set. Anyone know what is going on here? Thanks in advance.
Hey DT, your bibata cursor defaults back to a breeze cursor when doom is launched. You should declare it outside of lxappearance so xorg will use it all of the time. I had the same issue and it annoyed the crap out of me.
Hi Derek. New to emacs and I'm wonder how to set the package repo (MELPA) or is already configured. I installed and that's all.😁😅. For now vim all the way but it seems a fine piece of software. I am interested for the org mode especially. And to write compile tex files
Dt I just installed elive and there is some weird project venus stuff in the download, documents, and video folders. Can you talk about it. I really like elive alot but it was weird to see the tie to venus.
had to download the Emacs source and compile it to be sure it's supported by Doom. The version in the ubuntu package manager is too old. And now... I want to get these LSPs going (python, javascript, julia)!
(Hi, I'm a vim user pls don't hurt me) A big reason I've never tried emacs is that it seems like there's no concept of text objects, and that's where "vim bindings" and "vim emulation" tend to really fall short. Are there plugins to support text objects in emacs? Alternatively, does anyone have a compelling argument to switch despite not having text objects?
Holy smoke Derek, what took you 138 seconds took me 344 seconds and I thought I had a pretty nippy PC build! Maybe it's time to upgrade a few things. What are your basic specs on that machine?
You run the bloated Doom to edit one char in your cfg file... I think if i use Emacs i should use complete package include Exwm. Then it makes sense imo.
Switched to exwm from xmonad, now I don't have to leave emacs. Very convenient. Using emacsclient wasn't bad actually, it launches instantaneously, but nothing similar to staying in emacs all the time
I use vim for basic editing. But for a project VSCode works well. VSCode got good defaults and got everything I want. Do I need to learn Emacs? Or checkout it out at least for 30 days?
Need? No. But the real question is: do you want to? Emacs is incredible and will outlast all other editors except vim but including VSCode. If you were to learn Emacs and put it in your workflow, it is crazy efficient. This comes with a very steep learning curve so whether it is worth it is up to you. If you have time and the will, set up Doom Emacs and play around with it. Org-mode is crazy on its own and is usually the first reason people switch to Emacs.
@@Leuvierre I love learning actually. Learning vim was fun and navigating through keyboard is awesome but when doing bulk search and replace and complex stuff i dont want to type commands I find myself doing those quicker in VSCode. Emacs seems like balance between vim and vscode. Dont know what's org-mode is but I'll watch some videos.
@@rahilarious If you like learning, give (Doom) Emacs a shot. For doing bulk search and replace and similar, Emacs has some superpowers. Emacs is more than VSCode or any other editor, including Vim. This sometimes can be bad thing but mostly it is good (provided you have such needs). If you haven't heard of org-mode, be prepared to be amazed. Just search for it on TH-cam. It is crazy and can give you and idea what Emacs is really capable of.
I'd suggest to at least give Emacs keybindings (or chords) a go. There really comfortable once you (1) get used to them and (2) switch caps lock and left control. Getting used to them takes like three days. You'd be surprised how quickly that Vi "muscle memory" that some think is stuck with them for life, can be replaced. I've never used Doom Emacs or that other popular one (can't remember its name now). I've mostly been on vanilla Emacs, since it doesn't force things on me. I did use XEmacs for a while (back in the days when it was considered the future of Emacs). For those who think Emacs is for them, I suggest that you eventually learn Emacs LISP and just start off with vanilla Emacs.That makes it easier for you to decide what you want and don't want as well as configure everything to your own liking. That doesn't mean Doom Emacs is bad. I can't really comment on that since, as I said, I've never used it. But it does seem like a simple way to get started with Emacs, without having to do any configuration (vanilla Emacs sucks by default).
@@robbyoconnor I've been using Emacs for over 30 years without getting RSI. I know many other Emacs users as well who have never had problems with RSI. What we all do is swap CAPS LOCK and LEFT CTRL, that is quite important, otherwise you'll eventually develop Emacs pinky. So "it sucks" because "you can get RSI" doesn't hold water. Moreover, I can imagine that constant reaching for ESC (unless you remap that), can also lead to strain injuries. Emacs RSI is like many other Emacs myths, just a myth.
used nvim (for JS, and configuring neovim). Last days tried to make it work with Nim (completion, LSP, treesitter at least..). Managed to make it work - i did not like it AT ALL, it just takes 25-50% of CPU in IDLE, damn.... so.... tried doomemacs, did edit init.el, sync - BOOM everything works! cpu is almost idle. Who's now the fastest? i dunno what magic is that... may be i'm to dumb for vim - i dont wanna spend weeks to get it going. May be for something more popular nvim is ok.
If you have a GUI, I don't see the need for this, it's ok if you want to quickly edit some files while connected via ssh otherwise VS Code is much better.
Emacs is a GUI application. Doom just uses a monospaced font, which I guess is why you thought it was terminal-based. It is not. And it is a totally different beast to VS Code.
I want to use doom emacs or even regular emacs as my primary editor but the syntax highlighting for Java and JavaScript is quite frankly awful. Anyone know any plugins or workarounds to make the syntax highlighting more like vim? 😁
Did you enable the :lang modules for them? I'm not sure if that'll help though, I switched back to Vim after using Doom for a while. 'Twas a fun experience, but I'm just a "Unix is my IDE" kinda guy :P I mean, what do you actually want from Emacs that Vim doesn't have? Genuinely asking.
@@codeland7384 the two big things for me are magit and org mode. Especially magit - its better than the vim version. And yeah I did enable the lang modules and lsp.
@@american763 Those two reasons were exactly the reason I stayed with Emacs for so long, until I realised that Fugitive (for Vim) has similar bindings! Like if you open up :G and type cc it'll commit, and if you type co it'll checkout to whatever you type in. Really handy (plus I remapped g to :G just like in Doom). If you want to learn the Fugitive bindings, I think you type g? in the :G split window. As for org-mode, I never found a viable replacement for that, so I still use it from time to time. But I get by alright with Markdown, LaTeX and Pandoc. VimWiki is also an option (though never clicked for me). As for your Doom problem, I have no idea, sorry :(
If you want to learn emacs go see Xah Lee's tutorial: ergoemacs.org/emacs/emacs.html ergoemacs.org/emacs/which_emacs.html ergoemacs.org/emacs/emacs_basics.html ergoemacs.org/emacs/emacs_keys_basics.html ergoemacs.org/emacs/emacs_adv_tips.html ergoemacs.org/emacs/emacs_esoteric.html ergoemacs.org/emacs/emacs_fun.html ergoemacs.org/emacs/emacs_mswin.html ergoemacs.org/emacs/building_emacs_on_linux.html ergoemacs.org/emacs/building_emacs_from_git_repository.html
You don’t need to close Emacs and open a terminal to run doom commands. You can use ‘SPC h r r’ to do a ‘doom reload’ within Emacs while it’s running. You might need to reload your major mode after this, but it syncs changes in-place. When changing some configurations (like the font you changed at the end), you can actually just re-evaluate the elisp in-place too with ‘SPC m e r’ or ‘SPC m e d’ to re-eval the highlighted region or definition under your cursor. Then see if you like it. If you want to make it a persistent change, then you can do a ‘doom reload’ or ‘doom sync’. Much quicker to tweak your config this way rather than closing and starting up each time.
It's these SPC plus totally random key sequences that I really don't get about Emacs. I wish there was a book on this similar to Practical Vim.
@@marioschroers7318 thats not an emacs thing, doom adds it. if you wait a second after you press SPC, a little menu pops up with all the options. basically everything thats not a vim keybind is accessible via SPC. also the keys are not random, they're mnemonic so they're easily remembered.
@@marioschroers7318 This is a vim thing. SPC is the leader key. You can also define major mode leader keys and a key to act as localleader.Everything has a reason for its keybindings.
@@robbyoconnor Thanks for explaining. I've heard about leader key before, but never knew what it was.
I've got a long way yet to go. It's still some pages to read in Practical Vim
😁
Cheers!
@@marioschroers7318 Nobody is an expert overnight.
I used Vim pretty much the entire time I've been a developer, tried Doom Emacs due to the content on this channel (I was SUPER skeptical at first, especially having tried various Emacs flavors before), but I quickly fell in love
Much appreciated!
Great to hear!
You should make a video on running Doom on Doom Emacs.
Get out...but seriously -- I'm fairly certain it's possible..
or for contrast, make a video about Spacevim :D
sounds like a duraga1 colab
Is that actually possible? Would be awesome! 😀
@@marioschroers7318 in theory, yes
Emacs is a piece of software that you can learn something new about every day. Doom Emacs makes it even better with keybindings that make more sense and are comfortable for me. I even keep it open when I'm not editing text files to play tetris or read PDFs.
Thankyou! I honestly thought a package I was trying to install was broken. I did not realize that Doom has its own specific way of adding packages.
Everything working now, and finally seeing why people love this software :)
I wish I knew the use cases for Emacs before this video.
I started searching a good PDF summary tool and I stumble upon Emac org-mod pdf-tool and I fall in love with it.
I hope it could be installed (using windows )
Was actually trying to install DOOM last night (failed to do so) because of your videos, this is just the tutorial I need!
oh noes it's a hacker!
(btw this is a joke cuz of your username not something meant to be an insult)
@@zasbirrahmanzayan8648 racist
this video was incredible helpful, long time vim user but never used emacs and didn't like the vanilla experience so wanted a premade starting point but was having trouble understanding how to use it.
DOOM Emacs is a nice thing, but I'm still not getting on with these space plus random chars bindings despite evil mode. I still love how it keeps nagging before closing like: »Wanna leave? Sure, go ahead. See if I care.«
🤣🤣🤣
fd is a brilliant find replacement, by the way. I use it regularly now: fd "search pattern" /path/where/to/search, and your done. Love it.
Props for Thunar. I find it much better than the other desktop environment file managers.
Great work DT, as always, thank you.
Vim is temporary.
Emacs is eternal.*
* I have never used Emacs in my life. This statement is just for the meme.
Emacs is temporary, doom is ethernal
@@tokiomutex4148 i see what you did there :)
It's free! Give it a go. Been a user since 2014.
just stared trying doom emacs ,very nice editor
"family is forever
gaming is for life "
- Linus Tech tips
I never used Vim or Emacs before, just the standard editors like notepad++, atom or vscodium, then I just found Doom Emacs and fell in love with it.
This really helped a lot. Been hunting how to do configuration correctly in doom. It makes sense now
DT, I’m still learning Xmonad!
The env var is basically Emacs' copy of your bash environment variables. I believe it makes its own version for compatibility reasons.
But can it run Doom? 😅
You could run Steam inside of Emacs if you really wanted to. (I don't recommend this!)
@@DistroTube i don't think DOOM is on steam (you know what i mean, the classic one, but others are avaible)
very very likely
DaMaksAF really miss the classic one
Yes
www.reddit.com/r/emacs/comments/f2c99b/you_can_play_doom_inside_emacs_using_eaf/
What I like about Emacs is that it looks like a terminal app but is actually GUI.
Very great guide! Just started using emacs and i love it
23:15 You don't need to run `doom sync` after editing your config. It says right at the top of the config file ;).
Thank you Sir,
I followed along with your installing Arch Linux tutorial.
I installed it as a virtual machine. This is nearly perfect for me as doing so allows me to continue using the adaptive software ( ZoomText 2022 )
while allowing exploration of OSS that wouldn't, quite, be possible without ZT. After the install I decided that I wanted KDE Plasma.
Followed the steps and got the login screen. Great! Logged in, and got a black screen.
So I did some searching, found the answer thank Goodness I RTFM...
I've started compiling an app list for any future installs.
I've also followed along this tutorial and have Doom Emacs running on my Arch VM's. Yes, plural.
I cloned the original Arch VM and will use the clone for tinkering so if I break it, I can just spin up a new clone from the original VM.
Thank you very much for helping me explore OSS again.
I just really love doom comments by default and when you exit...
Okay, look. We've both said things you're going to regret. Quit?
Sounds like a narcissistic wife 😃 I *love* those comments!
is there any difference between doom emacs and spacemacs in term of performance or keybindings...etc
Thanks for this video. I helpful for use Emacs (lose the fear) and I will started to write some code in Doom emacs
Hey, try Emacs from scratch!!! I used to use Doom Emacs, but then I wanted to set up my emacs from scratch and it's a little challenge but then it has the right packages for you, so no unnecessary packages. Also you learn more about emacs and the perfomance will be much better. My emacs config is even inspired on Doom Emacs, with SPC as leader key and more or less the same org-mode config
One of my fav videos so far 😍
May you make a video on gpg and how you use it?
4:50 - Basic commands in DOOM
7:38 - Config file locations
10:12 - configuring init.el
13:40 - configuring packages.el
15:06 - using doom sync
17:10 - evil tutor
21:20 - config.el
Just making my life easier for when/if I come back
Suggestion: First few minutes of video should describe 1. what IS Doom Emacs and how is it different from regular Emacs? 2. Why should the viewer care about it?
As I much it pains me, I still see a lot of potential in DOOM Emacs. First two weeks and it still feels like I'm jumping way to many hoops between the "M-x", "C-x" and "C-c" or "Space" to get something done. It still feels like VIM but with 3 - 4 leader/subleaders assigned.
When emacs makes me coffee ill learn how to use it.
th-cam.com/video/y0LEW7a0LoQ/w-d-xo.html time to get learning
Just M-x make-coffee and it uses the coffee making protocol (HTCPCP, RFC-2324)[1][2] to make you a cup of coffee of your choice.
Welcome to the Emacs side. :-)
There are also support from W3C for "HTCPCP Vocabulary in RDF"[3].
If your coffee machine support HTCPCP-TEA, RFC-7168, [4], you can even order a cup of tea. ;-)
1) tools.ietf.org/html/rfc2324
2) en.wikipedia.org/wiki/Hyper_Text_Coffee_Pot_Control_Protocol
3) cstrobbe.github.io/WC3/TR/2008/RFC-htcpcp-in-rdf-20080401/
4) tools.ietf.org/html/rfc7168
@@AndersJacksonwhat there's an internet protocol for coffee pots?
@@itdepends604 of course. And there are an Emacs implementation.
And the Coffee Pot Control Protocol also have an extension for other pots, like Tea Pots, HTCPCP-TEA protocol. Emacs doesn't currently have that implemented, but it shouldn't be that.
I wasn't so long ago when there was a lot of buzz about removing 418 (I think), which is the http error code (I am not a Coffe Pot, or if it was I am a Tea pot error code, writing this from memory).
When I try to run ".emacs.d/bin/doom install" I get an error saying "Can't find emacs in your PATH". Any ideas how to fix this?
You're missing the ~/ before .emacs.d
Trying to escape from OBS with :wq made my day)
😂😂
Last morning I hated the look of Emacs and were in doubt if it's going to be any useful for me
Now I plan on moving into it..
I didn't upgrade my doom emacs for 4 months and now after updating, doctor shows too many stale files. How do I mitigate this?
DT's change to the **config.el**:
(setq doom-font (font-spec :family "Mononoki Nerd Font")
doom-variable-pitch-font (font-spec :family "Mononoki Nerd Font" :size 15))
(setq doom-theme 'doom-palenight)
"Curse you, Richards!" But thank you, Derek.
Yo idk how or why but these videos help me sleep lol
I tried and it has some good stuff, but the evil mode was not enough for me. I just miss some features that probably need some configuration.
Also, I really enjoy using Tmux to add those additional things that are not in nvim.
And those are...?
@@Iggy_Lakic for regular neovim, I had some issues with Ctrl I and Ctrl O. Probably some configuration, and it may be something minimal, but that's something I need everyday.
In Tmux, I really like to have the sessions for each project and run different processes per session.
I'm sure that Emacs can do everything, but I feel that you need to do it the Emacs way, but with Vim/Neovim, I can change anything I want in my workflow easily.
Also the speed feels superior with neovim. The startup is a great plus for me.
@@andresorrego6778 I'm also a NeoVim user and fan👍 I just wanted to know your reasons😊
Didn't DT make a video a while back where he said he was gonna go back to vim because he preffered it. Did he do a 180 and switch back to doom?
DT could u make a video of your current linux setup i would really like to get a desktop setup like yours
It's xmonad with xmobar on Arch. He has a few extra configs available on his website.
Thanks for the video!! Really helped me!
Hey DT,
Great video!
Quick question: what shortcut do you use for text files zoom in / zoom out in your videos?
And is that emacs specific or part of your window manager shortcuts?
Thanks!
I use Ctr + Plus/Minus for zooming in/out in Doom Emacs.
@@DistroTube Thanks!
When your editor is older than your distro and also had its own distro, well, you are in another level... 😅😅😅
In my 22 years in Linux I never went the Emacs or Vim rabbit hole, only play at the surface. But still intrigue. Maybe some day. For now I'm happy enough with nano. 😃😃😃
Thank you, DT
Any time!
Great , but i still love vim, even with my custom made vimrc
i also tried to write an emacs-style macro and failed, because the thing seems to behave like vim, which obviosly does, but I don't think my emacs-style keyboard macros will work with it, because it expects some sort of vim macros ? I sense thou that there is the possibility of keeping the ability to write emacs keyboard macros. Is that true ? How so ? thanks
in vanilla emacs in dired if I press s I get the directory sorted by descending date. That same key in doom emacs seems to do nothing. Any hint please ? I like the thing : )
09:57 'opening a 2nd instance' - is there an easier way as: > *emacs&* switching back to terminal and: > *emacs* ? Thanks.
for anyone using Ubuntu (or its derivatives like Mint) - You need latest:
*Emacs:*
sudo add-apt-repository ppa:kelleyk/emacs
sudo apt update
sudo apt install emacs27
*Git:*
sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt install git
Also if you get the common error: fatal error - directory already exists while cloning github repo. just run
rm -rf ~/.doom.d/ && rm -rf ~/.emacs.d/
then rerun the cloning steps.
Great explanation. Peace!
Nice video I think I'll start my journey on emacs, but why is doom emacs so slow ? especially while scrolling
Why don't you try vanilla emacs? Every emacs poweruser I know does not use vim keybinds.
thank you! Mac OS user for 10 years, switching to elementary OS and emacs, bye bye VSCode
All well and good, but ed is the standard editor 😉
I tried it and liked it but it was so laggy. VScode, being a browser, is much faster. Any tips?
Same here, the lag in emacs drives me crazy. Although Doom is faster than spacemacs. Emacs seems cool, but I can't take the lag.
Are you guys running Emacs on Windows? If so, it is sadly slow and laggy and there is no cure for that except for using it with WSL. There is some slowness there as well because WSL doesn't have GUI acceleration yet but it is way faster overall still.
On Linux, Emacs is very fast and a delight to use. If you have slowness there, you should ask on reddit or similar because it means that there is something wrong.
In Windows, WSL 2 will get full GUI app support in the future so it will be groovy.
@@Leuvierre I am currently running gentoo linux and I tried using doom emacs in the past on arch. I am not talking about the startup time for emacs. I am talking about the small lag when executing commands just as bringing up dired, splitting frames, cycling through buffers, etc. When you start going faster it becomes noticeable. Although maybe using alacritty might help.
@@davidjeters I was talking about the interface as well, not startup time. On Manjaro it feels very snappy to me because I'm used to Emacs' slowness on Windows. Maybe someone who's primarily a Linux user can chime in.
@@Leuvierre Never used emacs on windows so I wouldn't know. I am comparing it vim/sublimetext on linux.
Recently switched to DOOM from SpaceMacs. It's honestly a lot nicer. Only negative is that PRs take FOREVER to get a response.
why is doom better than spacemacs?
@@BatteryProductions Doom is performance orientated. Which for vim users is much more important as they are used to much faster if not instant loading. Plus it's much smaller than spacemacs and has sensible defaults and imo much more intuitive keybinds.
It is a lot more minimal and allows for easy package configuration.
Very helpful, thanks!
Hmmmm. Emacs wont start for me. when I try to start it from the command line it says: Udefined color "WINDOW_FORGROUND". I'm using alacritty in KDE and my .yml file has no WINDOW_FORGROUND variable to set. Anyone know what is going on here? Thanks in advance.
Hey DT, your bibata cursor defaults back to a breeze cursor when doom is launched. You should declare it outside of lxappearance so xorg will use it all of the time.
I had the same issue and it annoyed the crap out of me.
Hi DT, what linux desktop skin you are using, looks neat
Do you use a specific arch distro or did you just start from vanilla and fix it up yourself?
Love it, thank you so much
Finished! Doom is ready to go!
...
✓ Finished in 458.4543s
Hi Derek. New to emacs and I'm wonder how to set the package repo (MELPA) or is already configured.
I installed and that's all.😁😅.
For now vim all the way but it seems a fine piece of software. I am interested for the org mode especially. And to write compile tex files
gotta say this is so much more user-friendly than vim or neovim
Dt I just installed elive and there is some weird project venus stuff in the download, documents, and video folders. Can you talk about it. I really like elive alot but it was weird to see the tie to venus.
had to download the Emacs source and compile it to be sure it's supported by Doom. The version in the ubuntu package manager is too old. And now... I want to get these LSPs going (python, javascript, julia)!
(Hi, I'm a vim user pls don't hurt me)
A big reason I've never tried emacs is that it seems like there's no concept of text objects, and that's where "vim bindings" and "vim emulation" tend to really fall short.
Are there plugins to support text objects in emacs? Alternatively, does anyone have a compelling argument to switch despite not having text objects?
I think that you need to kill your emacsclient in order for the newly saved init.el settings to reflect.
For some reason my doom emacs is transparent whenever i run it. It doesn't matter how many times I uninstall and reinstall. :(
Holy smoke Derek, what took you 138 seconds took me 344 seconds and I thought I had a pretty nippy PC build! Maybe it's time to upgrade a few things. What are your basic specs on that machine?
He's mentioned at some point that he runs 12 core ryzen, 3rd gen I believe, not sure of the sku.
You run the bloated Doom to edit one char in your cfg file... I think if i use Emacs i should use complete package include Exwm. Then it makes sense imo.
alias emacs=emacsclient -a ""
Now it makes sense. :-)
Switched to exwm from xmonad, now I don't have to leave emacs. Very convenient. Using emacsclient wasn't bad actually, it launches instantaneously, but nothing similar to staying in emacs all the time
I was hesitating between vim and emacs as my main text editor for programming but I guess Doom emacs is the answer haha
just use neovim it is the best CL text editor
I use vim for basic editing. But for a project VSCode works well. VSCode got good defaults and got everything I want.
Do I need to learn Emacs? Or checkout it out at least for 30 days?
Need? No. But the real question is: do you want to? Emacs is incredible and will outlast all other editors except vim but including VSCode. If you were to learn Emacs and put it in your workflow, it is crazy efficient. This comes with a very steep learning curve so whether it is worth it is up to you.
If you have time and the will, set up Doom Emacs and play around with it. Org-mode is crazy on its own and is usually the first reason people switch to Emacs.
@@Leuvierre I love learning actually. Learning vim was fun and navigating through keyboard is awesome but when doing bulk search and replace and complex stuff i dont want to type commands I find myself doing those quicker in VSCode.
Emacs seems like balance between vim and vscode. Dont know what's org-mode is but I'll watch some videos.
@@rahilarious If you like learning, give (Doom) Emacs a shot.
For doing bulk search and replace and similar, Emacs has some superpowers.
Emacs is more than VSCode or any other editor, including Vim. This sometimes can be bad thing but mostly it is good (provided you have such needs).
If you haven't heard of org-mode, be prepared to be amazed. Just search for it on TH-cam. It is crazy and can give you and idea what Emacs is really capable of.
May be SPC-h-r-r looks more simple?
Thanks so much buddy
I wonder if DOOM emacs has anything to do with the game?
I'd suggest to at least give Emacs keybindings (or chords) a go. There really comfortable once you (1) get used to them and (2) switch caps lock and left control. Getting used to them takes like three days. You'd be surprised how quickly that Vi "muscle memory" that some think is stuck with them for life, can be replaced.
I've never used Doom Emacs or that other popular one (can't remember its name now). I've mostly been on vanilla Emacs, since it doesn't force things on me. I did use XEmacs for a while (back in the days when it was considered the future of Emacs). For those who think Emacs is for them, I suggest that you eventually learn Emacs LISP and just start off with vanilla Emacs.That makes it easier for you to decide what you want and don't want as well as configure everything to your own liking.
That doesn't mean Doom Emacs is bad. I can't really comment on that since, as I said, I've never used it. But it does seem like a simple way to get started with Emacs, without having to do any configuration (vanilla Emacs sucks by default).
Those suck.
@@robbyoconnor what are "those"?
@@lorenzocabrini RSI is a thing.
@@robbyoconnor I've been using Emacs for over 30 years without getting RSI. I know many other Emacs users as well who have never had problems with RSI. What we all do is swap CAPS LOCK and LEFT CTRL, that is quite important, otherwise you'll eventually develop Emacs pinky.
So "it sucks" because "you can get RSI" doesn't hold water. Moreover, I can imagine that constant reaching for ESC (unless you remap that), can also lead to strain injuries.
Emacs RSI is like many other Emacs myths, just a myth.
@@lorenzocabrini I swap caps and Esc =)
Hey dt whats ur distro ?
used nvim (for JS, and configuring neovim). Last days tried to make it work with Nim (completion, LSP, treesitter at least..). Managed to make it work - i did not like it AT ALL, it just takes 25-50% of CPU in IDLE, damn.... so.... tried doomemacs, did edit init.el, sync - BOOM everything works! cpu is almost idle. Who's now the fastest? i dunno what magic is that... may be i'm to dumb for vim - i dont wanna spend weeks to get it going.
May be for something more popular nvim is ok.
What happens when you type IDDQD in Doom Emacs?
You enable God-mode...but they call it RMS-mode.
A quick package search reveals that there is a plugin called god-mode available for Emacs. But it doesn't do what you think.
Gracias!
Does it run Doom?
Emacs is perfectly suited as an operating system to play Doom on.
So, is this easier version of vim ?
FYI: fd or fd-find package
doom emacs has ~2 times slower startup on my windows machine compared to "regular" emacs (2.5 sec vs 1.2 sec).
On my linux it takes less than a second.
oh my, why did i just install emac? get out of my head
If you have a GUI, I don't see the need for this, it's ok if you want to quickly edit some files while connected via ssh otherwise VS Code is much better.
Emacs is a GUI application.
Doom just uses a monospaced font, which I guess is why you thought it was terminal-based. It is not. And it is a totally different beast to VS Code.
Emacs is 1000 times more powerful and customizable than VSCode or Sublime or whatever.
I want to use doom emacs or even regular emacs as my primary editor but the syntax highlighting for Java and JavaScript is quite frankly awful. Anyone know any plugins or workarounds to make the syntax highlighting more like vim? 😁
Did you enable the :lang modules for them? I'm not sure if that'll help though, I switched back to Vim after using Doom for a while. 'Twas a fun experience, but I'm just a "Unix is my IDE" kinda guy :P I mean, what do you actually want from Emacs that Vim doesn't have? Genuinely asking.
@@codeland7384 the two big things for me are magit and org mode. Especially magit - its better than the vim version. And yeah I did enable the lang modules and lsp.
@@american763 Those two reasons were exactly the reason I stayed with Emacs for so long, until I realised that Fugitive (for Vim) has similar bindings! Like if you open up :G and type cc it'll commit, and if you type co it'll checkout to whatever you type in. Really handy (plus I remapped g to :G just like in Doom). If you want to learn the Fugitive bindings, I think you type g? in the :G split window. As for org-mode, I never found a viable replacement for that, so I still use it from time to time. But I get by alright with Markdown, LaTeX and Pandoc. VimWiki is also an option (though never clicked for me). As for your Doom problem, I have no idea, sorry :(
Thanks
19:31 I peed on the keyboard, but the line is not pasted :(
I need your wallpaper.
Any chance of a Linux From Scratch review with 10.0 being released? There's no proprietary garbage I promise
What's up with the Doom name?
Id software used it for coding the og doom
lol @ the end with OBS hahaha
your home dir is.... 134 items
If you want to learn emacs go see Xah Lee's tutorial: ergoemacs.org/emacs/emacs.html
ergoemacs.org/emacs/which_emacs.html
ergoemacs.org/emacs/emacs_basics.html
ergoemacs.org/emacs/emacs_keys_basics.html
ergoemacs.org/emacs/emacs_adv_tips.html
ergoemacs.org/emacs/emacs_esoteric.html
ergoemacs.org/emacs/emacs_fun.html
ergoemacs.org/emacs/emacs_mswin.html
ergoemacs.org/emacs/building_emacs_on_linux.html
ergoemacs.org/emacs/building_emacs_from_git_repository.html
Vim
1m views
Emacs
10k views
DOOM Emacs is good, but...
Can it run DOOM?
`g c c` comments/uncomments a line. `g c c` comment/uncomments multiple lines, so `g c 3 c` will comment/uncomment 3 lines down.