How To Use Tags 🏷 In Vimwiki 🌐

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

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

  • @ciaspo
    @ciaspo 4 года назад +2

    Thank you very much, Bryan, I was just looking for the best way to manage tags in VimWiki; what a nice coincidence!!!

    • @BryanJenks
      @BryanJenks  4 года назад

      You’re welcome! Perfect timing ;)

  • @theena
    @theena 2 года назад

    Bryan, that was awesome.
    As someone who does use a lot of :tags: in my VimWiki, I didn't realize Rg's utility. Thank you for sharing.

  • @GavinFreeborn
    @GavinFreeborn 4 года назад +2

    If you want to do this without the ripgrep plugin you can just set ripgrep as you grep like this
    set grepprg=rg\ --vimgrep
    set grepformat^=%f:%l:%c:%m
    Now when you use the command
    :grep :python:
    You can get the same functionality in just 2 lines of vimscript.

    • @GavinFreeborn
      @GavinFreeborn 4 года назад

      Also happy to see you back at it!

    • @BryanJenks
      @BryanJenks  4 года назад +1

      @@GavinFreeborn thanks man! i got some BIG things coming son, probably announce next week. Already announced on patreon as it should be. but i got a lot coming up very soon! :DD

    • @8tungdata
      @8tungdata 4 года назад

      tried it in my vimwiki, but it does nothing, goes to shell and back to vim, without any result.

    • @8tungdata
      @8tungdata 4 года назад +1

      Sorry, I see the error. I didn't notice, that I had to install ripgrep first as a cli-tool and then use it in vim.

    • @8tungdata
      @8tungdata 4 года назад

      Alright I installed it, but vim-ripgrep does only find targets in my home directory. I have my vimwiki-files on a separate harddisk. I tried symlinking the dir in my home dir but no success. How can I configure the searching directory for vim-ripgrep?

  • @millerdiller1867
    @millerdiller1867 3 года назад

    What made you switch from using a text editor like Vimwiki, to Obsidian for a Zettelkasten? While I'm at it, why did you switch from Arch to MacOS? Hopefully I'm not coming off as judgemental. I'm just curious as I'm starting to create a Zettal.

    • @BryanJenks
      @BryanJenks  3 года назад +1

      made a video on the switch to mac, and vimwiki lacks most of the functionality obsidian offers, and obsidian has the graph which is incredibly helpful to me

    • @millerdiller1867
      @millerdiller1867 3 года назад

      @@BryanJenks Thank you for your timely response, and I will definitely watch that video then. If it's not too much for me to ask, what functionalitys where they?

    • @BryanJenks
      @BryanJenks  3 года назад

      @@millerdiller1867 transclusion, block references, mermaid charts, rendered LaTeX math, and all the functionality of the plugins available.

    • @millerdiller1867
      @millerdiller1867 3 года назад

      @@BryanJenks I understand then. Thank you very, very much.

  • @VulcanOnWheels
    @VulcanOnWheels 4 года назад +2

    3:55 How about putting the text to be searched for between double quotes?
    4:14 Snake case?

    • @BryanJenks
      @BryanJenks  4 года назад +1

      the tag syntax for vimwiki though is the double colons i still havent found a use for that for me with my subwiki structure
      snake case is when you use underscores between words snake_case_is_this camelCaseIsThis i find snake case more readable

    • @VulcanOnWheels
      @VulcanOnWheels 4 года назад

      @@BryanJenks I don't quite understand the first paragraph. As for the second paragraph, thank you.

  • @code_explorations
    @code_explorations 3 года назад

    Thanks Bryan 🐄

  • @alexxx4434
    @alexxx4434 3 года назад

    What about multiple tag search?

    • @BryanJenks
      @BryanJenks  3 года назад

      I don't use vimwiki anymore :)

    • @alexxx4434
      @alexxx4434 3 года назад

      @@BryanJenks I'm using Obsidian right now. But am looking at VimWiki as a possible backup option to read Obsidian "vaults".