I am using vim on wsl (ubuntu2004). It works just fine if it is slow scrolling however if I scroll it fasted using jump scrolling <C-d> or <C-u> it makes the screen have some rendering crash for a couple second.

I saw a few screen fix problem from forum, however seems it only fix another problem but not this one. here is my .vimrc:

" ----- WIN 10 SCREEN - BUF(at start) FIX -----     
" set t_ut=""

" highlight Normal ctermfg=black ctermbg=lightgrey
if &term =~ '256color'
    set t_ut=

set t_u7=    

vim glitch

  • what terminal do you use? cmd.exe? windows terminal? wsltty? alacritty?
    – Maxim Kim
    Aug 13 '20 at 7:22
  • does it happen with default colorscheme? with vim --clean ?
    – Maxim Kim
    Aug 13 '20 at 7:24
  • @MaximKim i'm using wsl.exe. not the win10new terminal one, but the wsl.exe. and no it does not happened for vim --clean only when I use this colorscheme (gruvbox)
    – krehwell
    Aug 13 '20 at 7:32
  • and what about vim --clean and gruvbox colorscheme? does it happen to other colorschemes?
    – Maxim Kim
    Aug 13 '20 at 9:00
  • yes, and it even worst. some of the blank space beside text not rendered correctly
    – krehwell
    Aug 13 '20 at 9:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.