(G) Vim and scrolling spelling sentences
While getting spelling sentences in gvim (z = by word), the sentence list is quite slow to build, I can see it scrolling up one line at a time.
When using vim in a terminal, the full list seems to be generated instantly and there is no visible scrolling like in gvim.
I tried installing ttyfast
, but it has no visible effect in either gvim or vim (gvim scrolls no matter if installed or not, vim never scrolls whether or not it is installed).
Is it possible to get gvim to generate spelling sentences faster and get rid of the scrolling effect?
source to share
Look at the "spellsuggest" parameter. It has a few settings that can speed things up for you, such as "fast" (which might be less accurate) or {number}, which limits the number of matches. If you have a large (e.g. maximized) window, you may find it looking for a long time. With {number} it limits matches and speeds up rendering.
" Look for best result, but limit results to 10 matches
:set spellsuggest=best,10
" Go for speed (at the expense of accuracy) and limit to 20 matches
:set spellsuggest=fast,20
Supply whatever you chose in your vimrc. For more information see:
:help 'spellsuggest'
To view the current setting, see
:set spellsuggest?
source to share