-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opening wiki changes the working directory. #23
Comments
Strange. I've tried to reproduce with no luck. I've pushed my test files to the repo, see
Could you provide the configuration that is relevant in order to reproduce your problem? |
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. |
Thanks! I'm happy it is useful to others as well as myself. Note: The 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. |
I eventually figured out the problem. It involves the vim-pandoc plugin, which I suspect some people using |
Ah, I see. At a first glance, it strikes me as a strange option, since Vim already has the |
When I open the wiki from a session I'm currently working on, edit a wiki file, and quit the buffer, the working directory is changed. E.g.:
~/test.py
in neovim, edit, so current directory is~/
;~/documents/diary
) with<leader>ww
, edit wiki, exit buffer;~/test.py
. The working directory is now~/documents/diary
(i.e., it never changed back to~/
, which I would have thought would be the more intuitive behaviour).The text was updated successfully, but these errors were encountered: