itchyny / calendar.vim

A calendar application for Vim
MIT License
1.95k stars 72 forks source link

Calendar not refreshing after editing event on web #117

Closed isene closed 7 years ago

isene commented 7 years ago

On a day with many events, pressed "E" to see the list of events. Cursor at one specific event, pressed ENTER to bring the event up in browser. Moved the event 30 minutes in browser, closed the tab. The event in calendar.vim still displays the old time for the event. Any way to force a new sync with google?

isene commented 7 years ago

I can of course force a resync by creating a "dummy" event and then deleting it - but needless to say that is a cumbersome way to force a sync :-)

itchyny commented 7 years ago

Currently there's no way to force a sync, but the events will be updated automatically within half an hour.

isene commented 7 years ago

Could you perhaps add a Resync function and make Ctrl-r its default binding?

isene commented 7 years ago

Having been using calendar.vim for three weeks now, I am only missing this one feature: To be able to force a resync of the calendars from Google. At the moment, I am quitting vim to restart calendar.vim to force the resync...

ZedDrebin commented 7 years ago

+1 resync would be nice :)

Love the app, though! Thanks.

isene commented 7 years ago

Could you tell me where in the code the calendar resync'ing happens? You said it would happen every half hour or so - maybe I can change the interval to a shorter time?

itchyny commented 7 years ago

I have implemented this feature. Please use <C-r> to force resync.

isene commented 7 years ago

yooohoooo!

ZedDrebin commented 7 years ago

Thanks!!!

jumbosushi commented 7 years ago

Was looking for this. Thanks!