i3-vim-nav icon indicating copy to clipboard operation
i3-vim-nav copied to clipboard

It adds an almost 1 second latency to window swtiching

Open kantord opened this issue 3 years ago • 3 comments

Just by looking at the code, I don't see why it should be slow. Maybe the whole script takes a lot of time to initialize due to the dependencies? In that case it could perhaps by replaced by a server that keeps running?

kantord avatar Oct 09 '20 10:10 kantord

There's BTW no noticeable lags within vim

kantord avatar Oct 09 '20 11:10 kantord

Interestingly, there's no issue if I run it in the terminal:

[0] % time ~/.vim/plugged/i3-vim-nav/i3-vim-nav h
~/.vim/plugged/i3-vim-nav/i3-vim-nav h  0.06s user 0.06s system 87% cpu 0.133 total

kantord avatar Oct 09 '20 11:10 kantord

Yeah I remember noticing this when I was actually using it too but I'm not sure why it is

fu5ha avatar Oct 10 '20 00:10 fu5ha