Trinity


Ⅰ. 插件描述

A (G)Vim plugin which build the trinity of Source Explorer, TagList and NERD tree to be an IDE for software development.

Ⅱ. 基本信息

创建日期:  2009-02-10
使用用户:  92
Github星:  60
插件作者:  Wenlong Che

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

Trinity

The Trinity plugin manages Source Explorer, Taglist and NERD Tree, and build them as a great IDE.

Features

Installation

  1. Place the Trinity files (trinity.vim and NERD_tree.vim) in your Vim directory (such as ~/.vim)
    or have it installed by a bundle manager like Vundle or NeoBundle.
  2. Open the three plugins together with :TrinityToggleAll or map these
    commands to keys in your .vimrc (Settings Example)

Requirements

Trinity requires:

  • Vim 7.0 or higher

Screenshots

Left window is Taglist, Bottom window is Source Explorer, and Right window is NERD Tree

One Declaration Found

Settings Example

" Open and close all the three plugins on the same time 
nmap <F8>  :TrinityToggleAll<CR> 

" Open and close the Source Explorer separately 
nmap <F9>  :TrinityToggleSourceExplorer<CR> 

" Open and close the Taglist separately 
nmap <F10> :TrinityToggleTagList<CR> 

" Open and close the NERD Tree separately 
nmap <F11> :TrinityToggleNERDTree<CR> 
 

Changelog

2.2
- Add the configurations for supporting Source Explorer v6.0.

2.1
- Add the default keys for supporting Source Explorer v5.2 fast way of multi-defs jumping.

2.0
- Support the Named Buffer Version of Source Explorer (v5.1 and above).

添加新评论