Coder Social home page Coder Social logo

Comments (7)

michal-h21 avatar michal-h21 commented on July 26, 2024 1

I think there is still the problem that you will get a wrong link when you link from subdir to the parent dir. So there is a still a lot of issues to be solved regarding subdirs. I think this can be left open.

from vim-zettel.

michal-h21 avatar michal-h21 commented on July 26, 2024 1

@ferdinandyb I think the issue here is the same as this one. @rfhlmn offered help, so hopefully, he will succeed.

from vim-zettel.

michal-h21 avatar michal-h21 commented on July 26, 2024

It obviously doesn't work. And also, if you are in a note in the subdirectory, and link to a note in the parent directory, it doesn't insert correct link, which I think worked at some point. @ferdinandyb

from vim-zettel.

vacuumbeef avatar vacuumbeef commented on July 26, 2024

Looks like I got all of it wrong, sorry. Closing?

from vim-zettel.

ferdinandyb avatar ferdinandyb commented on July 26, 2024

from vim-zettel.

ferdinandyb avatar ferdinandyb commented on July 26, 2024

@vacuumbeef given your config, when you are in wiki1 the correct zettel path is the root of the wiki, so it seems to work as intended. To get the behaviour you want you need to set the rel_path for wiki1 as well:

let g:vimwiki_list = [{"path": "~/wiki1"},{"path":"~/wiki2"}]
let g:zettel_options = [{'rel_path': 'zettel/'},{'rel_path': 'zettel/'}]

@michal-h21 I think currently vim-zettel still assumes that the zettel itself is flat, so all the notes are flat where rel_path points. How did you want to insert a link? I think if you want to insert a link to something outside of the zettel you might need to use Vimwiki's linking directly? Or maybe it's just broken. Can you tell me how to repro?

from vim-zettel.

ferdinandyb avatar ferdinandyb commented on July 26, 2024

Sounds good :)

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.