Avoid InsertEnter/InsertLeave events in GUI MacVim workaround