Trinity : the Trinity of taglist, NERDtree and SrcExpl: an IDE works like "Source Insight"
| script karma
Downloaded by 9602
Comments, bugs, improvements
script versions (upload new version)
The latest dev version of Trinity and screenshots can be downloaded from GitHub Homepage:
The Trinity plugin manages Source Explorer, Taglist and NERD Tree, and build them as a great IDE which works like the "Source Insignt".
1\ Automatic Display of Declarations in the Context Window on the bottom in the (G)VIM window using the script named 'Source Explorer(srcexpl.vim)' :
2\ Symbol Windows For Each File on the left in the (G)VIM window (G)VIM using the script named 'taglist.vim':
3\ Quick Access to All Files on the right in the (G)VIM window using the script named 'The NERD tree(NERD_tree.vim)':
4\ You can change various options of each plugin in trinity.vim according to you request.
In order to build such an IDE that implement the main functions(function list, definition and context explorer, file brower), I had modified the source code of 'NERD_tree.zip 2.13.0'. You would note the comments which begin with 'Wenlong Che add/delete for trinity.vim' in the NERD_tree.vim.
|1\ Unzip the 'trinity.zip', and copy all the script files into to the plugin directory of Vimfiles, such as ~/.vim/plugin/
2\ Add the followings in your .vimrc or _vimrc and change them by yourself
" Open and close all the three plugins on the same time
nmap <F8> :TrinityToggleAll<CR>
" Open and close the srcexpl.vim separately
nmap <F9> :TrinityToggleSourceExplorer<CR>
" Open and close the taglist.vim separately
nmap <F10> :TrinityToggleTagList<CR>
" Open and close the NERD_tree.vim separately
nmap <F11> :TrinityToggleNERDTree<CR>
3\ Enjoy vimming :-)
Click on the package to download.
ip used for rating: 188.8.131.52
||Add the default keys for Source Explorer's fast way to multi-defs jumping. More details, please refer to the Change Log via https://github.com/wesleyche/SrcExpl
Support the Named Buffer Version of Source Explorer (v5.1 and above).
||Add one new user interface named 'TrinityUpdateWindow' for updating Trinity window positions. e.g. when you use Quickfix together with Trinity, you may need to call this function for recover the window positions.
||I modified the options of 'ctags' program for Source Explorer (srcexpl.vim) V4.0.
The response time was less than 0.2 second each tagging with the new version. The environment I tested is below:
source code: linux-2.6.25 (17308 files)
size of tags: 60.1MB (691327 lines)
||Add a new configure global variable named g:SrcExpl_updateTagsKey for the Source Explorer (srcexpl.vim) V3.9 when initializing the trinity plugin.
||Modified some configure global values of the Source Explorer 3.6 (srcexpl.vim) when initializing the trinity plugin.