I often use Control+L to redraw the screen in Vim.
In particular, when I come out of sleep or change monitor configurations I often find that Vim needs to be redrawn. I thought it might be simpler to just add something to my vimrc that redraws on focus.
- Is there a command that I can add to my
.vimrcfile that redraws the buffer when the window/buffer gets the focus?
In particular, a good command should have no noticeable negative performance or other related side effects.