ActivityWatch / ActivityWatch/aw-watcher-vim

We are not inclusive enough in the heartbeats

Đang mở
#15 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Vim Script
Star
124
Fork
14
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Currently we only send heartbeats when we move the cursor, when we enter a buffer and when we start vim. The heartbeats are only on intervals of 10s. This has the flaw of for example if we are writing a command for a while such as a complex search/replace time will not be counted for that period as it takes more than 10s.

From looking at my own logs I can clearly see that at the editor activity is way too low, adding all my window titles with something VIM related is almost half of what my editor activity is so the activity time is currently not accurate at all while the window activity in my experience is very accurate.

We should start with increasing the pulsetime on the heartbeats as well as investigate if there are more autocmd we can call heartbeats on to make things more accurate.

I started reflecting on this after reading https://github.com/ActivityWatch/aw-watcher-vscode/issues/10

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.