0

I added

au VimEnter * silent! !xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'
au VimLeave * silent! !xmodmap -e 'clear Lock' -e 'keycode 0x42 = Caps_Lock'

to my .vimrc to map Capslock to Escape. Since then, vim randomly shows the following statusline upon startup:

^[[2;2R^[[>41;330;0c^[]10;rgb:e5e5/e5e5/e5e5^G^[]11;rgb:0000/0000/0000^G

Not every time, but only sometimes. I couldn't find out, what triggers it.

Here is a screenshot:

screenshot

  • That's hard: the escapes shown are not related to the keyboard. If I encountered that in development, I'd build xterm with debug-traces and look for clues in the log. – Thomas Dickey Apr 6 at 12:32
  • Oh look! "powerline" again. – JdeBP Apr 6 at 17:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.