Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support the Named Buffer Version of Source Explorer (v5.1 and above)
- Loading branch information
1 parent
aa72704
commit 5429ba4
Showing
4 changed files
with
201 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.swp | ||
tags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
**Trinity** | ||
=========== | ||
|
||
The Trinity plugin manages Source Explorer, Taglist and NERD Tree. The below | ||
shows my work platform with Trinity. | ||
|
||
Features | ||
======== | ||
|
||
* Automatic Display of Declarations in the Context Window on the bottom in the (G)VIM window using the Source Explorer: | ||
http://www.vim.org/scripts/script.php?script_id=2179 | ||
|
||
* Symbol Windows For Each File on the left in the (G)VIM window (G)VIM using the script named 'taglist.vim': | ||
http://www.vim.org/scripts/script.php?script_id=273 | ||
|
||
* Quick Access to All Files on the right in the (G)VIM window using the script named 'The NERD tree(NERD_tree.vim)': | ||
http://www.vim.org/scripts/script.php?script_id=1658 | ||
|
||
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](http://i.imgur.com/bbGVO.jpg) | ||
|
||
Settings Example | ||
================ | ||
```vim | ||
" 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.0 | ||
- Support the Named Buffer Version of Source Explorer (v5.1 and above). |
Oops, something went wrong.