Note taking with Neovim and Obsidian
Ғылым және технология
PATREON
► / zazencodes
SECOND BRAIN - Sign up for free access
► zazencodes.substack.com/
PART 1 - Zettelkasten for Programmers
► • Zettelkasten for progr...
NEOVIM LAZY IDE SETUP
► • Neovim Lazy Lua IDE - ...
GIT REPO - My Dotfiles
► github.com/agalea91/dotfiles
GIT REPO - Obsidian to Notion sync
► github.com/agalea91/notion-ob...
0:00 - Intro
0:18 - Code snip example
2:18 - Deploy key example
3:52 - ZazenCodes
4:25 - System diagram
5:07 - Tmux & iCloud vault sync
6:42 - Neovim setup
9:34 - Shell scripts & Neovim commands
13:15 - Note review & organization automations
16:02 - Obsidian to Notion sync
18:00 - Outro
Пікірлер: 50
one of the most underrated video of youtube.
@aphleesegurtra2820
2 күн бұрын
gr8 way to stay organized... def a life hack
if someone held a gun to my head and told me to explain what exactly was happening in this video, I would be dead. Cool concepts tho, seems like a cool productivity boost!
really cool, thanks!
This is actually awesome, I'm gonna try replicating something like this really neat and functional
@ZazenCodes
2 ай бұрын
Nice, I’m glad I inspired you
I enjoy your system and will "steal" these code snippets for my personal needs! God bless you and your family
@ZazenCodes
16 күн бұрын
Thank you!
Very cool, I have a few automations that can be tied together with this inspiration. cheers and subscribed ;)
@ZazenCodes
2 ай бұрын
Glad to hear it. Thanks!
Really solid video man, I just started using obsidian and nvim with a git integration for syncing to my phone/computer and it's super comfy
@ZazenCodes
Ай бұрын
Thankya. So you use git to sync? Are you on android?
@JoshuaBlais
Ай бұрын
@@ZazenCodes I am on android, using termux I setup a cronjob to pull to the phone every 5 minutes, and then use lazygit to push/pull changes, super seamless and quick!
@ZazenCodes
Ай бұрын
That’s wicked. I use lazygit as well and I love it. I feel like icloud might be causing me some latency issues with file searching- but I can’t tell. I might try this
@JoshuaBlais
Ай бұрын
@@ZazenCodes Question for you, when I use the template for note with the date/tags/hubs/urls, and hit save, it auto formats to "it/aliases/tags" - did you have this issue?
@JoshuaBlais
Ай бұрын
It was the frontmatter setting, fixed it!
oh man, I've been looking for exactly this! I've been using emacs org-mode in terminal mode and "kind of " faking like it's working with nvim but being able to interface with obsidian in neovim?! That's amazing. Looks like I'll be wasting hours on an overhaul!
@ZazenCodes
Ай бұрын
lol. I hope you enjoy it. The obsidian nvim plugin is what makes this possible, it’s great
I was waiting for this video all week. You have a good workflow. I would also highly encourage you to attend some of Nick Milos workshops. It will take your note making to the next level :)
@ZazenCodes
2 ай бұрын
I'm so happy to hear that! Thank you. Looks like Nick has as lot of content on youtube I can check out for now
This is quite amazing, what happens if you need to add more than one tag into the same note? How is it then organized when you run the script? Same note copied in multiple folders?
@ZazenCodes
16 күн бұрын
Thanks. No I dont support that. I just pick the best tag and try to make sure there is no overlap. I use the hubs like tags in that sense -where I can add multiple per note
Very interesting and smooth workflow! Did you use Obsidian to create the diagram at 4:28? If so, that'd be awesome. How do you handle "visual notes" within your workflow?
@ZazenCodes
25 күн бұрын
Thanks! I just used some online tool. The obsidian mind map feature is incredible though
Awesome setup bro! While watching your video basically made my own. Main feature/difference of mine is: my script automatically calls OpenAI API to summarize a note to create a title and classifies it to one of the projects I am working on and adds is as a tag. Wanted to ask your opinion, do you think it's better to organize inbox every time on your own or to automatically put notes to corresponding folders based on tags from OpenAI? I like the simplicity/speed of handling it by OpenAI, but on the other hand there is sense in doing it by hand. Other thing I often use notes for is my todo lists for the day. Wonder if you ever did it and what's your wisdom/workflow 😅
@ZazenCodes
20 сағат бұрын
Todo list- often plain text file or handwritten note on my desk. Anything over 1 day in some project management tool. For your notes, doing it manually might be nice as way to review the notes (like my review workflow) but the actual work of putting them into the folders would be nice to automate. Super cool you recruited the LLM into this process for yourself
Awesome content! I just ordered my own moonlander after watching your videos about it. I checked if you had an affiliate link to buy it that way, but it doesn't seem like ZSA has a system for that. I will try to implement this in my workflow, but there are soo many commands in vim already that it'll be quite a while before i will feel comfortable using them.
@ZazenCodes
2 ай бұрын
Thank you! This was such a wonderful comment to read. I hope you enjoy your keyboard
Nice one sir. Thanks for sharing. Personally I find the `oo` inside nvim more useful, not sure why you need to remove it :D i.e if you're already inside vim and wants to copy a snippets, why not 1. do `oo` to search, open and yank, (or open on vim split, instead of tmux) 3. switch back to previous buffer and paste
@ZazenCodes
2 ай бұрын
So for me I just found I wasn’t using it. Since I really like the tmux workflow of popping open a new pane, then I’m already out of vim to start with. But if it’s helpful for you then I’m happy to have shared it!
I noticed you have 2 organisational methods, "knowledge hubs" and "tags". I am very new to ZettelKasten (literally learnt the word from this video) and how to use it and my understanding is that you do not create categories from the "top-down" but create tags and links and see how and where your notes congregate and link up to each other naturally (from the "bottom-up"). Could you elaborate on why you organise in this way? I do DevOps in my work, so I am imagining having a broader "DevOps" category and then smaller categories for "Kubernetes", "Istio", "CI/CD", "Jenkins", etc. and then there can be smaller subdivisions within these categories, for example resource monitoring and allocation, and of course tags for "facts", "code-snip", "troubleshooting", "useful commands", etc. Are there any resources you'd recommend for devising good tags + categories?
@ZazenCodes
2 ай бұрын
I think finding what works for you will be a bit of a journey- I would suggest starting simple with as little hierarchical organization as possible. The thing I decided on was folders for the type of note- book note, code snippet, cheat sheet, fact (random note), etc.. and use “hub links” (tags in obsidian)for the topic- like machine learning, python, Linux, etc..
@ZazenCodes
2 ай бұрын
In short- I think you’re on point with the bottom-up idea
I'm looking for note taking system that alternative my notion and I saw your video. That so insprite me, but my could you share more about the your file management, what it is, how it work, pls. Thank you so much
@ZazenCodes
2 ай бұрын
Glad you liked it! I use both obsidian and notion right now. Notion syncs more reliably across all my devices and I can access it from the web if I want. But I don’t use it for code. I’m not sure what you mean by file management. I just leave the files at they are after running my workflow. They sync to iCloud and I can also commit them to git
@PhuPham-lq9wx
2 ай бұрын
@@ZazenCodes I mean I would like to know your file sturcture. What mean of each folder ? Ex: what folder assets do ? what folder notes/facts do ? Thank you so much for reply me.
@ZazenCodes
2 ай бұрын
What I do is categorize my notes based on the types like book, video, code snippet, etc.. and if it doesn’t fit then my generic topic is “fact”. I don’t feel comfortable tossing my book notes right in with all these random little fact notes because a book note for me is much more valuable. So that’s why I created a separate folder for it. Another good example is my cheat-sheet folder where I put stuff I can reference later such as a vim commands cheat sheet for example
Thanks for sharing. You said you teach full stack? What is your stack?
@ZazenCodes
28 күн бұрын
Python, docker, bigquery, Postgres, gcp.. I’ve got videos on this and other stuff
@mchisolm0
28 күн бұрын
@@ZazenCodes Cool. Never heard of bigquery or gcp before. You definitely earned a sub from me, and I'll check out your other videos on your stack.
Hey man could i get your default template? any github repo?
@ZazenCodes
2 ай бұрын
github.com/agalea91/ZazenCodes-obsidian/blob/main/templates/note.md Thats the link, if KZread lets you click it
this is dope, i'm lifting
@ZazenCodes
23 күн бұрын
lift it!
@etchickadee
23 күн бұрын
it has been lifted
7:01 ThePrimeagen mentioned
@ZazenCodes
2 ай бұрын
Legend
OMG, so much typing when a single web-grabber hotkey activation would do :)))
@ZazenCodes
2 ай бұрын
What can I say- I like to type 😊
keyboard noise annoying af