How I used Org-mode and Neovim to Pass all my Classes

Sdílet
Vložit
  • čas přidán 7. 05. 2022
  • Instagram: / josh.petitma (@josh.petitma)
    GitHub: github.com/joshpetit
    Org-mode (original emacs application)
    orgmode.org/
    Neovim (My editor)
    github.com/neovim/neovim
    Nvim-orgmode (the thing I use with orgmode)
    github.com/nvim-orgmode/orgmode
    Orgzly-android (the thing I use to view org on my phone)
    github.com/orgzly/orgzly-android
    Syncthing (for all your syncing needs)
    github.com/syncthing/syncthing
    Zerotier (to keep everything on the same network)
    github.com/zerotier/ZeroTierOne
  • Věda a technologie

Komentáře • 102

  • @clay38391
    @clay38391 Před 2 lety +54

    would’ve been nice to know how to pass all my classes at the beginning of the semester

    • @joshpetit
      @joshpetit  Před 2 lety +7

      Lollll had to do a test run to see that orgmode gave me a 100% pass rate.

    • @coscorrodrift
      @coscorrodrift Před 2 lety +3

      LMAOOOOOOOOO
      "how im going to pass all my classes with Org-mode i swear dude" doesn't hit the same tho

  •  Před 2 lety +61

    Best recommendation you gave, that I learn later in life: that of just taking the notes IN THE MOMENT, without thinking where to put them, but after. (This is independently of what tools you use for this).

    • @joshpetit
      @joshpetit  Před 2 lety +4

      Yes! That's a great way to say it. That methodology has been a life saver for me haha.

  • @conceptualhoney
    @conceptualhoney Před rokem +9

    just came from james' video and this is a nice video indeed. keep it up! : )

  • @tylerbrown9797
    @tylerbrown9797 Před rokem +5

    Org mode + Syncthing is life changing and so stupidly simple to keep running

    • @joshpetit
      @joshpetit  Před rokem +3

      I KNOWWW, literally has changed my life forever.

  • @lightarmanov6266
    @lightarmanov6266 Před 2 lety +23

    I also used org mode for my compsci degree and the best part for me was using litterate programming to program the algorithms and equations I was using then having thoes algorithms export the question? method and solution as latex into the org doc, that way I could autogenerate practice problems and example solutions to revise on. Also I could give the pdf to friends who didn't use org or as I had in one class another person also used org mode so we could use git to colab

    • @joshpetit
      @joshpetit  Před 2 lety +6

      The export feature of orgmode is really powerful, not just because it can do PDF but since it has so many configurations and options to get it to look how you'd like.
      I've seen static site generators that convert orgmode files into nice looking blogs. It's all awesome stuff!

  • @studytoreachsuccess
    @studytoreachsuccess Před rokem +7

    bless you

  • @TroyFletcherKeyboards
    @TroyFletcherKeyboards Před rokem +1

    I love the refile idea and it definitely solves the problem of synchronizing from on mobile device

    • @joshpetit
      @joshpetit  Před rokem

      Thank you! It also helps me prioritize note taking now rather than organizing everything immediately.

  • @mattsadventureswithart5764
    @mattsadventureswithart5764 Před 11 měsíci +2

    I tend to frown upon comments that fail to mention the content of a video, but are about the looks of a video presenter. For this video, I'm going to do what I normally frown on.
    Your hair in the video thumbnail is what made me click on the video. It reminded me of a friend from school decades back. What kept me watching is that your content also reminded me of him, and has triggered some good memories.
    Thank you for making me smile ❤

    • @joshpetit
      @joshpetit  Před 10 měsíci +2

      Oh wow! I never thought my hairdo would be able to do something like that, that's very humbling thanks for sharing. I have since cut my hair, but the memory of it lives on in my older videos haha.

  • @asynthe
    @asynthe Před rokem +4

    thanks bro. used to enjoy obsidian a lot but wanted to step up my game with the tasks and stuff. very useful when studying by myself.

  • @learnwithjustintoday
    @learnwithjustintoday Před rokem

    Thanks for sharing! I got a lot of great tips. You probably save me a week to a month of testing different solutions.

  • @alexreustle
    @alexreustle Před 2 lety

    Good work! I am going back and forth btwn org mode and telekasten, your experience is pretty awesome.

    • @joshpetit
      @joshpetit  Před 2 lety +1

      Organization is something that's worth diving deep into so I'm glad this video could help a bit! Thank you!

  • @michaels-sw7ey
    @michaels-sw7ey Před rokem +3

    james scholz sent me here. thanks for the content, i'm trying to tailor my workflow to something like this.

    • @joshpetit
      @joshpetit  Před rokem +1

      He's a pretty cool dude! Hope you figure out that flow!

  • @cyanoswag
    @cyanoswag Před 2 lety +3

    The "unorganized crime" line was 🔥

    • @joshpetit
      @joshpetit  Před 2 lety +2

      Ayyy everyone is talking about organization and overlooking that quality line ty haha.

  • @ljvids
    @ljvids Před rokem +6

    "life of unorganized crime"
    Not necessarily, you can organize crime with Org Mode! xD Thanks for the great video, it's nice to see how Neovim users use Org Mode, and mobile integration is something I want to work on more in my own setup so this was a good tip.

    • @joshpetit
      @joshpetit  Před rokem +2

      LOL is it really unorganized crime if it's on your org agenda?
      I actually switched to using emacs for org, planning on putting a video out that shows part of that new workflow!

    • @ljvids
      @ljvids Před rokem

      ​@@joshpetit Haha, welcome to the Emacs Side! We got another one lol. I'm optimistic about future NeoVim development and pumped that our Vim counterparts can experience the power of Org, but it's true that currently the most featureful iteration of Org is the original one in Emacs. I'll be looking forward to that video.

  • @superlative_custard
    @superlative_custard Před 9 měsíci

    Brilliant video thank you

  • @lorenzocabrini
    @lorenzocabrini Před 2 lety +8

    Didn't know org-mode works on neovim. Interesting. In any case, I'm happy with Emacs, but it's great to know that vi users can also enjoy org-mode.

    • @thgeremilrivera-thorsen9556
      @thgeremilrivera-thorsen9556 Před 2 lety

      The functionality is far from full, but you can do the basic things and the basic things can really get you a long way.
      I stlil prefer doing it in Emacs though - I am a long time (neo)Vim user but have set up Emacs to give me much of the same experience, plus all the good stuff Emacs and org have to offer.

    • @lorenzocabrini
      @lorenzocabrini Před 2 lety

      @@thgeremilrivera-thorsen9556 I was about to ask how extensive the support is. As I said, it's not really something for me, I've been an Emacs user for 30+ years and I'm too old to learn a new editing environment at this point.
      One part of me feels that vi is supposed to remain a small and efficient editor. Although I mainly use Emacs, I also did learn how to use vi (elvis was an old favorite vi clone of mine). OTOH, once people get comfortable with it (extremely fast editing, etc), I guess it's natural that people want to start build bigger things on top of a foundation they enjoy using. I supposed there is something comparable to LSP-mode for (neo)vim as well, right?

    • @henriaunin
      @henriaunin Před 2 lety

      @@lorenzocabrini Yep, LSP is supported (via plugins).

    • @lorenzocabrini
      @lorenzocabrini Před 2 lety

      @@henriaunin Oh, okay. I don't really use LSP-mode myself, but again, the options should be there so that people choose what works for them.

  • @BrianWisti
    @BrianWisti Před 2 lety +1

    Great tip on splitting your refile buckets between desktop and mobile! It's an issue I've bumped into with beorg on iOS.

    • @joshpetit
      @joshpetit  Před 2 lety

      Yes sir! Yea conflicts are hard if there was a more consistent way to do background sync that'd be awesome.

  • @Don_XII
    @Don_XII Před 2 lety +11

    When he said I'm late to all my classes I felt that :')
    but we passing passing..
    Great topics, I'm in the process of creating a system to organize my life too. Subbed

    • @joshpetit
      @joshpetit  Před 2 lety

      Ahaha glad someone can relate. And thanks!

  • @Xardas_
    @Xardas_ Před rokem

    But how do you go about attaching images or screenshots in your notes ?

  • @JohnBortins
    @JohnBortins Před 2 lety

    Love it!

  • @Matheus-xv4dz
    @Matheus-xv4dz Před 7 měsíci

    what do you use on your phone for integration with your notes in nvim?

  • @matsmcmats
    @matsmcmats Před 2 lety +1

    nice explanation of your setup! have you tried org-drill for spaced repetition/flashcards? (I guess it's Emacs only though)

    • @joshpetit
      @joshpetit  Před 2 lety +1

      Yea I've tried them with logseq before, have yet to try them within org though. I try and write down the name of every person I meet so it might be helpful to use that, thanks!

  • @MaxCuberful
    @MaxCuberful Před 2 lety +2

    Love your videos, man! I am at the end of my PhD program and my dissertation is almost finished (fingers crossed). I wouldn't be anywhere near the current situation without emacs org-mode.
    Does the vim plugin include org-agenda? If not, you might be missing a lot. Would love to watch more videos of your workflow!

    • @joshpetit
      @joshpetit  Před 2 lety +3

      Hey, thanks a lot! And yea the neovim plugin does include org agenda. I've actually switched to using orgmode with doom emacs for all my organization so have been reaping a lot of the benefits.
      I'm also planning on more organizational videos! My methodology is pretty simple haha so not too much to talk about. And fingers crossed on the dissertation!

  • @datAero
    @datAero Před 10 měsíci

    Bro I think I’m lost here, was trying to figure out what is the best note taking app, and ended up on this video after watching your eMacs vid.
    The thing is I don’t know how to code, I’m a creative lmao. Am I looking at the wrong app ? Is this really more geared towards CS guys ? Should I go with the more mainstream apps or id it worth it even for a plebeian like me

  • @netbotcl586
    @netbotcl586 Před rokem +1

    Thanks. I just set up syncing to my Logseq vault to my phone.

    • @joshpetit
      @joshpetit  Před rokem

      syncthing is quite the tool yea!

  • @StewBag69
    @StewBag69 Před 7 měsíci

    How would you personally compare this to something like Obsidian? Obviously this seems to have more keyboard oriented control in-mind and no bloat whatsoever.

  • @joandrade
    @joandrade Před 2 lety +2

    Great video. Can you elaborate a little more on how you use Syncthing to keep Orgzly in sync with the desktop?

    • @joshpetit
      @joshpetit  Před 2 lety +4

      Yea! So on my laptop and phone I have syncthing installed. I then add a directory to sync from my laptop ("~/sync"). Within this directory I have a subdirectory in which I keep all my org files ("~/sync/org").
      Then, on my phone I set sync thing to download the sync directory to a folder named sync. Orgzly is able to fetch org files from the file system so I go into it's setting and point to the "sync/org" folder (wherever it is on my phone). I then enabled settings so that everytime I open the app or make a change it will refetch from that location.
      If there's anything more you'd like to know lmk and I can potentially make a video on that setup!

    • @OpusFocus1968
      @OpusFocus1968 Před 2 lety

      Joshua thank you so much loved your video.

  • @Pedro-jj7gp
    @Pedro-jj7gp Před rokem

    Neat setup! On another comment you said you use cal and cron for task scheduling. I'd love to hear more about how to set that up. Also, how long did it take to learn vim? Do you think it's worth the time invesment? I have no system whatsoever in place but want to get one for next semester. I'm wondering whether to go with Notion and keep everything in there or Emacs and Org-mode instead. How's emacs support for embedded multimedia in org files?

    • @joshpetit
      @joshpetit  Před rokem +1

      Thanks! Yea, so I use cron to notify me of any approaching tasks I have scheduled (you can see that set up in my "Ricing Linux for Productivity" video). This is the crontab, and this is the script it runs to check the org file:
      github.com/joshpetit/dotfiles/blob/arch/crontab
      github.com/joshpetit/dotfiles/blob/arch/.local/share/scripts/org-check-time
      To learn vim it took me roughly 4 months to get used to it. I definitely think it's worth the time investment, it makes programming so much more fun imo haha. I would say invest in learning it if you can scarficie the loss in productivity now. I.e if you're full time at some company it may not be wise to do it until you're on vacation or something.
      I used to use notion for all my notes, but not having the vim bindings was a big turn off for me. It will work though certainly. Emacs embedded multimedia needs a little setup, when I used doom-emacs it worked well. If you want to try emacs, I'd say start out with doom-emacs and then learn exactly what you want in emacs then make your own configuration.
      That's a lot of stuff! I'd recommend just start with learning the vim key bindings and then from there incrementally add to your workflow. The main point of all of this is to figure out what works best for you to be productive, so using emacs or vim may not really feel worth it to you and you may find more value in tinkering with other things, but certainly worth the try!

    • @joshpetit
      @joshpetit  Před rokem +1

      Woww, this was long. May be a sign that I should do another video on the updates to my workflow haha

    • @Pedro-jj7gp
      @Pedro-jj7gp Před rokem

      @@joshpetit That was very helpful, thank you!!

  • @instigatetherole
    @instigatetherole Před 2 lety +2

    Have you thought of switching to emacs with evil mode? I used vim for years but I'm glad I took the plunge

    • @joshpetit
      @joshpetit  Před 2 lety +1

      Yea I actually now use doom emacs to do org related tasks and neovim for all my coding. It's a pretty nice setup imo and will likely make a video about it if I get the chance!

    • @freddief939
      @freddief939 Před 8 měsíci

      @@joshpetit luckily, using Neovim is not a sin in the church of emacs. We're not dogmatic.

  • @michaelwebster8389
    @michaelwebster8389 Před 2 lety

    I've been using it for documentation and design for years, but haven't got into using it for organisation. The main issue is that all the places I work use various other tools for documentation - none use org-mode, so I either have to copy paste across, or write separate documentation.

    • @joshpetit
      @joshpetit  Před 2 lety +1

      Yea, what would make org even better is a wide spread adoption of it.
      I use it at work for my personal note taking, and then copy it over if necessary. But in my personal life I use org all the way if I'm not collaborating with people.

  • @tokisuno
    @tokisuno Před rokem

    noticed you have odd rounded borders in the screenshots for your dots. have you tried using xborder?

    • @joshpetit
      @joshpetit  Před rokem +1

      Oh yeaa this, I think I used it one time but it would cut out part of the screen for me. I'll have to give it another swing though thanks for the rec

    • @tokisuno
      @tokisuno Před rokem

      @@joshpetit no worries mang

  • @murphykuffour6034
    @murphykuffour6034 Před 2 lety

    Can you do a video demonstrating actual usage on your computer. Thanks

    • @joshpetit
      @joshpetit  Před 2 lety

      Hey! Yea I'd think that'd be a great idea so I'll try and make one

  • @ryankhart
    @ryankhart Před rokem

    There's an Android app called DriveSync that I've set up to automatically sync my Obsidian notes vault (similar to Org-mode and the Orgzly Android app but Obsidian makes both the desktop and the mobile apps both officially). It's set to watch for changes for files changed locally on Android to then push those changes to Google Drive at most every 5 minutes. And it auto checks my Google Drive folder for changes every 5 minutes unless my batter is under 15%. As long as I'm not rapidly switching back and forth between my laptop and phone all the time, I've never had an issue with conflicts.

    • @joshpetit
      @joshpetit  Před rokem

      Ah yea I've experimented with Obsidian briefly, it's a very solid project. How have you found it in comparison to logseq?

    • @ryankhart
      @ryankhart Před rokem

      @@joshpetit Oh ya, It's been a while since I've looked into Logseq. From what I recall, the scope of what Logseq was intended for was quite a bit narrower than what Obsidian was designed for, but I can't remember details. I mainly use Obsidian because they have released an official mobile app, and I liked the idea of having a consistent experience between mobile and laptop/desktop. That being said, a major downside is that it can't be as tightly integrated with coding projects inside... wait a minute. [looks up Obsidian plugins for Neovim] Actually, I may have found something interesting, but it doesn't seem to have existed when I looked earlier. There's a plugin on Github by epwalsh called obsidianw dot nvim. Replace the 'dot' with an actual dot because CZcams has been known to auto delete my comments for various reasons.

  • @ciscoserrano
    @ciscoserrano Před 2 lety +1

    You seem like such a cool guy. Like I wanna be friends with you IRL!

    • @joshpetit
      @joshpetit  Před 2 lety +1

      Ahaha dope I appreciate it man!

  • @yf4453
    @yf4453 Před rokem

    The refile can essentially be a daily note, I like Andy Matuschak's system / flow

    • @joshpetit
      @joshpetit  Před rokem

      For sure! I haven't read into different methodologies which I likely should. I like mine but there are def more things I'm probably missing out on.

  • @kag3mav639
    @kag3mav639 Před rokem

    This guy uses org mode on vim. He is the Gandhi of Editor War!

    • @joshpetit
      @joshpetit  Před rokem

      Ending years of war with one sick workflow 🧘

  • @Pedro_Israel
    @Pedro_Israel Před 2 lety +2

    So... google calendar and notepad... ok thats genius.

    • @joshpetit
      @joshpetit  Před 2 lety

      LOL google calendar is overkill I just use the Unix `cal` command and schedule events through cron.

  • @ji-zai
    @ji-zai Před 3 měsíci

    Dope! Keep at it Joshua, your learning and journey is inspiring :)

  • @energyman100
    @energyman100 Před 2 lety +5

    you're way too good looking to be using Linux wtf

    • @clay38391
      @clay38391 Před 2 lety +12

      all gnu/linux users are extremely good looking

  • @pilly3815
    @pilly3815 Před rokem

    i need a whole tutorial setup for this lol

    • @joshpetit
      @joshpetit  Před rokem

      lolll I don't like making tutorials but I've gotten emails & comments about this so I may do a very basic one to get people past the hard parts. Stay tuned 🧑‍💻

  • @misimik
    @misimik Před 2 lety

    Skisłem

  • @ianlulu
    @ianlulu Před rokem

    nice pun

    • @joshpetit
      @joshpetit  Před rokem +1

      ayyy I really only made this video to make that pun tyvm

    • @ianlulu
      @ianlulu Před rokem

      @@joshpetit lmao but this vid was very informative fr wld appreciate more content like this

    • @joshpetit
      @joshpetit  Před rokem +1

      ayyy thanks, once im done working this summer and get a couple weeks off you best be ready 😤 haha.

  • @AK-ox3mv
    @AK-ox3mv Před měsícem

    Unorganized crime 😂😂

  • @farrellraafi1301
    @farrellraafi1301 Před 2 lety +1

    I turn off my selinux btw

    • @joshpetit
      @joshpetit  Před 2 lety +2

      Oh nooo now your default search engine will be changed to yahoo :(

  • @matthewstott3493
    @matthewstott3493 Před 2 lety +2

    Hmm... You just dipped your toes into GTD - Getting Things Done. By using a refile Orgfile you effectively brain dumped into an Inbox where you then refile things to the appropriate place. You may wish to read the GTD books. It describes the methodology not tech. Various Apps and tools have been written to follow GTD. You built your own. Congratulations!

    • @joshpetit
      @joshpetit  Před 2 lety +3

      Oh really now? I've heard a lot about GTD but always assumed it was a term people used to to say they want to do exactly that 😅. Didn't know it was a methodology, I'll definitely look into it thanks!

  • @Linuxdirk
    @Linuxdirk Před rokem

    sus, but pass 😁

    • @joshpetit
      @joshpetit  Před rokem +1

      Yeaa dude it looks real close sometimes lol.

  • @ohmyv3gatron
    @ohmyv3gatron Před 2 lety

    That’s blasphemy! Emacs and vim =(

    • @joshpetit
      @joshpetit  Před 2 lety +1

      Ahaha. You may feel that for a second, but we should remember at the end of the day that all of these are just tools.

  • @martantoine9977
    @martantoine9977 Před rokem

    MS paint lmao

    • @joshpetit
      @joshpetit  Před rokem

      It's a legitimate way to organize I promise