check devices
xrandr -q
and rotate accordingly
xrandr --output LVDS-0 --rotate left
xrandr -q
and rotate accordingly
xrandr --output LVDS-0 --rotate left
This is the solution
set term=xterm
Adding this line to yout .vimrc file or
:set term=xterm
once you are in vim.