Doom Emacs For Noobs

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

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

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

    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
      @marioschroers7318 4 ปีที่แล้ว +6

      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.

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

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

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

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

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

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

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

      @@marioschroers7318 Nobody is an expert overnight.

  • @iii-ei5cv
    @iii-ei5cv 4 ปีที่แล้ว +44

    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!

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

      Great to hear!

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

    You should make a video on running Doom on Doom Emacs.

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

      Get out...but seriously -- I'm fairly certain it's possible..

    • @Microphunktv-jb3kj
      @Microphunktv-jb3kj 4 ปีที่แล้ว

      or for contrast, make a video about Spacevim :D

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

      sounds like a duraga1 colab

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

      Is that actually possible? Would be awesome! 😀

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

      @@marioschroers7318 in theory, yes

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

    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.

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

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

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

    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 )

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

    Was actually trying to install DOOM last night (failed to do so) because of your videos, this is just the tutorial I need!

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

      oh noes it's a hacker!

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

      (btw this is a joke cuz of your username not something meant to be an insult)

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

      @@zasbirrahmanzayan8648 racist

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

    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.

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

    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.

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

    Props for Thunar. I find it much better than the other desktop environment file managers.

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

    Great work DT, as always, thank you.

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

    Vim is temporary.
    Emacs is eternal.*
    * I have never used Emacs in my life. This statement is just for the meme.

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

      Emacs is temporary, doom is ethernal

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

      @@tokiomutex4148 i see what you did there :)

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

      It's free! Give it a go. Been a user since 2014.

    • @geraldyurekiii3089
      @geraldyurekiii3089 3 ปีที่แล้ว

      just stared trying doom emacs ,very nice editor

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

      "family is forever
      gaming is for life "
      - Linus Tech tips

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

    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.

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

    This really helped a lot. Been hunting how to do configuration correctly in doom. It makes sense now

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

    DT, I’m still learning Xmonad!

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

    The env var is basically Emacs' copy of your bash environment variables. I believe it makes its own version for compatibility reasons.

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

    But can it run Doom? 😅

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

      You could run Steam inside of Emacs if you really wanted to. (I don't recommend this!)

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

      @@DistroTube i don't think DOOM is on steam (you know what i mean, the classic one, but others are avaible)

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

      very very likely

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

      DaMaksAF really miss the classic one

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

      Yes
      www.reddit.com/r/emacs/comments/f2c99b/you_can_play_doom_inside_emacs_using_eaf/

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

    What I like about Emacs is that it looks like a terminal app but is actually GUI.

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

    Very great guide! Just started using emacs and i love it

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

    23:15 You don't need to run `doom sync` after editing your config. It says right at the top of the config file ;).

  • @caninedrill_instructor5861
    @caninedrill_instructor5861 3 ปีที่แล้ว

    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.

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

    I just really love doom comments by default and when you exit...

    • @marioschroers7318
      @marioschroers7318 3 ปีที่แล้ว

      Okay, look. We've both said things you're going to regret. Quit?
      Sounds like a narcissistic wife 😃 I *love* those comments!

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

    is there any difference between doom emacs and spacemacs in term of performance or keybindings...etc

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

    Thanks for this video. I helpful for use Emacs (lose the fear) and I will started to write some code in Doom emacs

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

    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

  • @grim.reaper
    @grim.reaper 4 ปีที่แล้ว +1

    One of my fav videos so far 😍

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

    May you make a video on gpg and how you use it?

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

    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

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

    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?

  • @JuanGomez-rh1su
    @JuanGomez-rh1su 4 ปีที่แล้ว +4

    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.

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

    When emacs makes me coffee ill learn how to use it.

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

      th-cam.com/video/y0LEW7a0LoQ/w-d-xo.html time to get learning

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

      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
      @itdepends604 3 ปีที่แล้ว +2

      @@AndersJacksonwhat there's an internet protocol for coffee pots?

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

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

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

    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?

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

    Trying to escape from OBS with :wq made my day)

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

      😂😂

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

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

  • @0xDEAD_Inside
    @0xDEAD_Inside 3 ปีที่แล้ว +1

    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?

  • @pia31415
    @pia31415 3 ปีที่แล้ว

    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)

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

    "Curse you, Richards!" But thank you, Derek.

  • @proctoscopefilms
    @proctoscopefilms 3 ปีที่แล้ว

    Yo idk how or why but these videos help me sleep lol

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

    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
      @Iggy_Lakic 4 ปีที่แล้ว

      And those are...?

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

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

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

      @@andresorrego6778 I'm also a NeoVim user and fan👍 I just wanted to know your reasons😊

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

    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?

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

    DT could u make a video of your current linux setup i would really like to get a desktop setup like yours

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

      It's xmonad with xmobar on Arch. He has a few extra configs available on his website.

  • @arthuruliana9650
    @arthuruliana9650 3 ปีที่แล้ว

    Thanks for the video!! Really helped me!

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

    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!

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

      I use Ctr + Plus/Minus for zooming in/out in Doom Emacs.

    • @mitya
      @mitya 3 ปีที่แล้ว

      @@DistroTube Thanks!

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

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

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

    Thank you, DT

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

    Great , but i still love vim, even with my custom made vimrc

  • @haroldostenger5160
    @haroldostenger5160 2 ปีที่แล้ว

    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

  • @haroldostenger5160
    @haroldostenger5160 2 ปีที่แล้ว

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

  • @GNU_Linux_for_good
    @GNU_Linux_for_good 2 ปีที่แล้ว

    09:57 'opening a 2nd instance' - is there an easier way as: > *emacs&* switching back to terminal and: > *emacs* ? Thanks.

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

    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

    • @pia31415
      @pia31415 3 ปีที่แล้ว

      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.

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

    Great explanation. Peace!

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

    Nice video I think I'll start my journey on emacs, but why is doom emacs so slow ? especially while scrolling

    • @ezio934
      @ezio934 4 ปีที่แล้ว

      Why don't you try vanilla emacs? Every emacs poweruser I know does not use vim keybinds.

  • @federicobalboa9145
    @federicobalboa9145 4 ปีที่แล้ว

    thank you! Mac OS user for 10 years, switching to elementary OS and emacs, bye bye VSCode

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

    All well and good, but ed is the standard editor 😉

  • @0xDEAD_Inside
    @0xDEAD_Inside 4 ปีที่แล้ว +3

    I tried it and liked it but it was so laggy. VScode, being a browser, is much faster. Any tips?

    • @davidjeters
      @davidjeters 4 ปีที่แล้ว

      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.

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

      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.

    • @davidjeters
      @davidjeters 4 ปีที่แล้ว

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

    • @Leuvierre
      @Leuvierre 4 ปีที่แล้ว

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

    • @davidjeters
      @davidjeters 4 ปีที่แล้ว

      @@Leuvierre Never used emacs on windows so I wouldn't know. I am comparing it vim/sublimetext on linux.

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

    Recently switched to DOOM from SpaceMacs. It's honestly a lot nicer. Only negative is that PRs take FOREVER to get a response.

    • @BatteryProductions
      @BatteryProductions 4 ปีที่แล้ว

      why is doom better than spacemacs?

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

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

    • @enderger5308
      @enderger5308 4 ปีที่แล้ว

      It is a lot more minimal and allows for easy package configuration.

  • @PictorialPlanet
    @PictorialPlanet 3 ปีที่แล้ว

    Very helpful, thanks!

  • @stevet7522
    @stevet7522 4 ปีที่แล้ว

    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.

  • @engageintellect
    @engageintellect 4 ปีที่แล้ว

    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.

  • @karlhuang9
    @karlhuang9 4 ปีที่แล้ว

    Hi DT, what linux desktop skin you are using, looks neat

  • @Peteroldle
    @Peteroldle 3 ปีที่แล้ว

    Do you use a specific arch distro or did you just start from vanilla and fix it up yourself?

  • @nushankodikara
    @nushankodikara 3 ปีที่แล้ว

    Love it, thank you so much

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

    Finished! Doom is ready to go!
    ...
    ✓ Finished in 458.4543s

  • @bogdanlupu3679
    @bogdanlupu3679 4 ปีที่แล้ว

    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

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

    gotta say this is so much more user-friendly than vim or neovim

  • @bradlywalsh5786
    @bradlywalsh5786 4 ปีที่แล้ว

    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.

  • @danield.7359
    @danield.7359 3 ปีที่แล้ว

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

  • @wrynwagner9436
    @wrynwagner9436 4 ปีที่แล้ว

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

  • @muhammedabiola7515
    @muhammedabiola7515 3 ปีที่แล้ว

    I think that you need to kill your emacsclient in order for the newly saved init.el settings to reflect.

  • @playerone2772
    @playerone2772 2 ปีที่แล้ว

    For some reason my doom emacs is transparent whenever i run it. It doesn't matter how many times I uninstall and reinstall. :(

  • @johnc3403
    @johnc3403 4 ปีที่แล้ว

    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?

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

      He's mentioned at some point that he runs 12 core ryzen, 3rd gen I believe, not sure of the sku.

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

    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.

    • @AndersJackson
      @AndersJackson 4 ปีที่แล้ว

      alias emacs=emacsclient -a ""
      Now it makes sense. :-)

    • @paulkreuzmann3155
      @paulkreuzmann3155 4 ปีที่แล้ว

      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

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

    I was hesitating between vim and emacs as my main text editor for programming but I guess Doom emacs is the answer haha

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

      just use neovim it is the best CL text editor

  • @rahilarious
    @rahilarious 4 ปีที่แล้ว

    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?

    • @Leuvierre
      @Leuvierre 4 ปีที่แล้ว

      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.

    • @rahilarious
      @rahilarious 4 ปีที่แล้ว

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

    • @Leuvierre
      @Leuvierre 4 ปีที่แล้ว

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

  • @flipix100
    @flipix100 4 ปีที่แล้ว

    May be SPC-h-r-r looks more simple?

  • @satoshiborishi6898
    @satoshiborishi6898 2 ปีที่แล้ว

    Thanks so much buddy

  • @longhoacaophuc8293
    @longhoacaophuc8293 3 ปีที่แล้ว

    I wonder if DOOM emacs has anything to do with the game?

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

    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
      @robbyoconnor 4 ปีที่แล้ว

      Those suck.

    • @lorenzocabrini
      @lorenzocabrini 4 ปีที่แล้ว

      @@robbyoconnor what are "those"?

    • @robbyoconnor
      @robbyoconnor 4 ปีที่แล้ว

      @@lorenzocabrini RSI is a thing.

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

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

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

      @@lorenzocabrini I swap caps and Esc =)

  • @-VuinhThaiPhuc-Ca
    @-VuinhThaiPhuc-Ca 3 ปีที่แล้ว

    Hey dt whats ur distro ?

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

    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.

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

    What happens when you type IDDQD in Doom Emacs?

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

      You enable God-mode...but they call it RMS-mode.

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

      A quick package search reveals that there is a plugin called god-mode available for Emacs. But it doesn't do what you think.

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

    Gracias!

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

    Does it run Doom?

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

      Emacs is perfectly suited as an operating system to play Doom on.

  • @phanta5m
    @phanta5m 4 ปีที่แล้ว

    So, is this easier version of vim ?

  • @sv4nye
    @sv4nye 3 ปีที่แล้ว

    FYI: fd or fd-find package

  • @habamax
    @habamax 4 ปีที่แล้ว

    doom emacs has ~2 times slower startup on my windows machine compared to "regular" emacs (2.5 sec vs 1.2 sec).

    • @hexa3389
      @hexa3389 4 ปีที่แล้ว

      On my linux it takes less than a second.

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

    oh my, why did i just install emac? get out of my head

  • @TheGumball3k
    @TheGumball3k 4 ปีที่แล้ว

    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.

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

      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.

    • @Leuvierre
      @Leuvierre 4 ปีที่แล้ว

      Emacs is 1000 times more powerful and customizable than VSCode or Sublime or whatever.

  • @american763
    @american763 4 ปีที่แล้ว

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

    • @codeland7384
      @codeland7384 4 ปีที่แล้ว

      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.

    • @american763
      @american763 4 ปีที่แล้ว

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

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

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

  • @diegonayalazo
    @diegonayalazo 2 ปีที่แล้ว

    Thanks

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

    19:31 I peed on the keyboard, but the line is not pasted :(

  • @borgestheborg
    @borgestheborg 4 ปีที่แล้ว

    I need your wallpaper.

  • @Bens963
    @Bens963 4 ปีที่แล้ว

    Any chance of a Linux From Scratch review with 10.0 being released? There's no proprietary garbage I promise

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

    What's up with the Doom name?

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

      Id software used it for coding the og doom

  • @kevyyar
    @kevyyar 3 ปีที่แล้ว

    lol @ the end with OBS hahaha

  • @mirsella6204
    @mirsella6204 4 ปีที่แล้ว

    your home dir is.... 134 items

  • @sam-qm7ie
    @sam-qm7ie 4 ปีที่แล้ว +1

    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

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

    Vim
    1m views
    Emacs
    10k views

  • @Slavs1954
    @Slavs1954 2 ปีที่แล้ว

    DOOM Emacs is good, but...
    Can it run DOOM?

  • @justsomeguy8385
    @justsomeguy8385 4 ปีที่แล้ว

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