Search code examples
vimlag

Vim lagging when pressing k at the top of a file


If I press k for 1 second when I'm on the top of a file, vim seems to be lagging for something like 3-4 seconds (eg not responding to any input).

(Same happens if I press j on the bottom of a file)

I have changed the Operating System keyboard settings, eg :

  • Repeat Delay: 256
  • Repat Speed: 74

However this is a bit annoying.

Is there any way to solve that ?

Here is my .vimrc if it has something to do with that:


Solution

  • It was because of the visualbell option