Org Mode Basics In Doom Emacs

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ม.ค. 2025

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

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

    I spent a good four hours making an org-mode document and meticulously practicing all the steps in this video. I feel more powerful and capable thanks to your instruction. Thank you very much for your excellent educational content.

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

    For those interested in the "pretty" bullet points in DOOM Emacs you need to edit your init.el file and change the org line to "(org +pretty)". Don't forget to sync your configuration!

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

    I was watching org mode tutorials by Rainer König (highly recommended) when I saw this new upload. Org mode is insane.

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

      You have not seen much, Literate programming, inspired Jupyter, Org can solve excel table formulas and all that flashy of most "noters"

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

    Awesome! Please continue with doom emacs and more advanced topics (captures, eshell, agenda workflows). Thanks

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

    I really like the way you review commands, after introducing every 2 or 3 command. Learning emacs along the vim.Thank you!!!

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

    Thank you for this introduction to org mode in doom emacs. I was feeling overwhelmed with the dual sets of bindings (emacs & evil), but this helped a lot.

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

    This seems really useful for note taking in classes

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

    I don't have the field circle just the *. Is there a way to enable it?

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

      I'd really like to know this as well

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

      You have to go to your init file and replace "org" with "(org +pretty)", i.e. add the "pretty" flag then refresh emacs. It's been disabled by default because doom maintainer said it was considered slow and unstable, but it should be fine so long as you don't experience any problems. Tell me if this worked out for you

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

      @@KGafterdark thanks a lot for the answer. weirdly enough, this did not work for me. but I did find another way! I added the following to my config.el: (use-package org-bullets :config (add-hook ‘org-mode-hook (lambda () (org-bullets-mode 1))))

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

      @@KGafterdark This worked but all the symbols are not full. They have a piece missing from the right-hand side.

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

      @@maderxyz You might have had to enable the org mode prettify mode

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

    I just started last week with Org mode, so this is the help I was looking for! Thanks!

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

    Thank you, Derek. Very interesting.

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

    Great intro. I use org mode a lot and there were some things in here that I've missed.

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

    Distrotube to the rescue! Thank you for making this.

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

    Cool stuff. I still probably won't use emacs, but you are doing a great demonstration.

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

      Both Org-mode, with Org-babel, and Magit is reasons to use Emacs. If nothing else like the really cool Tramp extension.

  • @user-sf9gs2pg1b
    @user-sf9gs2pg1b ปีที่แล้ว

    Thanks, I was so stuck on how to get any of this stuff working, this helped so much.

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

    Thank you so much distrotube, bashbunni reccomended you.

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

    This is all I wanted coming from Logseq, Obsidian and Roam research

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

    Thank for the help on my emacs journey.

  • @mxjxn-art
    @mxjxn-art 4 ปีที่แล้ว +2

    wow you really packed in the info into this video, thanks for the good content!

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

    Just when i needed this tutorial! Thank you!

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

    I wiped my screen multiple times thinking there are fingerprints on the screen. Took me a moment to realise it’s that sneaky wallpaper.

  • @awabkhan2977
    @awabkhan2977 8 หลายเดือนก่อน +2

    how do you get the bullet points after typing the asterisk and hitting enter mine doesn't do that

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

    great, thanks so much was really struggling taking my first few steps and this helped a lot

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

      Glad it helped!

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

      ​@@DistroTube
      you seem to have removed the dockument
      please either readd it or replace the link with:
      gitlab.com/dwt1/dotfiles/-/tree/2505e6ba5631a0d93dbb6e99f18e9dd9ed022489

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

    Thank you very much for this useful video!

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

    8:13 zc and zo are from vim! But yeah doom does redo some of the emacs RWI bindings by decomposing it into chords instead

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

    Does anyone know how to get those header icons he has?

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

    Quick note on TABLES:
    Create your heading row as usual then (still in INSERT mode) press RETURN to get to the next row and type:
    |-TAB RET [that's: `pipe`-`dash`-`TAB`-`RETURN` and it will create a horizontal line space and then create a new empty table row.
    EDIT: Never mind, 30 seconds later into the video and I learn a new key-combination to do just that :/ : (SPC m b -)

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

    Thank you for this content.

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

    DT, looks like you're enjoying Emacs after all, despite so much time spent with Vim :)

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

    How do i get those org bullets in doom emacs

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

    Hey Derek, Awesome content. Thanks to you, I started the switch from VIM to Doom emacs. I cant find the org file you are using here in your master repo. "org-mode-basics-in-doom-emacs.org" did not exist on "master". please update the file. cheers!

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

      I didn't find either.

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

      You can find it if you look back in git history to the date when this video was uploaded: gitlab.com/dwt1/dotfiles/-/commit/2505e6ba5631a0d93dbb6e99f18e9dd9ed022489

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

    Im sorry derek but i cant manage to find the org file u made in ur gitlab page, can you specify the location? thank you

  • @Stoic-cam
    @Stoic-cam 4 วันที่ผ่านมา

    How I can activate the autocompletion for the lists? (e.g. automatic + or - after press enter in a list item)

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

    Thanks! This was quite helpful

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

    Hey DT. Some of the motion shortcuts don't work for me with a stock doom Emacs install. What gives?

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

      I'm in the same boat. I figured out that my default configuration required me to hit space and dot to get to the file manager that DT got to with SPC SPC. I can't figure out how to get the asterisks to make an outline like he did. I just get asterisks and no highlighting or color change. Hitting enter creates creates new line. I am missing something here

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

      @@ChrisAnders The org mode major mode needs to be enabled for it to enable the org features. Though it should do that automatically upon recognising the .org extension.

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

    Hey, I started to get serious coding on vim just a couple of weeks before, and then I saw Doom Emacs and man, I can reuse almost all the shortcuts, but also I enjoy all the learning. Thanks bro.
    One question, how you get that icons in the Org mode? In my emacs it just show an '*' with other colors.

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

      To enable the pretty icons in Org mode,
      1. Go to your Doom Emacs init file (usually ~/.doom.d/init.el).
      2. Under :lang, you'll see a bunch of entries for different languages Emacs supports.
      3. If there is an 'org' entry, replace it with (org +pretty), including the parentheses. If not, add (org +pretty) as an entry.
      4. Run 'doom sync' to sync your changes.

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

    hey dt i think gl isnt a move parent/child element (I dont know if it changed or windows setting).

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

      it was broken by evil-lion mode

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

    It's simple maths if Dt covers Emacs I click

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

      For simple maths I'd recommend org mode, it supports latex after all

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

      @@SirRichard94 and HTML, and OpenOffice, and numerous other formats to export Org mode to.
      And don't forget Org-babel, if you want to enter code into an Org document. You can even run the code and get the result into the document. You can also take a tabel, run it through a code, and generat a new table.
      I use it to handle my Emacs configuration, that is my ~/.emacs.d/init.el etc.

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

      @@AndersJackson yeah I use babel all the time, it's great. I usually make diagramas with plantuml using org-babel. Org is the best feature.

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

    How do you unindent completely after a set of bulletpoints?

  • @VictorMartinez-vi7jx
    @VictorMartinez-vi7jx 2 ปีที่แล้ว

    My documents don't show the proper circle icons when creating headlines :( It just hows the asterisks as they are
    Should I configure something extra?

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

    Like we have ctrl-enter to insert same level heading, do we have something to insert link templates in org-mode

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

    Hey Distrohuggers,
    My install of Fedora Rawhide is now using kernel "5.8.0-0.rc2.20200622git," or some iteration of 5.8-rc2.
    All in all, I have had great success living in Rawhide on hardware for a year now, and I really do not know diddly about Linux.
    Something weird is going on with DNF or the way Gnome is handling updates in 3.37. I have no idea yet, if it is just my install, or if something is being worked on, as I have not had the enthusiasm to follow the forums.
    What I think is so cool, is that if Rawhide is stable enough for somebody like me to use it, then any distros behind Fedora in development, will eventually gain from Rawhide's trials and errors, and so desktop distros are going to be even more stable in 2021. Meaning, I bet it will be a year before Linux Mint has some of the stuff my Rawhide install is currently using, and one could definitely say that for Debian Stable.
    The following packages are the git-versions used by Rawhide ( versus using the most recent stable versions ): plymouth, lockdev, runc, podman, conmon, numad, audit, and all the kernel packages, many many more. And for the other 500 plus packages, Rawhide uses the latest upstream versions of things like glibc, systemd, gnome. And like other developmental versions of a distro, all the clients like libreoffice, inkscape, are a week or two newer than what you would currently see in something like Tumbleweed.
    Fedora Rawhide will branch off in a few months and form what will become Fedora Version 33. That all being said, to the untrained eye, there is no discernible difference between Fedora Rawhide in June of 2020 than the current Fedora 32. However, nearly every package has had some bug fixed, or a few lines of code modified, and hopefully improved. At this stage, it might be safe to say there are a few regressions.
    Live on the Edge - Live in Rawhide

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

    thx for the video! org-schedule: SPC m d s for me

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

    Schedule is now SPC m d s. How often do they change those bindings? I just did a fresh install of Doom Emacs and the key bindings seem a little different.

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

    2023-09: Find file was bound to SPC-. for me. SPC-SPC was "Find file in project" which prompted me to "Switch to project".

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

    Hey DT, why have you chosen Doom-Emacs over Spacemacs?
    I assume you've considered or tried it. If that's correct, what do like better in Doom Emacs?

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

      @@dansko9490 I'm using Doom now. The keybindings are the same overall, but it's way faster! Thanks!

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

      I was more thinking about why he didn't used the original keybindings from vanilla GNU Emacs.

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

    Hey, can I directly pest my screenshots in emacs?
    Actually, I want to create a note but I have to save my screenshot at first and then manually set the path to org-mode.
    It will be better if I directly pest the image from the clip code.
    please make a video or give the solution about it.

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

    Which theme are you using?

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

    I think org-mode is good start for doom Emcas.

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

    How I can setup arrows instead tabs / spaces in org mode? It looks so beautiful.

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

    Amazing ! Thanks !

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

    Looks like your org mode file example is no longer on gitlab.

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

    hey DT can you do a video on how to make a backup of your arch install to a github which you can just wget/curl it and reinstall it like that, basically saying if i were to format my drive and be able to reinstall my already configured arch install, also im not sure if this is possible i tried researching arch wikis etc... but cant find anything on the subject

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

      Edit: i checked, there is an even better way to only copy the files:
      tar -zcvf backup.tar.gz /

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

      @@froge8121 you probably want to check out cfengine, salt, chef, etc if you want to do that.
      You can also do version control your files in /etc.
      But with the other tools, you can automat installation of packages and configure them, which is what you probably want.

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

      Pro tip for archinstall, if you leave all the password fields blank in the JSON file, it will prompt you for them during the install. That way you can have your configuration in a public github repo without any security risks.

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

    `SPC m t` is because `SPC m` is for the current major mode

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

    Thanks for video. I heard that in org mode you can make pretty complex projects, say under one heading some tables, under another heading some python code that could actually be run, then some latex and all it the same file. Is that so or I misunderstood somehow? If yes, can really code access data from the tables or it's too much?)

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

      Yes, you have a calc minor mode, which let you make column calculations like Calc in LibreOffice.
      With Org-babel, you can add code in a Org-mode document, that you can executed and it can take a table as input, and add output into the document. It is already there.
      You can even run different codes of the same language in different environment. It is really nice.
      You can also extract the code to one or more files outside of Org-mode.
      So, look into Org-babel for the code stuff.

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

    What theme do you use?

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

    Font size is very small on my cellphone. It's hard to see, for me

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

      Then watch on bigger screen and stop complaining

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

      @@wiktorwektor123 I wanted to notify him. Some people don't have bigger screen and btw, what is dt's goal anyway?

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

    Huh, I can't use a whole bunch of the keybindings! Basically none of the stuff in "Structure Editing" works (e.g. "vae", "dae", "M-j", etc.). I have basically a vanilla Doom Emacs configuration, I've changed almost nothing - do you have any idea what could be causing this?

    • @user-sf9gs2pg1b
      @user-sf9gs2pg1b ปีที่แล้ว

      I can't use all the keybindings either, I think it may be because this is three years old? Odd for a program to remove keybindings in three years time though... Who knows.

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

    How does he have a slightly transparent background? I can’t figure out how to get it working in graphical emacs :/

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

      Picom

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

      @@liftlinux9421 ah I use picom I just don’t know how to add an alpha value to the graphical emacs background

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

      @@Tray2323FTW Determine the wm class value (using xprop) and try changing the opacity in the picom config.

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

      @@DevvratSingh007 ah I hadn’t thought of that thank you! I gave up on emacs a while ago because of a slight cursor lag that apparently had no fix but maybe it’ll become my email client :o

  • @yoij-ov3sd
    @yoij-ov3sd 4 ปีที่แล้ว

    Org mode doesn't convert the asterisks into those nice circle level symbols for me? Any idea why? I'm just using regular emacs

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

      Install a package called org-bullets.

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

    Why the heading ih her terminal looks very different? My heading in Windows aplication looks awful (just *) even in Linux

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

    Hey it would be reall neat if you put timestamps in the description with all the commands so that it is easy to find them later

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

    Life's a lesson.
    You learn it when you're thru...

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

    Instead of M-x, you can use the Vim's ':' key.

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

    I'm late to the party... what's the theme there? it gives off a very strong Pop OS vibe.

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

    thank you 😊

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

    Thanks for the video just started with Emacs! Anyone using Arch w/ DWM and aware why emacs crashes when attempting to use level 3 bullets with the pretty package option?

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

    Wow! Thanks

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

    strange, zc and zo don't work for me, only za in doom emacs

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

    The manual is extensive, yes. But is it extensible?

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

    What about a video on QEMU/KVM features, maybe people will forget about VMware and VirtualBox :D

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

    Doom Emacs with OpenGenera ?

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

    Is your emacs transparent? Looks nice if so.

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

      I use 95% opacity in compton (or picom):
      "95:class_g *?= 'emacs'",

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

    thanks you. but please, use your screen real-estate in your videos. can barely see text

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

    Biggest problem with org mode is that its pretty crappy outside of emacs, so if you use any other editor the experience is much worse

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

      Org-mode is a mode in Emacs. Yes, people have tried to make something like this in Vim, but gave up. They started to use Emacs instead to access Org-mode. Still used vim(1) but run Emacs like an Org-mode editor.
      So Yes, learn Emacs, just for Org-mode and Org-babel, and agenda, todo etc.
      End Yes, you can export it all to Pdf, LaTeX, OpenOffice, HTML and other formats.
      And not to mention Magit and Tramp in Emacs...

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

      @@AndersJackson can I ask you, is there a quick way to jump to headings or line with tags/ searching . also how to select whole lines in custom amount in a fast way no click selecting

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

    Got an ad for pants that use proprietary technique for making them stretchy

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

    Spc m e h h and you'll get a nice html file to upload to your website. You can even make a style for your org-mode-html-export to make it match the style of your website. Oh, and that's is a Hugo extension (plug-in?) For org-mode-export. I'm sorry, you might already know this, but I just love org mode and I'm very excited hehe.
    I write my organizations report, meeting minutes and agenda with org-mode and export the report and minutes to html (readtgeorg them) and post them on our website. And the agenda I export it as PDF thought latex with color highlighting.
    It has improved my creativity so much. I never thought I'd say this about emacs hehe.
    Edit: thank you so much for the video :-) .

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

    Beer more important than milk & egg
    [X] Kinda weird

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

    Great introduction, but I think you rushed org-agenda a bit too much

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

      Bur, now you know it exists, so you can check it out yourself.
      What he didn't show was Org-babel.

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

    My * don't change to those symbols. V2.0.9

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

    It's asterISK, not asterIX

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

    asteriSK* ;)

  • @joesligo1516
    @joesligo1516 14 วันที่ผ่านมา

    I wanna scream