How I used Org-mode and Neovim to Pass all my Classes
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
would’ve been nice to know how to pass all my classes at the beginning of the semester
Lollll had to do a test run to see that orgmode gave me a 100% pass rate.
LMAOOOOOOOOO
"how im going to pass all my classes with Org-mode i swear dude" doesn't hit the same tho
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).
Yes! That's a great way to say it. That methodology has been a life saver for me haha.
just came from james' video and this is a nice video indeed. keep it up! : )
Thank you thank you!
Org mode + Syncthing is life changing and so stupidly simple to keep running
I KNOWWW, literally has changed my life forever.
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
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!
bless you
Aww i try my best thank you!
I love the refile idea and it definitely solves the problem of synchronizing from on mobile device
Thank you! It also helps me prioritize note taking now rather than organizing everything immediately.
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 ❤
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.
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.
Ayy I'm glad to hear!!
Thanks for sharing! I got a lot of great tips. You probably save me a week to a month of testing different solutions.
I'm glad!! Thank you!
Good work! I am going back and forth btwn org mode and telekasten, your experience is pretty awesome.
Organization is something that's worth diving deep into so I'm glad this video could help a bit! Thank you!
james scholz sent me here. thanks for the content, i'm trying to tailor my workflow to something like this.
He's a pretty cool dude! Hope you figure out that flow!
The "unorganized crime" line was 🔥
Ayyy everyone is talking about organization and overlooking that quality line ty haha.
"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.
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!
@@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.
Brilliant video thank you
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.
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.
@@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?
@@lorenzocabrini Yep, LSP is supported (via plugins).
@@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.
Great tip on splitting your refile buckets between desktop and mobile! It's an issue I've bumped into with beorg on iOS.
Yes sir! Yea conflicts are hard if there was a more consistent way to do background sync that'd be awesome.
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
Ahaha glad someone can relate. And thanks!
But how do you go about attaching images or screenshots in your notes ?
Love it!
what do you use on your phone for integration with your notes in nvim?
nice explanation of your setup! have you tried org-drill for spaced repetition/flashcards? (I guess it's Emacs only though)
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!
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!
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!
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
Thanks. I just set up syncing to my Logseq vault to my phone.
syncthing is quite the tool yea!
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.
Great video. Can you elaborate a little more on how you use Syncthing to keep Orgzly in sync with the desktop?
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!
Joshua thank you so much loved your video.
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?
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!
Woww, this was long. May be a sign that I should do another video on the updates to my workflow haha
@@joshpetit That was very helpful, thank you!!
Have you thought of switching to emacs with evil mode? I used vim for years but I'm glad I took the plunge
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!
@@joshpetit luckily, using Neovim is not a sin in the church of emacs. We're not dogmatic.
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.
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.
noticed you have odd rounded borders in the screenshots for your dots. have you tried using xborder?
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
@@joshpetit no worries mang
Can you do a video demonstrating actual usage on your computer. Thanks
Hey! Yea I'd think that'd be a great idea so I'll try and make one
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.
Ah yea I've experimented with Obsidian briefly, it's a very solid project. How have you found it in comparison to logseq?
@@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.
You seem like such a cool guy. Like I wanna be friends with you IRL!
Ahaha dope I appreciate it man!
The refile can essentially be a daily note, I like Andy Matuschak's system / flow
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.
This guy uses org mode on vim. He is the Gandhi of Editor War!
Ending years of war with one sick workflow 🧘
So... google calendar and notepad... ok thats genius.
LOL google calendar is overkill I just use the Unix `cal` command and schedule events through cron.
Dope! Keep at it Joshua, your learning and journey is inspiring :)
you're way too good looking to be using Linux wtf
all gnu/linux users are extremely good looking
i need a whole tutorial setup for this lol
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 🧑💻
Skisłem
nice pun
ayyy I really only made this video to make that pun tyvm
@@joshpetit lmao but this vid was very informative fr wld appreciate more content like this
ayyy thanks, once im done working this summer and get a couple weeks off you best be ready 😤 haha.
Unorganized crime 😂😂
I turn off my selinux btw
Oh nooo now your default search engine will be changed to yahoo :(
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!
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!
sus, but pass 😁
Yeaa dude it looks real close sometimes lol.
That’s blasphemy! Emacs and vim =(
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.
MS paint lmao
It's a legitimate way to organize I promise