scp - VIM refreshing buffer whenever I switch to it -


i'm using vim edit files on scp, reading , writing files very slow process.

for reason, whenever switch buffer, vim reads disk. status bar says: ~@k.

i've disabled all autocommands in .vimrc, , have no autocommands bufenter anyway. idea might missing?

update: found 1 culprit, word-count macro wasn't auto-command. when switch it's tad faster still slow. status bar says ^ww.

update 2: tried zyx's answer below (thanks!!). results:

1) setting eventignore=all absolutely solves it; it's blazing fast. 2) trying debug doesn't work me.

i tried both :debug buffer scp-buffer-name , :debug wincmd p , got:

entering debug mode. type "cont" continue.

cmd: wincmd p

line 1: m in filter(copy(fuf#getmodenames()), 'fuf#{v:val}#requiresoncommandpre()')`

and no matter typed (s, n, "cont"), single line repeat. it's related fuzzy finder plugin, use quite lot , key reason me use vim. ideas?

thanks again help. appreciated, xyz!

issue solved: indeed fuzzy finder. has mru-file mode documentation notes may cause performance issue when switching buffers. disabled mode , vim fast again! thanks!

first, test behavior set eventignore=all. if problem gets fixed, try switch scp buffer using (be sure have unset eventignore) debug buffer scp-buffer-name or debug wincmd p (depending on when see problem), open debug mode , able see autocommands executing (use s[tep] or n[ext] move next command, see :h >next , :h >step more details).


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

android - layout with fragment and framelayout replaced by another fragment and framelayout -