Vim status bar prediction/completion?

心不动则不痛 提交于 2019-12-05 18:09:08

问题


I played with some vim scripting yesterday and managed to get some over-the-status-bar prediction to whatever I'm typing at the moment, with cycling - see screenshot (gray + yellow bar).

Problem is, I can't remember how I got that or find the code snippet I used for that vim magic (I remember it being quite simple): it was either an example in the docs or something I picked up in the vim wiki. So, I'm trying to retrace my steps - any clue on what vimscript function/s to look up for these? I realize this is an odd question, but any clues will be great - thanks.


回答1:


This is done with

:set wildmenu

When you press <Tab> while typing in the command line, completion options will appear above.



来源:https://stackoverflow.com/questions/6998976/vim-status-bar-prediction-completion

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!