[wrap] add a hotkey for word wrap and fix some glitches