terminal icon indicating copy to clipboard operation
terminal copied to clipboard

UI is behaving weirdly while working on vim

Open AnikHasibul opened this issue 7 years ago • 6 comments

While working on vim for editing files, it's behaving so weird.

Scrolling doesn't work, output seems messy. Line selector doesn't work properly. Terminal window vibrates so frequently.

AnikHasibul avatar Jul 12 '19 13:07 AnikHasibul

after 1903 update also problem when using ex. reverse colors in terminal setup. (=usable setup for this kind of older user). When you change vim to the insert mode, line is reverse and looks that inserting is slow ? Of course you can fix color problem to setup .vimrc line: highlight Normal ctermfg=black ctermbg=white

but it's not usable when you use lot of hosts. Problem is in the WSL console

https://github.com/microsoft/terminal/issues/832 is about same (reverse problem). Problem is not vim's problem. It's WSL terminal problem.

kshji avatar Jul 14 '19 07:07 kshji

@AnikHasibul Is your report about Windows Terminal or Windows Console (the old one?)

DHowett-MSFT avatar Jul 20 '19 01:07 DHowett-MSFT

Windows terminal. However, the issue has been fixed after removing NerdTree plugin on vim. I think it's an issue with NerdTree. Not with windows terminal. You can close it. Or you can investigate further. Issue has been fixed on my end. Cheers!

AnikHasibul avatar Jul 20 '19 10:07 AnikHasibul

I'm still getting weird artifacts and misalined buffers in Vim 8.0 with the NERDTree plugin, but only when the directory/file browser is open.

image

I've never seen this issue before in any other terminal or operating system, and I've been using vim / NERDTree for almost 10 years now 🤔

I think it's a MS Terminal issue and not a vim / NERDTree issue.

aanari avatar Aug 17 '19 01:08 aanari

^ Similar error for me as well. Strangely enough, it does seem reproduceable on a different machine, but I'm currently unable to figure out if there's a way to downgrade/change wsl versions to see if this is a wsl specific issue.

I've debugged it to the point that, for me, I can only reproduce it running neovim 0.5.1 on top of tmux. Neovim by itself does not seem to have this issue.

impguard avatar Nov 02 '21 01:11 impguard

If anyone new stumbled across the issue, it can be solved by turning on entire screen re-rendering. Don't forget to save and relaunch terminal tab

'Redraw entire screen when display updates' settings option

o-talaver avatar Jun 18 '22 16:06 o-talaver