VIM: display custom reference bar on top of window
问题 I would like to set up a vim environment for basic HTML edit to be used by someone else. For this I'd like to set up a quick reference bar to be shown on top of the window with things like | <F1> | <F2> | <F3> | ... | <br /> | <hr /> | bold | ... and so on. Can this be done? 回答1: You can use additional window with scratch buffer to show things like this. Here is prototype of the plugin. Just run the following with :so or put this into some file inside ~/.vim/plugin directory function! s:set