shymenu


Ⅰ. 插件描述

Show the menu bar in gvim only when pressing an accelerator key (or f10), and hide it again when it is no longer required

Ⅱ. 基本信息

创建日期:  2008-11-12
使用用户:  5
Github星:  2
插件作者:  Tom Link

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'tomtom/shymenu'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'tomtom/shymenu'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'tomtom/shymenu'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/tomtom/shymenu_vim

Ⅳ. 文档说明

shymenu will show the menu bar only when the user presses an accelerator

  1. The menu will be hidden again after an item was selected.
  2. achieves this by defining key maps for those accelerator keys

(see 'winaltkeys') that would normaly activate a menu.

On a terminal, shymenu will define accelerator keys for the |:emenu|
command.

In order to use this plugin, remove "m" from 'guioptions' by adding
something like this to your |vimrc| file, which will hide the menu bar
by default: >

set guioptions-=m

See also:
http://groups.google.com/group/vim_use/browse_frm/thread/44c870c1e930bcc0

Many thanks to A Mechelynck for making me aware of 'wildcharm' and the
trick with |:emenu|.


Status: Works for me (there may be some minor quirks)
Install: See http://github.com/tomtom/vimtlib/blob/master/INSTALL.TXT
See http://github.com/tomtom for related plugins.

添加新评论