amp icon indicating copy to clipboard operation
amp copied to clipboard

visual mode seems unoptimized

Open adsick opened this issue 3 years ago • 2 comments

So when I use line selection mode and just navigate by J and K it does not looks steady enough and even my CPU starts to use some of it's processing power.

adsick avatar Apr 05 '21 18:04 adsick

@adsick can you give more context? If you're trying to select all of the contents of a very large file, that can be expensive at first. Amp will lazily parse the file for syntax highlighting, and if you navigate to the bottom of a large file, that can take some time. However, amp caches the parse state at intervals throughout the buffer, so subsequent highlights should be quite quick.

jmacdonald avatar Apr 17 '21 17:04 jmacdonald

I am currently without Amp (on Win10) but I remember, that the file was not very big and that line selection was not as smooth as I would like it (or maybe I am just too demanding)

adsick avatar Apr 17 '21 19:04 adsick