Whenever I press and hold any arrow key (e.g. h
, j
, k
or l
) they appears on screen as such:
The same kind of thing happens whenever I accidentally scroll, where ^[OA
are displayed if I scroll up and ^[OB
displayed if I scroll down.
How do I fix this?
Thank you
OS: Debian 11
Vim version: 8.2
Ps: sorry if the tag is not relevant. I had to put one but have no idea as to which one to put in this case
Ctrl-l
for redraw? Can you tell us what is your OS and your version of Vim?TERM
(:echo $TERM
in Vim) and the option'term'
(:set term?
in Vim)Ctrl+l
gets rid of all unwanted characters on screen (thanks!).:echo $TERM
returnsxterm-256color
and:set term?
returnsterm=xterm-256color
. Thanks for your help