Note that there are some explanatory texts on larger screens.

plurals
  1. POVIM refreshing buffer whenever I switch to it
    text
    copied!<p>I'm using VIM to edit files over SCP, so reading and writing files is a <em>very</em> slow process.</p> <p>For some reason, whenever I switch to a buffer, VIM reads it from disk. The status bar says: ~@k.</p> <p>I've disabled <em>all</em> autocommands in my .vimrc, and I have no autocommands for BufEnter anyway. Any idea what I might be missing?</p> <p>Update: I found one culprit, a word-count macro which wasn't an auto-command. Now when I switch it's a tad faster but still slow. Status bar says ^Ww.</p> <p>Update 2: I tried ZyX's answer below (Thanks!!). The results:</p> <p>1) setting eventignore=all absolutely solves it; it's blazing fast. BUT 2) trying to debug it doesn't work for me.</p> <p>I tried both <code>:debug buffer scp-buffer-name</code> and <code>:debug wincmd p</code> and got:</p> <blockquote> <p>Entering Debug mode. Type "cont" to continue.</p> <p>cmd: wincmd p</p> <p>line 1: for m in filter(copy(fuf#getModeNames()), 'fuf#{v:val}#requiresOnCommandPre()')`</p> </blockquote> <p>And then no matter what I typed (s, n, "cont"), that single line would just repeat. It's obviously related to the Fuzzy Finder plugin, which I do use quite a lot and is a key reason for me to use VIM. Any ideas?</p> <p>Thanks again for your help. Much appreciated, XyZ!</p> <p><strong>ISSUE SOLVED:</strong> It was indeed Fuzzy Finder. It has a MRU-File mode which documentation notes may cause a performance issue when switching buffers. I disabled this mode and now VIM is fast again! Thanks!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload