Hot answers tagged

1

resize is the command which solves the problem. That is not Vim's, but X11's resize. So I just added this to ~/.vimrc silent !resize to get the command automatically issued on Vim start. If you do not want to see the command's output after quitting Vim, silent !resize > /dev/null


1

The output you're getting in your terminal that is messing up the text in Vim is likely from the running sxhkd binary that you're spawning in background. As a possible way to fix this, you can redirect its output to /dev/null when you launch it from the autocmd. Instead of ending the external command with: sxhkd & Use instead: sxhkd >/dev/null 2&...


Only top voted, non community-wiki answers of a minimum length are eligible