Git Product home page Git Product logo

Comments (8)

michal-h21 avatar michal-h21 commented on June 2, 2024 2

Try the updated version of vim-zettel. I've found that the issue on Windows comes from limiting the search only to the file extension of the current wiki. I couldn't find a better solution than to remove this limit completely.

from vim-zettel.

michal-h21 avatar michal-h21 commented on June 2, 2024

This is hard to debug. I've updated my Vim plugins completely, and everything works for me in Vim 9.0 and Neovim 0.8.1. It could be caused by something in your configuration. Does the command ag --color --smart-case --nogroup --column "^(?=.)" -G 'wiki$' work from the terminal when you execute it in the directory where you have your wiki files?

from vim-zettel.

k4y4k avatar k4y4k commented on June 2, 2024

hello ๐Ÿ‘‹
i'm having the same issue. running that command doesn't do anything (i do have ag and fzf installed also)

take a gander:
image
it really doesn't like it :(

windows 11
powershell 5.1.25267.1000

โฏ nvim --version
NVIM v0.8.0-1210-gd367ed9b2
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compiled by runneradmin@fv-az177-603

Features: -acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM\sysinit.vim"
  fall-back for $VIM: "C:/Program Files (x86)/nvim/share/nvim"

Run :checkhealth for more info
โฏ ag --version
ag version 2.2.5 ; Windows port 2021-06-04 Win64 >= Server2003 amd64
MsvcLibX 2021-06-03 ; PCRE 8.44 2020-02-12 ; pthreads4w 3.0.0 ; zlib 1.2.11

Features:
  +jit -lzma +zlib +2enc
โฏ fzf --version
0.35.1 (b55f555)

my .vimrc is in my dotfiles repo.

from vim-zettel.

michal-h21 avatar michal-h21 commented on June 2, 2024

Isn't is possible that it is an issue with Windows handling of quotes or something similar? Ag doesn't print any output, not even an error message?

from vim-zettel.

k4y4k avatar k4y4k commented on June 2, 2024

from vim-zettel.

michal-h21 avatar michal-h21 commented on June 2, 2024

And do you use Vimwiki syntax or Markdown for your notes? If you use Markdown the command should be something like:

   ag --color --smart-case --nogroup --column "^(?=.)" -G 'md$'

If you use Markdown, then do you have correctly set ext field in your configuration? Like:


   let g:vimwiki_list = \
     [{'path':'~/scratchbox/vimwiki/markdown/','ext':'.md',\
     'syntax':'markdown'}, {"path":"~/scratchbox/vimwiki/wiki/"}]

from vim-zettel.

k4y4k avatar k4y4k commented on June 2, 2024

i do use markdown.

that md command works:
image

and... i did/do/once again have the ext set up:
https://github.com/k4y4k/dotfiles/blob/7fa1ca2b1b3e653af58face641b2b818c758beb6/dot_vimrc.tmpl#L285

EDIT: I didn't have the . in the ext field ๐Ÿคก but that's fixed now and the issue still persists.

image

i feel like i'm missing something really elementary. vim-zettel worked flawlessly back in my linux days :(

from vim-zettel.

k4y4k avatar k4y4k commented on June 2, 2024

it works ๐ŸŽ‰!!!!!!!!

thank you very much ๐Ÿ™!!!

from vim-zettel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.