Visualization Error Vim and Tmux

I have a problem when using Tmux and Vim. As you can see in the picture, when I use nerdtree (or irssi, practically any terminal application), I have such problems with rendering.

Each key I change the entire rendering of the terminal.

This is only a graphical error, but it prevents me from working properly. For example, in the screenshot I presented, nerdtree opens.

The rendering problem arises mainly when the lines are too long (wrapping) or when I have to scroll (up or down).

enter image description here

I did not find a way to solve it. Does anyone have this problem too? I really don't know how to solve this.

Many thanks!

+4
3

:

tmux set-option -g utf8 off
:set tenc=latin1

tmux set-option -g utf8 on
:set tenc=utf8

.

,

:set isprint=

, , , .

+5

export TERM=screen-256colorsolved my problem. See more details.

0
source

Source: https://habr.com/ru/post/1533922/


All Articles