我总是忘记我正在编辑哪个文件。
In Vim 7.x, how can I have a permanent status bar at the bottom (like what is displayed when I press Ctrl+G) showing the current file name I'm editing?
来自手册 http://vimdoc.sourceforge.net/htmldoc/options.html#%27statusline%27,你真的只是想要:
set laststatus=2
set statusline=%f "tail of the filename
顺便说一句:如果您想要包含大量更多信息的状态行,请务必
查看这个链接 http://got-ravings.blogspot.com/2008/08/vim-pr0n-making-statuslines-that-own.html。它会给你一些更奇特的东西,如下所示:-
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)