My complete Neovim markdown setup and workflow in 2024

Поделиться
HTML-код
  • Опубликовано: 25 авг 2024

Комментарии • 71

  • @linkarzu
    @linkarzu  Месяц назад +2

    What's your favorite tip and plugin from the video?
    Let me know down here in the comments

  • @mambodogg
    @mambodogg Месяц назад +3

    Looks fabulously fantastic 😱

    • @linkarzu
      @linkarzu  Месяц назад +2

      I really like it too! Hope you find tips and inspiration for your own setup

  • @farzadmf
    @farzadmf Месяц назад +1

    SO GOOD and mind-blowing!!! Great job!

    • @linkarzu
      @linkarzu  Месяц назад +1

      Glad you liked it, thank you.
      I hope you find good tips and tricks in the video!

    • @farzadmf
      @farzadmf Месяц назад +1

      I did, but definitely one of those videos that I need to go back to multiple times to use some ideas. Thank you for having a blog post as well, since text search is much easier than watching a video trying to find what you need
      Keep up the GREAT work!

    • @linkarzu
      @linkarzu  Месяц назад +1

      I get how you feel, that's the exact reason I have the blog post. Even though is more convenient for me not to have it because of the views 🤣
      But I'll keep creating blog posts as they help me remember stuff as well

    • @farzadmf
      @farzadmf Месяц назад

      That's super nice of you! As I said, you're doing great, keep it up!

    • @linkarzu
      @linkarzu  Месяц назад +1

      @farzadmf appreciate it!

  • @iyar220
    @iyar220 10 дней назад

    Incredible. Haven't watched yet but surely this will improve my obsidian note taking from within neovim! So far i just used obsidian with vim bindings

    • @linkarzu
      @linkarzu  10 дней назад

      @@iyar220 I haven't opened Obsidian in like 3 months, so I'm pretty sure this is targetted for us Obsidian users. Hope you find it useful!

    • @iyar220
      @iyar220 7 дней назад

      ​@@linkarzu This was amazing!
      My favourite things that I'm going to apply are:
      headlines.nvim
      Outline.nvim
      markdown-preview.nvim
      Image.nvim img-clip.nvim
      Snippets
      Go to file with gd using markdown lsp
      Now the only reason I'll have to enter obsidian is for the node graph view.... Unless?!?!?

    • @iyar220
      @iyar220 7 дней назад

      P.S. subscribed!

    • @linkarzu
      @linkarzu  7 дней назад

      @@iyar220glad you found some useful tips!
      I think obsidian's graph view is overrated, do you really find a use case for it?
      And recently I switched from headlines.nvim to MeanderingProgrammer/render-markdown.nvim, love it, just have a small bug with folds, but opened an issue in the repo already, we'll see

    • @iyar220
      @iyar220 7 дней назад

      @@linkarzu Thanks for saying! I'll definitely check it out.
      As for Obsidian's graph view:
      Yes it's very useful for me. You see, I use Obsidian as my self study tool. So whenever i learn something new or want to learn something new, i create a new file / reference a file with [[]]. The graph view, then, becomes a study map, illustrating which topics (files) are related to which. It also serves as a topic-segregated todo list, since files that aren't yet made are toggled gray.

  • @wickjohn3854
    @wickjohn3854 Месяц назад +2

    excellent sharing :)

    • @wickjohn3854
      @wickjohn3854 Месяц назад +1

      the biggest advantage of using obsidian.nvim i think is backlink, btw i just just use navbuddy as TOC LOL

    • @linkarzu
      @linkarzu  Месяц назад +3

      First comment!
      Thank you, hope you learn a couple things from it.

    • @linkarzu
      @linkarzu  Месяц назад +1

      I hadn't seen your recommendation, thanks for the navbuddy tip, I'll check it out. I just use the TOC for my blog post and if I need to print a markdown file as PDF, so people can navigate the headings, but I don't use it inside Neovim

  • @adriansrfr
    @adriansrfr Месяц назад +3

    You might like harpoon better than marks since marks are global and thereby be noisy between projects where you might not want to see those marks.

    • @linkarzu
      @linkarzu  Месяц назад +4

      Prime fan here 🤝
      I installed harpoon, but I haven't still found a way to introduce it into my workflow, haven't found a use case, but i've not put much thought into it to be honest. I will take the time some day, and hopefully share it in a video

  • @FekuEntertainmentLtd
    @FekuEntertainmentLtd Месяц назад

    Thanks a lot for the timestamps. I use obsidian but still think our setup matches around 40%. Obsidian because I use mermaid. My rest of the setup is mostly specific to personal liking. Some of the things mentioned here are already what I do, so the timestamps made it easy to check for new configs/setups like spell check, some snippets and keymaps.

    • @linkarzu
      @linkarzu  Месяц назад

      I'm glad you found some useful things, and I agree, my setup is also specific to personal liking, and I feel it improves my markdown editing experience quite a bit, specially coming from obsidian.

  • @kernelpanic_init1
    @kernelpanic_init1 29 дней назад

    Wallpaper looks cool. (Just started watching)

    • @linkarzu
      @linkarzu  29 дней назад

      Let me know if you found some useful tips!

  • @_Roman_V_Code
    @_Roman_V_Code Месяц назад +1

    Hey!
    which font you're using for terminal?
    I'm using "FiraMono Nerd Font Propo", nerd version too, but I had issues with headlines plugin (as it was not rendered properly, so I disabled it)

    • @linkarzu
      @linkarzu  Месяц назад +1

      Hey there, nice to see you here 😍
      I'm using "font-meslo-lg-nerd-font", in macOS
      brew install --cask font-meslo-lg-nerd-font

    • @_Roman_V_Code
      @_Roman_V_Code Месяц назад

      @@linkarzu thanks! I will try to use it :)

    • @linkarzu
      @linkarzu  Месяц назад

      @@_Roman_V_Code Yeah, that should work, let me know

    • @_Roman_V_Code
      @_Roman_V_Code Месяц назад

      @@linkarzu tested headlines plugin, it works. thanks :)

    • @linkarzu
      @linkarzu  Месяц назад

      Wonderful!

  • @flameKuchen
    @flameKuchen Месяц назад

    Awesome. Mini surround and MD preview are nice. How did you integrate those custom keybindings in the telescope keymap view?

    • @linkarzu
      @linkarzu  Месяц назад

      Mini surround is a beauty. Which key bindings, the ones for the todo items?

    • @flameKuchen
      @flameKuchen Месяц назад

      yeah those for folding. By the way I didn’t know you can show images in neovim on Mac 😱😊

    • @linkarzu
      @linkarzu  Месяц назад

      Yeah, not only view, but paste images in different formats, it's wonderful.
      Please point me to the part of the video you're referring to about the folds, like what minute and second because I'm not following

    • @flameKuchen
      @flameKuchen Месяц назад

      @@linkarzu26:10 your customer key bindings in telescope preview

    • @linkarzu
      @linkarzu  Месяц назад

      Oh, I see what you mean, when I press sk how do I show all my keymaps?
      It's a builtin telescope function, if you have telescope installed, just run
      :Telescope keymaps
      I use the lazyvim.org distro, so Folke adds this keymap by default, so I didn't do anything.
      Hope that answers the question, let me know.

  • @killua_148
    @killua_148 28 дней назад

    Hi. Thank you very much for showing how to disable some warnings with markdownlint-cli2. Do you happen to know if there's a way to do it globally instead of per directory?
    Also, do you know if there's a way to make markdownlint-cli2 work in "realtime"? I mean update its warnings without having to save first. It does work for you because you use autosave plugin, but I'd like to avoid that.

    • @killua_148
      @killua_148 27 дней назад +1

      Couldn't solve the second issue. For the first one, I found the answer on LazyVim discussion #4094, I don't link because YT removes the comment
      I think you can fix the second issue by using "--stdin" option, which only works on markdownlint-cli (non cli2)

    • @linkarzu
      @linkarzu  27 дней назад +1

      Wonderful! Let me test out the discussion you mentioned for issue # 1
      I agree, it's pretty annoying to be putting that file in multiple directories, even if it's a symlink.
      And yes, RUclips deletes the comments if you put the link, but I think it allows me to add it, let's give it a try:
      github.com/LazyVim/LazyVim/discussions/4094
      Now regarding the "real-time" part, to be honest, I'm not sure, I'm used to auto-save now so I'm not switching back, the good thing is that I can disable auto-save in files that I don't want it, like .sql or other ones. But if you're able to figure it out, share it here in case others have the same question

    • @linkarzu
      @linkarzu  27 дней назад

      ​@@killua_148 I just tried out your suggestion for the markdownlint-cli2 plugin and it's working wonderfully, I really appreciate it.
      The good thing is that if you want to override the settings for a specific directory, you still add it the old way (the way I did it) and that file will take precedence
      Thank you!!!

    • @killua_148
      @killua_148 27 дней назад

      @@linkarzu Happy to be helpful. You really helped me with markdown/images configuration in neovim

    • @linkarzu
      @linkarzu  27 дней назад

      @@killua_148 I'm glad you got some helpful tips. That's the goal, to help each other out!

  • @Chat_De_Ratatoing
    @Chat_De_Ratatoing Месяц назад

    hey how did you add your custom snippets to luasnip ?

    • @linkarzu
      @linkarzu  Месяц назад

      Do you use the LazyVim.org distro, another one or your own built setup?

  • @jcionx
    @jcionx Месяц назад

    What desktop environment are you using?

    • @linkarzu
      @linkarzu  Месяц назад +1

      Hey, you mean which OS or which linux desktop environment?

    • @jcionx
      @jcionx Месяц назад

      @@linkarzu It looks like you're using macOS. And I would like to make my macOS look like that desktop environment you've got.

    • @jcionx
      @jcionx Месяц назад

      ​@@linkarzu Is it like a replacement for the macOS bar, or is it something different

    • @linkarzu
      @linkarzu  Месяц назад

      😉
      You're right, it's macOS. I have a video series in which I explain how to set everything up.
      The menu bar that you see on the top is Sketchybar, I have a video about that, you can find it here:
      Install and configure a custom menubar, sketchybar macOS
      ruclips.net/video/CY0gU_iPRTk/видео.html
      Give me a minute, I'm updating my blog post to point to my latest config files and I'll let you know what you have to do to get everything setup.

    • @linkarzu
      @linkarzu  Месяц назад +1

      The blog post is updated, I go over my macOS workflow and setup in this playlist.
      It's my first videos, so the quality is not the best, but the content is still relevant
      ruclips.net/p/PLZWMav2s1MZTanWwNKYvS8qgwl0HBH9J-&si=vMd8rAUIg9YpHdnV

  • @muizzyranking
    @muizzyranking Месяц назад

    Your dots?

    • @linkarzu
      @linkarzu  Месяц назад

      I forgot to add them in the video description, you can also find them in the blogpost. But here they are:
      github.com/linkarzu/dotfiles-latest

  • @juanandresnunez658
    @juanandresnunez658 Месяц назад

    I am trying to use marksman to visualize my obsidian notes (after trying to use obsidian.nvim). It has been hell so far. What does "Ambiguous link to document" mean?

    • @linkarzu
      @linkarzu  Месяц назад

      When you see that error, what happens when you press "gd" (go to definition) on top of that link?

    • @juanandresnunez658
      @juanandresnunez658 Месяц назад +1

      @@linkarzu Opens a small window in the bottom named "Quickfix list" showing the headers of the file. This makes me feel like when I do [[]] I need to specify the file and a header to link (haven't tested as I write this comment). Not to mention this little window is kind of annoying as I can only close it by :q inside it.

    • @linkarzu
      @linkarzu  Месяц назад

      In my specific case, when I see that error, it means that I have 2 markdown files with the same name, so marksman doesn't know which file to go to when I press "gd".
      Renaming one of the files solves the issue for me.
      See the example below, I use the lazyvim distro, and when I press "gd" it calls the "nvim-lspconfig" plugin, which in turn opens telescope so that I can chose 1 of the 2 files to open
      sharing.linkarzu.com/JDn5BCbKNfhGDfpgxpVV
      So my guess is, you probably have 2 files with the same name

    • @juanandresnunez658
      @juanandresnunez658 Месяц назад

      @@linkarzu I def don´t have duplicate files with the same name. I actually am testing on a considerably small Vault of less than 30 files (I'm a newbie taking notes).
      Still I will try to look into it. Thanks for the help!

    • @linkarzu
      @linkarzu  29 дней назад

      No worries, let me know if you're able to figure it out