Note taking with Neovim and Obsidian

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

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

  • @arnoldwolfstein
    @arnoldwolfstein 6 หลายเดือนก่อน +26

    one of the most underrated video of youtube.

    • @aphleesegurtra2820
      @aphleesegurtra2820 5 หลายเดือนก่อน

      gr8 way to stay organized... def a life hack

  • @MaxiveLegend
    @MaxiveLegend 5 หลายเดือนก่อน +10

    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!

  • @cyberpsion
    @cyberpsion 3 วันที่ผ่านมา

    Is there any way to create a new file inside the nvim session with automatically named and templated? If I open the :terminal on "Testing" inside nvim, the nvim open inside nvim session.

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

    I enjoy your system and will "steal" these code snippets for my personal needs! God bless you and your family

    • @ZazenCodes
      @ZazenCodes  6 หลายเดือนก่อน +1

      Thank you!

  • @v0id_d3m0n
    @v0id_d3m0n 4 หลายเดือนก่อน +2

    I loved your shortcut to use Telescope to search in your second brain directory! I'll definitely be implementing that in my own :D. Also the idea of having commands especially for a review session is cool - I don't think I've seen anything like that before!

    • @archuser532
      @archuser532 4 หลายเดือนก่อน +1

      yeah after finding his bin files of on and og i was like how cool it is that he automated his notes structure and could easliy transfer his notes according to the tags

  • @fontanot
    @fontanot วันที่ผ่านมา

    I would like to know what would you do i you have to do a job on a as you go job, per say, in a different location using a different computer?
    I do like your setup but to be realistic. Shouldn't be just easy to use something out of the box? rather and install and redo every config again and again?

  • @jamtart22
    @jamtart22 7 วันที่ผ่านมา

    this is cool, i do something similar but the lazy way, i create my hub files and then just write in daily notes, where each section links to a hub file. I found this somehow makes me write more freely without worrying about making "perfect" zettelkasten notes

  • @lucasteo5015
    @lucasteo5015 8 หลายเดือนก่อน +6

    This is actually awesome, I'm gonna try replicating something like this really neat and functional

    • @ZazenCodes
      @ZazenCodes  8 หลายเดือนก่อน +1

      Nice, I’m glad I inspired you

  • @Convexed_
    @Convexed_ 6 หลายเดือนก่อน +2

    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
      @ZazenCodes  6 หลายเดือนก่อน

      Thanks! I just used some online tool. The obsidian mind map feature is incredible though

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

    Thank you for your great work!! I happened to find out that the markdown text preview in your finder are quite amazing, wondering how you setup for that preview. Thank you very much!

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

    Some great idaes shown. You could use tmux to pop a float that prompts you to enter a new name if you dont provide one as cli argument.

  • @dominiquee7601
    @dominiquee7601 3 หลายเดือนก่อน

    For some Reason "leader + of" doenst work for me unfortunately. Error message is: couldn"t find file in path. :-(

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

    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
      @ZazenCodes  7 หลายเดือนก่อน

      Thankya. So you use git to sync? Are you on android?

    • @JoshuaBlais
      @JoshuaBlais 7 หลายเดือนก่อน

      @@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
      @ZazenCodes  7 หลายเดือนก่อน

      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
      @JoshuaBlais 7 หลายเดือนก่อน

      @@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
      @JoshuaBlais 7 หลายเดือนก่อน +1

      It was the frontmatter setting, fixed it!

  • @cstromquist
    @cstromquist 3 หลายเดือนก่อน

    One question - what happens when you want to have more than one tag on a file? Your automation will then create copies of the same file for multiple tags?

    • @ZazenCodes
      @ZazenCodes  3 หลายเดือนก่อน +1

      The system doesn’t support that use pattern. Duplicate notes don’t make sense, to me anyway

  • @valentinrafael9201
    @valentinrafael9201 3 หลายเดือนก่อน +1

    Thank you for making this video. We, nvim users, gotta go fast, and aint no way we're not using Obsidian. Life's too short to *not* go *FAST*.

  • @eduardopina7964
    @eduardopina7964 6 หลายเดือนก่อน +1

    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
      @ZazenCodes  6 หลายเดือนก่อน +1

      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

  • @archuser532
    @archuser532 4 หลายเดือนก่อน +1

    you have not added your obsidian templates could you please do it ?

  • @user-eg6nq7qt8c
    @user-eg6nq7qt8c 7 หลายเดือนก่อน +3

    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
      @ZazenCodes  7 หลายเดือนก่อน

      lol. I hope you enjoy it. The obsidian nvim plugin is what makes this possible, it’s great

    • @v0id_d3m0n
      @v0id_d3m0n 4 หลายเดือนก่อน +1

      yep. sometimes zettelkasten feels like endless overhauls😅

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

    This is one of the most valuable videos on obsidian nvim. I was wondering wondering what happens with your script when I add two tags. Lets say I want to create a tag with 'meeting-minutes" and also another one for "customer-a". Would it move the one of these folders as it can't be moved to both. How would you structure this? I was maybe thinking about using just the customer-a tag and then use dataview to make a list for all 'meeting-minutes' files.

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

      Thanks! So - the script only supports one tag per file and categorizes into a folder with that name. I use “hubs” to attach multiple labels to files. So you could add the customer id as a hub like I use them. You could also add a new frontmatter field that is customer id and then put the value as the customer id value. That would work nicely with dataview. What you definitely dont want to do is duplicate files

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

    This is exactly the configuration I've been looking for, thank you! One question, just out of curiosity: why do you bother putting the date in the filenames? That data is already duplicated in both the Obsidian metadata and the actual metadata of the file itself. Have you found some specific benefit to adding it in the filename as well, or is it just a habit?

    • @ZazenCodes
      @ZazenCodes  4 หลายเดือนก่อน +1

      Glad you like it. The date is in the name so I can sort the files

  • @moeajam8090
    @moeajam8090 5 หลายเดือนก่อน

    Quick question, wouldn't be easier to use tags instead of having to make files for hubs? What is the benifits of using hubs

    • @ZazenCodes
      @ZazenCodes  5 หลายเดือนก่อน

      I use them for fundamentally different things. Tags are very versatile and I can use them to mark topics. Hubs I think of as folders. Its a forced hierarchy, which is generally against the idea of zettelkasten. However I find a light organization touch helpful.

    • @moeajam8090
      @moeajam8090 5 หลายเดือนก่อน

      @@ZazenCodes I understand that makes sense, but im thinking ahead if I ever want to look up a snippet in golang for example, how would you search for that specific snippet ?

    • @cstromquist
      @cstromquist 3 หลายเดือนก่อน

      @@ZazenCodes But don't you create your folders based off your tags? Doesn't that make hubs redundant?

  • @moeajam8090
    @moeajam8090 5 หลายเดือนก่อน

    I have been stuck for days on trying to make this work :((( for some reason when I open my obsidian vault in vim, it doesn't recognize any of my markdowns or my tags or anything, I don't get any autocompletion at all. Did anyone face this issue too??

    • @ZazenCodes
      @ZazenCodes  5 หลายเดือนก่อน

      Yeah I struggled with this. Make sure you define your vault path in your lua config for obsidian nvim plugin

  • @OCTsecond
    @OCTsecond 3 หลายเดือนก่อน

    can note have more than one tag ?

  • @makkusu3866
    @makkusu3866 5 หลายเดือนก่อน

    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
      @ZazenCodes  5 หลายเดือนก่อน +2

      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

    • @makkusu3866
      @makkusu3866 5 หลายเดือนก่อน

      @@ZazenCodes I might be weird folk which forgets what I was doing like 5 minutes ago but I need daily todo list. Right now I'm solving it with one text file in my notes folder with a list and bullets.vim. I wounder is there a better way to do todos with something like a queue like structure and some hotkeys.
      But anyways, thanks for the reply and the video, great content!

    • @v0id_d3m0n
      @v0id_d3m0n 4 หลายเดือนก่อน +1

      @@makkusu3866 bunch of ideas for this:
      you might like to look into the quick note plugin for obsidian (maybe you'll want to use it / custom create something similar for yourself - perhaps using a command like echo to append todo items). Also, I like to use daily notes (in a "_daily" directory) for daily to-do lists and reflections, which might be something to look into if you haven't already. This has the added benefit of being able to add tasks to future-date notes and tracking the things you do every day (if you're into that). Also, in the obsidian app, you can set it to automatically create a daily note from a template and open it when you open the app. This would probably a bit more complicated to implement in vim/neovim but I think doable using autocmd?

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

      @@v0id_d3m0n Great advise, thank you. Tried org mode plugin for neovim, I don't think its any better than just todo file so gonna look into daily notes

  • @sarundayo
    @sarundayo 4 หลายเดือนก่อน +1

    This is so cool. Love both tmux and vim, but haven't delved into Obsidian just yet. Though, not very knowleable in scripting/programming 😅

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

      Are you going to try it out?

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

      You dont need to program to use obsidian, its a glorified notepad, and i dont mean that in a bad way, its a great program, Its very easy to use.

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

    A really helpful video. Kudos!

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

    impressive setup, very nice. lets see paul allen's

  • @willmoorby9781
    @willmoorby9781 8 หลายเดือนก่อน

    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
      @ZazenCodes  8 หลายเดือนก่อน +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
      @ZazenCodes  8 หลายเดือนก่อน +1

      In short- I think you’re on point with the bottom-up idea

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

      the "physical" part its kinda secundary (by that i mean how do you organize your folders and documents on your pc) its more important what info do you put into your notes, (like tags and links to other documents) and the program does the rest for you based on your tags and links

    • @v0id_d3m0n
      @v0id_d3m0n 4 หลายเดือนก่อน +1

      The main issue with using folders as categories tends to be that you get dilemmas of which folder to put it in.
      The emphasis on links is especially important in obsidian because of the app's graph feature, which visualises links between notes.
      A lot of people also use tags to signify the "stage" of a note (from seedling to fully-grown). Honestly I think the best way to get info on this is seeing other people's examples (by TH-cam searching "obsidian linking system" or "tag system" or "organisation system" or "tags vs links" etc.

  • @freekaleek12100
    @freekaleek12100 5 หลายเดือนก่อน

    Hey, I love this setup - thanks for making this video, you've definitely gained a sub! I've tried to emulate your setup but one thing that is not working for me is that when I create a new note with the 'on' command I am not able to autocomplete on hubs or reference any other files. Logically I thought if I bash the oo in neovim then it would put me in the right root path and I would able to find the references, sadly this doesn't work (telescope does, however). If I exit neovim then reopen it and go back to the note then completions/ references work again. Very strange - don't suppose you've run into this have you? If so, did you find a fix?

    • @ZazenCodes
      @ZazenCodes  5 หลายเดือนก่อน

      I’ve run into this as well. Sometimes it works and sometimes not. I bet it’s a bug with the neovim obsidian library. You could consider submitting an issue on GitHub for the project, and maybe someone would have a solution.
      One thing I had to do recently was remove images in my notes from git- this helped speed up my telescope search, which was timing out attempting to search over binary data in images, and purging those from the git repo helped, and since then I think the issue you described has also been a bit better for me . However this might not be related

    • @ZazenCodes
      @ZazenCodes  5 หลายเดือนก่อน

      To be clear, I only removed the image files themselves from the git repo, but they are still on my file system (and backed up to cloud- I use icloud)

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

    Thanks for sharing. You said you teach full stack? What is your stack?

    • @ZazenCodes
      @ZazenCodes  6 หลายเดือนก่อน +1

      Python, docker, bigquery, Postgres, gcp.. I’ve got videos on this and other stuff

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

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

  • @mlemImlem
    @mlemImlem 3 หลายเดือนก่อน

    I feel like a thief for having acces to such information. Thank you.

    • @ZazenCodes
      @ZazenCodes  2 หลายเดือนก่อน +1

      Like Robin Hood, I hope

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

    How did you get the colored folders?

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

      Color themes and icons- check out my neovim config in my dotfiles repo on github. I also have a video on my setup

  • @albertilagan
    @albertilagan 8 หลายเดือนก่อน

    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
      @ZazenCodes  8 หลายเดือนก่อน

      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!

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

    Brother can you please make a video on cpp

  • @PhuPham-lq9wx
    @PhuPham-lq9wx 8 หลายเดือนก่อน

    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
      @ZazenCodes  8 หลายเดือนก่อน

      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
      @PhuPham-lq9wx 8 หลายเดือนก่อน

      @@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
      @ZazenCodes  8 หลายเดือนก่อน

      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

  • @lucasdelgado6005
    @lucasdelgado6005 8 หลายเดือนก่อน

    Hey man could i get your default template? any github repo?

    • @ZazenCodes
      @ZazenCodes  8 หลายเดือนก่อน +1

      github.com/agalea91/ZazenCodes-obsidian/blob/main/templates/note.md
      Thats the link, if TH-cam lets you click it

  • @LukasSchindler
    @LukasSchindler 8 หลายเดือนก่อน

    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
      @ZazenCodes  8 หลายเดือนก่อน +1

      Thank you! This was such a wonderful comment to read. I hope you enjoy your keyboard

  • @giftcp82
    @giftcp82 8 หลายเดือนก่อน

    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
      @ZazenCodes  8 หลายเดือนก่อน +1

      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

  • @etchickadee
    @etchickadee 6 หลายเดือนก่อน +1

    this is dope, i'm lifting

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

      lift it!

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

      it has been lifted

  • @1234minecraft5678
    @1234minecraft5678 4 หลายเดือนก่อน +10

    Why would you save code snippets into your note taking? This feels like a glorified code copy machine?

    • @pjmaas106
      @pjmaas106 3 หลายเดือนก่อน +6

      So that you can create your own documentation and reference specific actions/functions/commands instead of relying on Google and wasting time clicking through ads, popups and the time you waste searching for what you know you need

  • @zestynotions
    @zestynotions 8 หลายเดือนก่อน +1

    Very cool, I have a few automations that can be tied together with this inspiration. cheers and subscribed ;)

    • @ZazenCodes
      @ZazenCodes  8 หลายเดือนก่อน

      Glad to hear it. Thanks!

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

    I'm still looking into obsidian and I'm sorry but the only thing I got from this is - use a text file and a good file system, nothing on why obsidian should be part of my note taking process.
    You read your notes in vim, you reference your notes in vim, you review your notes in vim, you basically only used obsidian as a markdown reader - at least in the context of this video.
    I know this video is about you showing your note taking workflow and not an advertisement for obsidian but I watched your video as reference on actual use cases with obsidian and so far, I don't think I would be using obsidian yet.
    The actual workflow seems good though and gave me some ideas for my own personal workflow.

  • @DKLHensen
    @DKLHensen 8 หลายเดือนก่อน

    7:01 ThePrimeagen mentioned

    • @ZazenCodes
      @ZazenCodes  8 หลายเดือนก่อน

      Legend

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

    really cool, thanks!

  • @abdelrahmnihab
    @abdelrahmnihab 5 หลายเดือนก่อน +1

    Epic

  • @dicusardenis922
    @dicusardenis922 5 หลายเดือนก่อน

    quality content, good job 👍 subscribed 🔔

    • @ZazenCodes
      @ZazenCodes  5 หลายเดือนก่อน

      😊

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

    you rock!

  • @age-hall
    @age-hall 7 หลายเดือนก่อน +1

    keyboard noise annoying af

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

      lol not a fan of mechanical keyboards i see lol

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

    OMG, so much typing when a single web-grabber hotkey activation would do :)))

    • @ZazenCodes
      @ZazenCodes  8 หลายเดือนก่อน +5

      What can I say- I like to type 😊