摘要:
当离开INSERT模式时,Preview窗口会自动关闭vimrc:" If you prefer the Omni-Completion tip window to close when a selection is" made, these lines close it on movement in insert mode or when leaving" insert modeautocmd CursorMovedI * if pumvisible() == 0|pclose|endifautocmd InsertLeave * if pumvisible() 阅读全文