Open albertxing opened 10 years ago
Can you please indicate repro steps and platform details?
In .vintageousrc
I use
:map j gj
:map k gk
On larger files and especially on my slower machine, Sublime will stutter and lag when j is pressed continuously.
I'm on Windows 8.1.
IIRC, Vintageous uses native ST commands for this. In fact, I had to reimplement j
and k
so they were faster than their native version. Can you confirm you don't see this lag in plain ST or Vintage under the same circumstances?
Can you also please define 'large file' so that I can try and repro this?
Also, for my reference, the API doesn't allow such granular control as to replicate gk
and gj
without resorting to using native commands.
I think the problem only exists on slower machines (e.g. without enough graphics power). By large file I mean roughly >500 lines.
In general this is something that I have failed to constantly reproduce on my laptop (with integrated graphics), and have not yet thoroughly tested this on various older machines. If possible, try finding a machine with no discreet or integrated graphics (i.e. a Core 2 processor).
However the lag is significant enough when it does appear to be a cause of concern, hence the issue.
I do recall, however, testing out the built-in Vintage on a machine that was lagging considerably with Vintageous, and Vintage mode worked more or less okay.
Currently
gj
andgk
are implemented in a very inefficient manner (i.e. it will often lag during normal use).Sublime's Vintage mode maps j to gj and k to gk by default, and it doesn't exhibit slow performance.