lambdalisue / vim-gina

👣 Asynchronously control git repositories in Neovim/Vim 8
http://www.vim.org/scripts/script.php?script_id=5531
MIT License
689 stars 27 forks source link

Disable periodic checking #233

Closed K1DV5 closed 4 years ago

K1DV5 commented 4 years ago

Sorry if this is in the docs and I missed it. What I noticed is that gina periodically runs git in the background (async) so that maybe changes to files are reflected in gina status buffers? This makes my machine seem doing a lot of work so I was wondering if there was a way to disable that. I'm OK reopening the gina status buffer when there are changes. I think fugitive works this way.

lambdalisue commented 4 years ago

Try set noautoread. I think I put code to check the value of autoread to enable that feature.

K1DV5 commented 4 years ago

I tried that, same thing happens. And I think checking for a global config variable would be better, like g:gina#auto_update or something.

lambdalisue commented 4 years ago

I'll work on it prob on this weekend :+1:

K1DV5 commented 4 years ago

Fixed. Thanks.