Coder Social home page Coder Social logo

Comments (5)

lervag avatar lervag commented on July 29, 2024

Strange. I've tried to reproduce with no luck. I've pushed my test files to the repo, see test/issues/23. I do:

  1. nvim -u minivimrc. This opens test.py with neovim (should work with Vim as well).
  2. Do <leader>ww to open the example wiki index. The current path has not changed.
  3. Do :bwipe to kill the wiki buffer and return to the test.py buffer. Still, the path is as expected.

Could you provide the configuration that is relevant in order to reproduce your problem?

from wiki.vim.

typhooncamel avatar typhooncamel commented on July 29, 2024

I'm really sorry, you're right, I should've checked with a minimal configuration. That's true - in that case the path does not change. For some reason (I can only guess it's something else in my configuration), with my setup it does change, which is a bit annoying. I'll try to figure it out. Thanks for your response! And great work on the plugin.

from wiki.vim.

lervag avatar lervag commented on July 29, 2024

And great work on the plugin.

Thanks! I'm happy it is useful to others as well as myself.

Note: The autochdir option could look relevant here. But it is not enough to add it to reproduce your problem. I suspect that there is some conflict with another plugin or with some of your settings.

I propose that you attempt to make a detailed step-by-step list of instructions to produce your problem. Then strip down your vimrc file (e.g. bisect by commenting out half and half of your content) in order to find the relevant settings/plugins.

from wiki.vim.

typhooncamel avatar typhooncamel commented on July 29, 2024

I eventually figured out the problem. It involves the vim-pandoc plugin, which I suspect some people using wiki.vim might also use. The plugin automatically enables a CHDIR option (see vim-pandoc-chdir-module) which "changes the current window directory to the one the file is in". This needs to be disabled.

from wiki.vim.

lervag avatar lervag commented on July 29, 2024

Ah, I see. At a first glance, it strikes me as a strange option, since Vim already has the 'autochdir' option. In any case, I'm happy to see the issue resolved.

from wiki.vim.

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.