itchyny / calendar.vim

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

Long delay for prompt to delete event #152

Closed rwev closed 5 years ago

rwev commented 5 years ago

When I am viewing the "Event List" for a given day, and press "dd" on one of the events to delete it, the confirmation prompt ("Delete the event? (cannot be undone) y/N") doesn't appear for a full second or more.

This is strange because I haven't noticed such delay anywhere else in the program; other operations seem to be snappy and responsive. Is anyone else experiencing this?

I'm running vim 8.0 through the Windows subsystem.

itchyny commented 5 years ago

This behavior might be caused by yanking the event text. Try let g:calendar_yank_deleting = 0 to see if it improves.

rwev commented 5 years ago

I just tried this and did not notice a difference.

itchyny commented 5 years ago

I cannot reproduce this. Please take a profile. Try :profile start profile.log | profile func * and open calendar.