Skip to content
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

It pushes but doesnt pull #10

Open
hennio opened this issue Oct 16, 2021 · 5 comments
Open

It pushes but doesnt pull #10

hennio opened this issue Oct 16, 2021 · 5 comments

Comments

@hennio
Copy link

hennio commented Oct 16, 2021

Hi, thanks for the great work!

I have vimwiki on my linux-machine and on my macbook. To sync I use Gitlab.

When I manually push and pull it works ok, but when I use your plugin, it only pushes.

I start vimwiki within vim: ww

@michal-h21
Copy link
Owner

That's strange, as both pushing and pulling use the same mechanism for executing Git. Do you see sync done when you use the :messages command after Vimwiki start?

@ramyamounir
Copy link

I have the same problem. When i go to the vimwiki index file with ww or :e ~/notes/index.wiki it doesn't pull, but if I just exit vim and try vim ~/notes/index.wiki it pulls and asks me if I want to load the modified file. It is very strange, any idea why this is happening? Pushing works great though! Thanks!

@michal-h21
Copy link
Owner

@ramyamounir thanks for your report, it seems that pulling doesn't work when you open VimWiki file using :e. I've added new auto command, it uses the BufEnter event, and it seems to work also in this case.

@ramyamounir
Copy link

@michal-h21 Works great, Thank you for the quick fix!

@michal-h21
Copy link
Owner

@ramyamounir it was thanks to your description, as it helped me to find the situation when pulling doesn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants