gladecompletion.vim


Ⅰ. 插件描述

IDE-like completion for projects using the Glade UI designer

Ⅱ. 基本信息

创建日期:  2008-06-23
使用用户:  1
Github星:  1
插件作者:  erik falor

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

WHAT IS IT?  Provides an Insert mode completion function which completes names
from a .glade file as produced by the Glade UI designer.
http://glade.gnome.org/

HOW DOES IT WORK?  The plugin defines a function which scans .glade files in
current buffer's current directory.  The function adds Gtk objects and event
handlers to the insert mode completion menu

The menu is invoked by pressing <C-x><C-u> in insert mode.  Read all about it
at |i_CTRL-X_CTRL-U|.

Each time the completion function is invoked, it looks at the .glade files in
the current directory and compares the filesystem's modification timestamp
with the timestamp value from the previous invocation.  Thus, if you
add/change a widget in Glade and save the file, those changes are reflected
immediately in Vim.

添加新评论