Skip to content
Browse files

updated command-t

  • Loading branch information...
1 parent fc59b97 commit d76a7dc1631715f38316ed4bb59909f2305f17b4 @arthurgeek committed Oct 17, 2012
View
137 doc/command-t.txt
@@ -12,10 +12,11 @@ CONTENTS *command-t-contents*
7. Mappings |command-t-mappings|
8. Options |command-t-options|
9. Authors |command-t-authors|
-10. Website |command-t-website|
-11. Donations |command-t-donations|
-12. License |command-t-license|
-13. History |command-t-history|
+10. Development |command-t-development|
+11. Website |command-t-website|
+12. Donations |command-t-donations|
+13. License |command-t-license|
+14. History |command-t-history|
INTRODUCTION *command-t-intro*
@@ -147,11 +148,27 @@ you can build the extension with:
ruby extconf.rb
make
-Note: If you are an RVM user, you must perform the build using the same
-version of Ruby that Vim itself is linked against. This will often be the
-system Ruby, which can be selected before issuing the "make" command with:
+Note: If you are an RVM or rbenv user, you must perform the build using the
+same version of Ruby that Vim itself is linked against. This will often be the
+system Ruby, which can be selected before issuing the "make" command with one
+of the following commands:
rvm use system
+ rbenv local system
+
+Note: Make sure you compile targeting the same architecture Vim was built for.
+For instance, MacVim binaries are built for i386, but sometimes GCC compiles
+for x86_64. First you have to check the platfom Vim was built for:
+
+ vim --version
+ ...
+ Compilation: gcc ... -arch i386 ...
+ ...
+
+and make sure you use the correct ARCHFLAGS during compilation:
+
+ export ARCHFLAGS="-arch i386"
+ make
MANAGING USING PATHOGEN *command-t-pathogen*
@@ -190,6 +207,7 @@ Or you can switch to a specific release with:
After installing or updating you must build the extension:
cd ~/.vim/bundle/command-t
+ bundle install
rake make
While the Vimball installation automatically generates the help tags, under
@@ -304,6 +322,7 @@ has focus:
<C-k> select previous file in the file listing
<C-p> select previous file in the file listing
<Up> select previous file in the file listing
+ <C-f> flush the cache (see |:CommandTFlush| for details)
<C-c> cancel (dismisses file listing)
The following is also available on terminals which support it:
@@ -340,13 +359,21 @@ COMMANDS *command-t-commands*
can persist across Vim sessions (see Vim's |jumplist|
documentation for more info).
+ *:CommandTTag*
+|:CommandTTag| Brings up the Command-T window tags window, which can
+ be used to select from the tags, if any, returned by
+ Vim's |taglist()| function. See Vim's |tag| documentation
+ for general info on tags.
+
*:CommandTFlush*
|:CommandTFlush|Instructs the plug-in to flush its path cache, causing
the directory to be rescanned for new or deleted paths
- the next time the file window is shown. In addition, all
- configuration settings are re-evaluated, causing any
- changes made to settings via the |:let| command to be picked
- up.
+ the next time the file window is shown (pressing <C-f> when
+ a match listing is visible flushes the cache immediately; this
+ mapping is configurable via the |g:CommandTRefreshMap|
+ setting). In addition, all configuration settings are
+ re-evaluated, causing any changes made to settings via the
+ |:let| command to be picked up.
MAPPINGS *command-t-mappings*
@@ -424,6 +451,13 @@ Following is a list of all available options:
If set to 0, the window will occupy as much of the available space as
needed to show matching entries.
+ *g:CommandTMinHeight*
+ |g:CommandTMinHeight| number (default: 0)
+
+ The minimum height in lines the match window is allowed to shrink to.
+ If set to 0, will default to a single line. If set above the max height,
+ will default to |g:CommandTMaxHeight|.
+
*g:CommandTAlwaysShowDotFiles*
|g:CommandTAlwaysShowDotFiles| boolean (default: 0)
@@ -488,6 +522,12 @@ Following is a list of all available options:
you want the best match to appear in a fixed location on the screen
but still be near the prompt at the bottom.
+ *g:CommandTTagIncludeFilenames*
+ |g:CommandTTagIncludeFilenames| boolean (default: 0)
+
+ When this setting is off (the default) the matches in the |:CommandTTag|
+ listing do not include filenames.
+
As well as the basic options listed above, there are a number of settings that
can be used to override the default key mappings used by Command-T. For
example, to set <C-x> as the mapping for cancelling (dismissing) the Command-T
@@ -542,6 +582,9 @@ Following is a list of all map settings and their defaults:
*g:CommandTClearMap*
|g:CommandTClearMap| <C-u>
+ *g:CommandTRefreshMap*
+ |g:CommandTRefreshMap| <C-f>
+
*g:CommandTCursorLeftMap*
|g:CommandTCursorLeftMap| <Left>
<C-h>
@@ -583,18 +626,14 @@ Command-T is written and maintained by Wincent Colaiuta <win@wincent.com>.
Other contributors that have submitted patches include (in alphabetical
order):
- Anthony Panozzo
- Daniel Hahler
- Lucas de Vries
- Marian Schubert
- Matthew Todd
- Mike Lundy
- Scott Bronson
- Steven Moazami
- Sung Pae
- Victor Hugo Borja
- Woody Peterson
- Zak Johnson
+ Anthony Panozzo Mike Lundy Steven Moazami
+ Daniel Hahler Nate Kane Sung Pae
+ Felix Tjandrawibawa Nicholas Alpi Thomas Pelletier
+ Gary Bernhardt Nadav Samet Victor Hugo Borja
+ Jeff Kreeftmeijer Noon Silk Woody Peterson
+ Lucas de Vries Rainux Luo Yan Pritzker
+ Marian Schubert Scott Bronson Zak Johnson
+ Matthew Todd Seth Fowler
As this was the first Vim plug-in I had ever written I was heavily influenced
by the design of the LustyExplorer plug-in by Stephen Bach, which I understand
@@ -611,6 +650,38 @@ LustyExplorer is available from:
http://www.vim.org/scripts/script.php?script_id=1890
+DEVELOPMENT *command-t-development*
+
+Development in progress can be inspected via the project's Git web-based
+repository browser at:
+
+ https://wincent.com/repos/command-t
+
+the clone URL for which is:
+
+ git://git.wincent.com/command-t.git
+
+Mirrors exist on GitHub and Gitorious; these are automatically updated once
+per hour from the authoritative repository:
+
+ https://github.com/wincent/command-t
+ https://gitorious.org/command-t/command-t
+
+Patches are welcome via the usual mechanisms (pull requests, email, posting to
+the project issue tracker etc).
+
+As many users choose to track Command-T using Pathogen, which often means
+running a version later than the last official release, the intention is that
+the "master" branch should be kept in a stable and reliable state as much as
+possible.
+
+Riskier changes are first cooked on the "next" branch for a period before
+being merged into master. You can track this branch if you're feeling wild and
+experimental, but note that the "next" branch may periodically be rewound
+(force-updated) to keep it in sync with the "master" branch after each
+official release.
+
+
WEBSITE *command-t-website*
The official website for Command-T is:
@@ -619,11 +690,6 @@ The official website for Command-T is:
The latest release will always be available from there.
-Development in progress can be inspected via the project's Git repository
-browser at:
-
- https://wincent.com/repos/command-t
-
A copy of each release is also available from the official Vim scripts site
at:
@@ -645,7 +711,7 @@ PayPal to win@wincent.com:
LICENSE *command-t-license*
-Copyright 2010-2011 Wincent Colaiuta. All rights reserved.
+Copyright 2010-2012 Wincent Colaiuta. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
@@ -670,6 +736,19 @@ POSSIBILITY OF SUCH DAMAGE.
HISTORY *command-t-history*
+1.4 (20 June 2012)
+
+- added |:CommandTTag| command (patches from Noon Silk)
+- turn off |'colorcolumn'| and |'relativenumber'| in the match window (patch
+ from Jeff Kreeftmeijer)
+- documentation update (patch from Nicholas Alpi)
+- added |:CommandTMinHeight| option (patch from Nate Kane)
+- highlight (by underlining) matched characters in the match listing (requires
+ Vim to have been compiled with the +conceal feature, which is available in
+ Vim 7.3 or later; patch from Steven Moazami)
+- added the ability to flush the cache while the match window is open using
+ <C-f>
+
1.3.1 (18 December 2011)
- fix jumplist navigation under Ruby 1.9.x (patch from Woody Peterson)
View
628 doc/tags
@@ -0,0 +1,628 @@
+'NERDAllowAnyVisualDelims' NERD_commenter.txt /*'NERDAllowAnyVisualDelims'*
+'NERDBlockComIgnoreEmpty' NERD_commenter.txt /*'NERDBlockComIgnoreEmpty'*
+'NERDCommentWholeLinesInVMode' NERD_commenter.txt /*'NERDCommentWholeLinesInVMode'*
+'NERDCompactSexyComs' NERD_commenter.txt /*'NERDCompactSexyComs'*
+'NERDCreateDefaultMappings' NERD_commenter.txt /*'NERDCreateDefaultMappings'*
+'NERDDefaultNesting' NERD_commenter.txt /*'NERDDefaultNesting'*
+'NERDLPlace' NERD_commenter.txt /*'NERDLPlace'*
+'NERDMenuMode' NERD_commenter.txt /*'NERDMenuMode'*
+'NERDRPlace' NERD_commenter.txt /*'NERDRPlace'*
+'NERDRemoveAltComs' NERD_commenter.txt /*'NERDRemoveAltComs'*
+'NERDRemoveExtraSpaces' NERD_commenter.txt /*'NERDRemoveExtraSpaces'*
+'NERDSpaceDelims' NERD_commenter.txt /*'NERDSpaceDelims'*
+'NERDUsePlaceHolders' NERD_commenter.txt /*'NERDUsePlaceHolders'*
+'Tlist_Auto_Highlight_Tag' taglist.txt /*'Tlist_Auto_Highlight_Tag'*
+'Tlist_Auto_Open' taglist.txt /*'Tlist_Auto_Open'*
+'Tlist_Auto_Update' taglist.txt /*'Tlist_Auto_Update'*
+'Tlist_Close_On_Select' taglist.txt /*'Tlist_Close_On_Select'*
+'Tlist_Compact_Format' taglist.txt /*'Tlist_Compact_Format'*
+'Tlist_Ctags_Cmd' taglist.txt /*'Tlist_Ctags_Cmd'*
+'Tlist_Display_Prototype' taglist.txt /*'Tlist_Display_Prototype'*
+'Tlist_Display_Tag_Scope' taglist.txt /*'Tlist_Display_Tag_Scope'*
+'Tlist_Enable_Fold_Column' taglist.txt /*'Tlist_Enable_Fold_Column'*
+'Tlist_Exit_OnlyWindow' taglist.txt /*'Tlist_Exit_OnlyWindow'*
+'Tlist_File_Fold_Auto_Close' taglist.txt /*'Tlist_File_Fold_Auto_Close'*
+'Tlist_GainFocus_On_ToggleOpen' taglist.txt /*'Tlist_GainFocus_On_ToggleOpen'*
+'Tlist_Highlight_Tag_On_BufEnter' taglist.txt /*'Tlist_Highlight_Tag_On_BufEnter'*
+'Tlist_Inc_Winwidth' taglist.txt /*'Tlist_Inc_Winwidth'*
+'Tlist_Max_Submenu_Items' taglist.txt /*'Tlist_Max_Submenu_Items'*
+'Tlist_Max_Tag_Length' taglist.txt /*'Tlist_Max_Tag_Length'*
+'Tlist_Process_File_Always' taglist.txt /*'Tlist_Process_File_Always'*
+'Tlist_Show_Menu' taglist.txt /*'Tlist_Show_Menu'*
+'Tlist_Show_One_File' taglist.txt /*'Tlist_Show_One_File'*
+'Tlist_Sort_Type' taglist.txt /*'Tlist_Sort_Type'*
+'Tlist_Use_Horiz_Window' taglist.txt /*'Tlist_Use_Horiz_Window'*
+'Tlist_Use_Right_Window' taglist.txt /*'Tlist_Use_Right_Window'*
+'Tlist_Use_SingleClick' taglist.txt /*'Tlist_Use_SingleClick'*
+'Tlist_WinHeight' taglist.txt /*'Tlist_WinHeight'*
+'Tlist_WinWidth' taglist.txt /*'Tlist_WinWidth'*
+'loaded_nerd_comments' NERD_commenter.txt /*'loaded_nerd_comments'*
+'snippets' snipMate.txt /*'snippets'*
+.snippet snipMate.txt /*.snippet*
+.snippets snipMate.txt /*.snippets*
+:Ack ack.txt /*:Ack*
+:AckAdd ack.txt /*:AckAdd*
+:AcpDisable acp.txt /*:AcpDisable*
+:AcpEnable acp.txt /*:AcpEnable*
+:AcpLock acp.txt /*:AcpLock*
+:AcpUnlock acp.txt /*:AcpUnlock*
+:CommandT command-t.txt /*:CommandT*
+:CommandTBuffer command-t.txt /*:CommandTBuffer*
+:CommandTFlush command-t.txt /*:CommandTFlush*
+:CommandTJumps command-t.txt /*:CommandTJumps*
+:CommandTTag command-t.txt /*:CommandTTag*
+:LAck ack.txt /*:LAck*
+:LAckAdd ack.txt /*:LAckAdd*
+:MatchDebug matchit.txt /*:MatchDebug*
+:PowerlineClearCache Powerline.txt /*:PowerlineClearCache*
+:TlistAddFiles taglist.txt /*:TlistAddFiles*
+:TlistAddFilesRecursive taglist.txt /*:TlistAddFilesRecursive*
+:TlistClose taglist.txt /*:TlistClose*
+:TlistDebug taglist.txt /*:TlistDebug*
+:TlistHighlightTag taglist.txt /*:TlistHighlightTag*
+:TlistLock taglist.txt /*:TlistLock*
+:TlistMessages taglist.txt /*:TlistMessages*
+:TlistOpen taglist.txt /*:TlistOpen*
+:TlistSessionLoad taglist.txt /*:TlistSessionLoad*
+:TlistSessionSave taglist.txt /*:TlistSessionSave*
+:TlistShowPrototype taglist.txt /*:TlistShowPrototype*
+:TlistShowTag taglist.txt /*:TlistShowTag*
+:TlistToggle taglist.txt /*:TlistToggle*
+:TlistUndebug taglist.txt /*:TlistUndebug*
+:TlistUnlock taglist.txt /*:TlistUnlock*
+:TlistUpdate taglist.txt /*:TlistUpdate*
+<C-Y>, zencoding.txt /*<C-Y>,*
+<C-Y>/ zencoding.txt /*<C-Y>\/*
+<C-Y>A zencoding.txt /*<C-Y>A*
+<C-Y>D zencoding.txt /*<C-Y>D*
+<C-Y>N zencoding.txt /*<C-Y>N*
+<C-Y>a zencoding.txt /*<C-Y>a*
+<C-Y>c zencoding.txt /*<C-Y>c*
+<C-Y>d zencoding.txt /*<C-Y>d*
+<C-Y>i zencoding.txt /*<C-Y>i*
+<C-Y>j zencoding.txt /*<C-Y>j*
+<C-Y>k zencoding.txt /*<C-Y>k*
+<C-Y>n zencoding.txt /*<C-Y>n*
+ExtractSnips() snipMate.txt /*ExtractSnips()*
+ExtractSnipsFile() snipMate.txt /*ExtractSnipsFile()*
+Filename() snipMate.txt /*Filename()*
+MatchError matchit.txt /*MatchError*
+NERDComAbout NERD_commenter.txt /*NERDComAbout*
+NERDComAlignedComment NERD_commenter.txt /*NERDComAlignedComment*
+NERDComAltDelim NERD_commenter.txt /*NERDComAltDelim*
+NERDComAppendComment NERD_commenter.txt /*NERDComAppendComment*
+NERDComChangelog NERD_commenter.txt /*NERDComChangelog*
+NERDComComment NERD_commenter.txt /*NERDComComment*
+NERDComCredits NERD_commenter.txt /*NERDComCredits*
+NERDComDefaultDelims NERD_commenter.txt /*NERDComDefaultDelims*
+NERDComEOLComment NERD_commenter.txt /*NERDComEOLComment*
+NERDComFunctionality NERD_commenter.txt /*NERDComFunctionality*
+NERDComFunctionalityDetails NERD_commenter.txt /*NERDComFunctionalityDetails*
+NERDComFunctionalitySummary NERD_commenter.txt /*NERDComFunctionalitySummary*
+NERDComHeuristics NERD_commenter.txt /*NERDComHeuristics*
+NERDComInsertComment NERD_commenter.txt /*NERDComInsertComment*
+NERDComInstallation NERD_commenter.txt /*NERDComInstallation*
+NERDComInvertComment NERD_commenter.txt /*NERDComInvertComment*
+NERDComIssues NERD_commenter.txt /*NERDComIssues*
+NERDComLicense NERD_commenter.txt /*NERDComLicense*
+NERDComMappings NERD_commenter.txt /*NERDComMappings*
+NERDComMinimalComment NERD_commenter.txt /*NERDComMinimalComment*
+NERDComNERDComment NERD_commenter.txt /*NERDComNERDComment*
+NERDComNestedComment NERD_commenter.txt /*NERDComNestedComment*
+NERDComNesting NERD_commenter.txt /*NERDComNesting*
+NERDComOptions NERD_commenter.txt /*NERDComOptions*
+NERDComOptionsDetails NERD_commenter.txt /*NERDComOptionsDetails*
+NERDComOptionsSummary NERD_commenter.txt /*NERDComOptionsSummary*
+NERDComSexyComment NERD_commenter.txt /*NERDComSexyComment*
+NERDComSexyComments NERD_commenter.txt /*NERDComSexyComments*
+NERDComToggleComment NERD_commenter.txt /*NERDComToggleComment*
+NERDComUncommentLine NERD_commenter.txt /*NERDComUncommentLine*
+NERDComYankComment NERD_commenter.txt /*NERDComYankComment*
+NERDCommenter NERD_commenter.txt /*NERDCommenter*
+NERDCommenterContents NERD_commenter.txt /*NERDCommenterContents*
+NERD_commenter.txt NERD_commenter.txt /*NERD_commenter.txt*
+Pl#Theme#InsertSegment Powerline.txt /*Pl#Theme#InsertSegment*
+Pl#Theme#RemoveSegment Powerline.txt /*Pl#Theme#RemoveSegment*
+Pl#Theme#ReplaceSegment Powerline.txt /*Pl#Theme#ReplaceSegment*
+Powerline Powerline.txt /*Powerline*
+Powerline-advanced-customization Powerline.txt /*Powerline-advanced-customization*
+Powerline-basic-customization Powerline.txt /*Powerline-basic-customization*
+Powerline-configuration Powerline.txt /*Powerline-configuration*
+Powerline-contents Powerline.txt /*Powerline-contents*
+Powerline-contributing Powerline.txt /*Powerline-contributing*
+Powerline-cust-colorschemes Powerline.txt /*Powerline-cust-colorschemes*
+Powerline-cust-functions Powerline.txt /*Powerline-cust-functions*
+Powerline-cust-segments Powerline.txt /*Powerline-cust-segments*
+Powerline-cust-themes Powerline.txt /*Powerline-cust-themes*
+Powerline-customization Powerline.txt /*Powerline-customization*
+Powerline-fonts Powerline.txt /*Powerline-fonts*
+Powerline-introduction Powerline.txt /*Powerline-introduction*
+Powerline-known-issues Powerline.txt /*Powerline-known-issues*
+Powerline-license Powerline.txt /*Powerline-license*
+Powerline-recommended-settings Powerline.txt /*Powerline-recommended-settings*
+Powerline-requirements Powerline.txt /*Powerline-requirements*
+Powerline-symbols-compatible Powerline.txt /*Powerline-symbols-compatible*
+Powerline-symbols-fancy Powerline.txt /*Powerline-symbols-fancy*
+Powerline-usage Powerline.txt /*Powerline-usage*
+Powerline.txt Powerline.txt /*Powerline.txt*
+Powerline_cache_enabled Powerline.txt /*Powerline_cache_enabled*
+Powerline_cache_file Powerline.txt /*Powerline_cache_file*
+Powerline_colorscheme Powerline.txt /*Powerline_colorscheme*
+Powerline_dividers_override Powerline.txt /*Powerline_dividers_override*
+Powerline_mode Powerline.txt /*Powerline_mode*
+Powerline_stl_path_style Powerline.txt /*Powerline_stl_path_style*
+Powerline_symbols Powerline.txt /*Powerline_symbols*
+Powerline_symbols_override Powerline.txt /*Powerline_symbols_override*
+Powerline_theme Powerline.txt /*Powerline_theme*
+ResetSnippets() snipMate.txt /*ResetSnippets()*
+Tlist_Get_Tag_Prototype_By_Line() taglist.txt /*Tlist_Get_Tag_Prototype_By_Line()*
+Tlist_Get_Tagname_By_Line() taglist.txt /*Tlist_Get_Tagname_By_Line()*
+Tlist_Set_App() taglist.txt /*Tlist_Set_App()*
+Tlist_Update_File_Tags() taglist.txt /*Tlist_Update_File_Tags()*
+YRClear yankring.txt /*YRClear*
+YRClear-example yankring.txt /*YRClear-example*
+YRDeleteRange yankring.txt /*YRDeleteRange*
+YRGetElem yankring.txt /*YRGetElem*
+YRGetMultiple yankring.txt /*YRGetMultiple*
+YRGetMultiple-example yankring.txt /*YRGetMultiple-example*
+YRMapsCreate yankring.txt /*YRMapsCreate*
+YRMapsDelete yankring.txt /*YRMapsDelete*
+YRPaste yankring.txt /*YRPaste*
+YRPop yankring.txt /*YRPop*
+YRPop-example yankring.txt /*YRPop-example*
+YRPush yankring.txt /*YRPush*
+YRPush-example yankring.txt /*YRPush-example*
+YRReplace yankring.txt /*YRReplace*
+YRReplace-example yankring.txt /*YRReplace-example*
+YRSearch yankring.txt /*YRSearch*
+YRSearch-example yankring.txt /*YRSearch-example*
+YRShow yankring.txt /*YRShow*
+YRShow-example yankring.txt /*YRShow-example*
+YRToggle yankring.txt /*YRToggle*
+YRYankCount yankring.txt /*YRYankCount*
+YRYankRange yankring.txt /*YRYankRange*
+YRYankRange-example yankring.txt /*YRYankRange-example*
+[% matchit.txt /*[%*
+]% matchit.txt /*]%*
+ack ack.txt /*ack*
+ack-author ack.txt /*ack-author*
+ack.txt ack.txt /*ack.txt*
+acp acp.txt /*acp*
+acp-about acp.txt /*acp-about*
+acp-author acp.txt /*acp-author*
+acp-changelog acp.txt /*acp-changelog*
+acp-commands acp.txt /*acp-commands*
+acp-contact acp.txt /*acp-contact*
+acp-installation acp.txt /*acp-installation*
+acp-introduction acp.txt /*acp-introduction*
+acp-options acp.txt /*acp-options*
+acp-perl-omni acp.txt /*acp-perl-omni*
+acp-snipMate acp.txt /*acp-snipMate*
+acp-thanks acp.txt /*acp-thanks*
+acp-usage acp.txt /*acp-usage*
+acp.txt acp.txt /*acp.txt*
+any-item-example yankring.txt /*any-item-example*
+autocomplpop acp.txt /*autocomplpop*
+b:match_col matchit.txt /*b:match_col*
+b:match_debug matchit.txt /*b:match_debug*
+b:match_ignorecase matchit.txt /*b:match_ignorecase*
+b:match_ini matchit.txt /*b:match_ini*
+b:match_iniBR matchit.txt /*b:match_iniBR*
+b:match_match matchit.txt /*b:match_match*
+b:match_pat matchit.txt /*b:match_pat*
+b:match_skip matchit.txt /*b:match_skip*
+b:match_table matchit.txt /*b:match_table*
+b:match_tail matchit.txt /*b:match_tail*
+b:match_wholeBR matchit.txt /*b:match_wholeBR*
+b:match_word matchit.txt /*b:match_word*
+b:match_words matchit.txt /*b:match_words*
+command-t command-t.txt /*command-t*
+command-t-authors command-t.txt /*command-t-authors*
+command-t-commands command-t.txt /*command-t-commands*
+command-t-contents command-t.txt /*command-t-contents*
+command-t-development command-t.txt /*command-t-development*
+command-t-donations command-t.txt /*command-t-donations*
+command-t-history command-t.txt /*command-t-history*
+command-t-installation command-t.txt /*command-t-installation*
+command-t-intro command-t.txt /*command-t-intro*
+command-t-license command-t.txt /*command-t-license*
+command-t-mappings command-t.txt /*command-t-mappings*
+command-t-options command-t.txt /*command-t-options*
+command-t-pathogen command-t.txt /*command-t-pathogen*
+command-t-requirements command-t.txt /*command-t-requirements*
+command-t-trouble-shooting command-t.txt /*command-t-trouble-shooting*
+command-t-usage command-t.txt /*command-t-usage*
+command-t-website command-t.txt /*command-t-website*
+command-t-wildignore command-t.txt /*command-t-wildignore*
+command-t.txt command-t.txt /*command-t.txt*
+config/rails.vim rails.txt /*config\/rails.vim*
+cs surround.txt /*cs*
+ds surround.txt /*ds*
+ft-ruby-omni ft-ruby-omni.txt /*ft-ruby-omni*
+ft-ruby-syntax ft-ruby-syntax.txt /*ft-ruby-syntax*
+fugitive fugitive.txt /*fugitive*
+fugitive#statusline() fugitive.txt /*fugitive#statusline()*
+fugitive-:Gblame fugitive.txt /*fugitive-:Gblame*
+fugitive-:Gbrowse fugitive.txt /*fugitive-:Gbrowse*
+fugitive-:Gcd fugitive.txt /*fugitive-:Gcd*
+fugitive-:Gcommit fugitive.txt /*fugitive-:Gcommit*
+fugitive-:Gdiff fugitive.txt /*fugitive-:Gdiff*
+fugitive-:Ge fugitive.txt /*fugitive-:Ge*
+fugitive-:Gedit fugitive.txt /*fugitive-:Gedit*
+fugitive-:Ggrep fugitive.txt /*fugitive-:Ggrep*
+fugitive-:Git fugitive.txt /*fugitive-:Git*
+fugitive-:Git! fugitive.txt /*fugitive-:Git!*
+fugitive-:Glcd fugitive.txt /*fugitive-:Glcd*
+fugitive-:Glog fugitive.txt /*fugitive-:Glog*
+fugitive-:Gmove fugitive.txt /*fugitive-:Gmove*
+fugitive-:Gpedit fugitive.txt /*fugitive-:Gpedit*
+fugitive-:Gpedit! fugitive.txt /*fugitive-:Gpedit!*
+fugitive-:Gread fugitive.txt /*fugitive-:Gread*
+fugitive-:Gread! fugitive.txt /*fugitive-:Gread!*
+fugitive-:Gremove fugitive.txt /*fugitive-:Gremove*
+fugitive-:Gsdiff fugitive.txt /*fugitive-:Gsdiff*
+fugitive-:Gsplit fugitive.txt /*fugitive-:Gsplit*
+fugitive-:Gsplit! fugitive.txt /*fugitive-:Gsplit!*
+fugitive-:Gstatus fugitive.txt /*fugitive-:Gstatus*
+fugitive-:Gtabedit fugitive.txt /*fugitive-:Gtabedit*
+fugitive-:Gtabedit! fugitive.txt /*fugitive-:Gtabedit!*
+fugitive-:Gvdiff fugitive.txt /*fugitive-:Gvdiff*
+fugitive-:Gvsplit fugitive.txt /*fugitive-:Gvsplit*
+fugitive-:Gvsplit! fugitive.txt /*fugitive-:Gvsplit!*
+fugitive-:Gwq fugitive.txt /*fugitive-:Gwq*
+fugitive-:Gwrite fugitive.txt /*fugitive-:Gwrite*
+fugitive-<CR> fugitive.txt /*fugitive-<CR>*
+fugitive-C fugitive.txt /*fugitive-C*
+fugitive-O fugitive.txt /*fugitive-O*
+fugitive-P fugitive.txt /*fugitive-P*
+fugitive-a fugitive.txt /*fugitive-a*
+fugitive-about fugitive.txt /*fugitive-about*
+fugitive-commands fugitive.txt /*fugitive-commands*
+fugitive-mappings fugitive.txt /*fugitive-mappings*
+fugitive-o fugitive.txt /*fugitive-o*
+fugitive-revision fugitive.txt /*fugitive-revision*
+fugitive-statusline fugitive.txt /*fugitive-statusline*
+fugitive-~ fugitive.txt /*fugitive-~*
+fugitive.txt fugitive.txt /*fugitive.txt*
+g% matchit.txt /*g%*
+g:CommandTAcceptSelectionMap command-t.txt /*g:CommandTAcceptSelectionMap*
+g:CommandTAcceptSelectionSplitMap command-t.txt /*g:CommandTAcceptSelectionSplitMap*
+g:CommandTAcceptSelectionTabMap command-t.txt /*g:CommandTAcceptSelectionTabMap*
+g:CommandTAcceptSelectionVSplitMap command-t.txt /*g:CommandTAcceptSelectionVSplitMap*
+g:CommandTAlwaysShowDotFiles command-t.txt /*g:CommandTAlwaysShowDotFiles*
+g:CommandTBackspaceMap command-t.txt /*g:CommandTBackspaceMap*
+g:CommandTCancelMap command-t.txt /*g:CommandTCancelMap*
+g:CommandTClearMap command-t.txt /*g:CommandTClearMap*
+g:CommandTCursorEndMap command-t.txt /*g:CommandTCursorEndMap*
+g:CommandTCursorLeftMap command-t.txt /*g:CommandTCursorLeftMap*
+g:CommandTCursorRightMap command-t.txt /*g:CommandTCursorRightMap*
+g:CommandTCursorStartMap command-t.txt /*g:CommandTCursorStartMap*
+g:CommandTDeleteMap command-t.txt /*g:CommandTDeleteMap*
+g:CommandTMatchWindowAtTop command-t.txt /*g:CommandTMatchWindowAtTop*
+g:CommandTMatchWindowReverse command-t.txt /*g:CommandTMatchWindowReverse*
+g:CommandTMaxCachedDirectories command-t.txt /*g:CommandTMaxCachedDirectories*
+g:CommandTMaxDepth command-t.txt /*g:CommandTMaxDepth*
+g:CommandTMaxFiles command-t.txt /*g:CommandTMaxFiles*
+g:CommandTMaxHeight command-t.txt /*g:CommandTMaxHeight*
+g:CommandTMinHeight command-t.txt /*g:CommandTMinHeight*
+g:CommandTNeverShowDotFiles command-t.txt /*g:CommandTNeverShowDotFiles*
+g:CommandTRefreshMap command-t.txt /*g:CommandTRefreshMap*
+g:CommandTScanDotDirectories command-t.txt /*g:CommandTScanDotDirectories*
+g:CommandTSelectNextMap command-t.txt /*g:CommandTSelectNextMap*
+g:CommandTSelectPrevMap command-t.txt /*g:CommandTSelectPrevMap*
+g:CommandTTagIncludeFilenames command-t.txt /*g:CommandTTagIncludeFilenames*
+g:CommandTToggleFocusMap command-t.txt /*g:CommandTToggleFocusMap*
+g:acp_behavior acp.txt /*g:acp_behavior*
+g:acp_behavior-command acp.txt /*g:acp_behavior-command*
+g:acp_behavior-completefunc acp.txt /*g:acp_behavior-completefunc*
+g:acp_behavior-meets acp.txt /*g:acp_behavior-meets*
+g:acp_behavior-onPopupClose acp.txt /*g:acp_behavior-onPopupClose*
+g:acp_behavior-repeat acp.txt /*g:acp_behavior-repeat*
+g:acp_behaviorCssOmniPropertyLength acp.txt /*g:acp_behaviorCssOmniPropertyLength*
+g:acp_behaviorCssOmniValueLength acp.txt /*g:acp_behaviorCssOmniValueLength*
+g:acp_behaviorFileLength acp.txt /*g:acp_behaviorFileLength*
+g:acp_behaviorHtmlOmniLength acp.txt /*g:acp_behaviorHtmlOmniLength*
+g:acp_behaviorKeywordCommand acp.txt /*g:acp_behaviorKeywordCommand*
+g:acp_behaviorKeywordIgnores acp.txt /*g:acp_behaviorKeywordIgnores*
+g:acp_behaviorKeywordLength acp.txt /*g:acp_behaviorKeywordLength*
+g:acp_behaviorPerlOmniLength acp.txt /*g:acp_behaviorPerlOmniLength*
+g:acp_behaviorPythonOmniLength acp.txt /*g:acp_behaviorPythonOmniLength*
+g:acp_behaviorRubyOmniMethodLength acp.txt /*g:acp_behaviorRubyOmniMethodLength*
+g:acp_behaviorRubyOmniSymbolLength acp.txt /*g:acp_behaviorRubyOmniSymbolLength*
+g:acp_behaviorSnipmateLength acp.txt /*g:acp_behaviorSnipmateLength*
+g:acp_behaviorUserDefinedFunction acp.txt /*g:acp_behaviorUserDefinedFunction*
+g:acp_behaviorUserDefinedMeets acp.txt /*g:acp_behaviorUserDefinedMeets*
+g:acp_behaviorXmlOmniLength acp.txt /*g:acp_behaviorXmlOmniLength*
+g:acp_completeOption acp.txt /*g:acp_completeOption*
+g:acp_completeoptPreview acp.txt /*g:acp_completeoptPreview*
+g:acp_enableAtStartup acp.txt /*g:acp_enableAtStartup*
+g:acp_ignorecaseOption acp.txt /*g:acp_ignorecaseOption*
+g:acp_mappingDriven acp.txt /*g:acp_mappingDriven*
+g:loaded_rails rails.txt /*g:loaded_rails*
+g:rails_abbreviations rails.txt /*g:rails_abbreviations*
+g:rails_ctags_arguments rails.txt /*g:rails_ctags_arguments*
+g:rails_default_file rails.txt /*g:rails_default_file*
+g:rails_gnu_screen rails.txt /*g:rails_gnu_screen*
+g:rails_history_size rails.txt /*g:rails_history_size*
+g:rails_mappings rails.txt /*g:rails_mappings*
+g:rails_menu rails.txt /*g:rails_menu*
+g:rails_modelines rails.txt /*g:rails_modelines*
+g:rails_syntax rails.txt /*g:rails_syntax*
+g:rails_tabstop rails.txt /*g:rails_tabstop*
+g:rails_url rails.txt /*g:rails_url*
+g:snippets_dir snipMate.txt /*g:snippets_dir*
+g:snips_author snipMate.txt /*g:snips_author*
+global-example yankring.txt /*global-example*
+i_CTRL-G_S surround.txt /*i_CTRL-G_S*
+i_CTRL-G_s surround.txt /*i_CTRL-G_s*
+i_CTRL-R_<Tab> snipMate.txt /*i_CTRL-R_<Tab>*
+list-snippets snipMate.txt /*list-snippets*
+macros/rails.vim rails.txt /*macros\/rails.vim*
+matchit matchit.txt /*matchit*
+matchit-% matchit.txt /*matchit-%*
+matchit-\1 matchit.txt /*matchit-\\1*
+matchit-activate matchit.txt /*matchit-activate*
+matchit-backref matchit.txt /*matchit-backref*
+matchit-bugs matchit.txt /*matchit-bugs*
+matchit-choose matchit.txt /*matchit-choose*
+matchit-configure matchit.txt /*matchit-configure*
+matchit-debug matchit.txt /*matchit-debug*
+matchit-details matchit.txt /*matchit-details*
+matchit-highlight matchit.txt /*matchit-highlight*
+matchit-hl matchit.txt /*matchit-hl*
+matchit-intro matchit.txt /*matchit-intro*
+matchit-languages matchit.txt /*matchit-languages*
+matchit-modes matchit.txt /*matchit-modes*
+matchit-newlang matchit.txt /*matchit-newlang*
+matchit-o_% matchit.txt /*matchit-o_%*
+matchit-parse matchit.txt /*matchit-parse*
+matchit-s:notend matchit.txt /*matchit-s:notend*
+matchit-s:sol matchit.txt /*matchit-s:sol*
+matchit-spaces matchit.txt /*matchit-spaces*
+matchit-troubleshoot matchit.txt /*matchit-troubleshoot*
+matchit-v_% matchit.txt /*matchit-v_%*
+matchit.txt matchit.txt /*matchit.txt*
+matchit.vim matchit.txt /*matchit.vim*
+multi_snip snipMate.txt /*multi_snip*
+multiple-items-example yankring.txt /*multiple-items-example*
+o_[% matchit.txt /*o_[%*
+o_]% matchit.txt /*o_]%*
+o_g% matchit.txt /*o_g%*
+rails rails.txt /*rails*
+rails-'cfu' rails.txt /*rails-'cfu'*
+rails-'completefunc' rails.txt /*rails-'completefunc'*
+rails-'et' rails.txt /*rails-'et'*
+rails-'expandtab' rails.txt /*rails-'expandtab'*
+rails-'filetype' rails.txt /*rails-'filetype'*
+rails-'ft' rails.txt /*rails-'ft'*
+rails-'includeexpr' rails.txt /*rails-'includeexpr'*
+rails-'inex' rails.txt /*rails-'inex'*
+rails-'pa' rails.txt /*rails-'pa'*
+rails-'path' rails.txt /*rails-'path'*
+rails-'shiftwidth' rails.txt /*rails-'shiftwidth'*
+rails-'softtabstop' rails.txt /*rails-'softtabstop'*
+rails-'sts' rails.txt /*rails-'sts'*
+rails-'sua' rails.txt /*rails-'sua'*
+rails-'suffixesadd' rails.txt /*rails-'suffixesadd'*
+rails-'sw' rails.txt /*rails-'sw'*
+rails-:A rails.txt /*rails-:A*
+rails-:AD rails.txt /*rails-:AD*
+rails-:AE rails.txt /*rails-:AE*
+rails-:AS rails.txt /*rails-:AS*
+rails-:AT rails.txt /*rails-:AT*
+rails-:AV rails.txt /*rails-:AV*
+rails-:OpenURL rails.txt /*rails-:OpenURL*
+rails-:R rails.txt /*rails-:R*
+rails-:RD rails.txt /*rails-:RD*
+rails-:RE rails.txt /*rails-:RE*
+rails-:RS rails.txt /*rails-:RS*
+rails-:RT rails.txt /*rails-:RT*
+rails-:RV rails.txt /*rails-:RV*
+rails-:Rabbrev rails.txt /*rails-:Rabbrev*
+rails-:Rabbrev! rails.txt /*rails-:Rabbrev!*
+rails-:Rails rails.txt /*rails-:Rails*
+rails-:Rake rails.txt /*rails-:Rake*
+rails-:Rake! rails.txt /*rails-:Rake!*
+rails-:Rcd rails.txt /*rails-:Rcd*
+rails-:Rcommand rails.txt /*rails-:Rcommand*
+rails-:Rconsole rails.txt /*rails-:Rconsole*
+rails-:Rcontroller rails.txt /*rails-:Rcontroller*
+rails-:Rdbext rails.txt /*rails-:Rdbext*
+rails-:Rdestroy rails.txt /*rails-:Rdestroy*
+rails-:Rdoc rails.txt /*rails-:Rdoc*
+rails-:Rdoc! rails.txt /*rails-:Rdoc!*
+rails-:Redit rails.txt /*rails-:Redit*
+rails-:Renvironment rails.txt /*rails-:Renvironment*
+rails-:Rextract rails.txt /*rails-:Rextract*
+rails-:Rfind rails.txt /*rails-:Rfind*
+rails-:Rfixtures rails.txt /*rails-:Rfixtures*
+rails-:Rfunctionaltest rails.txt /*rails-:Rfunctionaltest*
+rails-:Rgenerate rails.txt /*rails-:Rgenerate*
+rails-:Rhelper rails.txt /*rails-:Rhelper*
+rails-:Rinitializer rails.txt /*rails-:Rinitializer*
+rails-:Rintegrationtest rails.txt /*rails-:Rintegrationtest*
+rails-:Rinvert rails.txt /*rails-:Rinvert*
+rails-:Rjavascript rails.txt /*rails-:Rjavascript*
+rails-:Rlayout rails.txt /*rails-:Rlayout*
+rails-:Rlcd rails.txt /*rails-:Rlcd*
+rails-:Rlib rails.txt /*rails-:Rlib*
+rails-:Rlocale rails.txt /*rails-:Rlocale*
+rails-:Rlog rails.txt /*rails-:Rlog*
+rails-:Rmailer rails.txt /*rails-:Rmailer*
+rails-:Rmetal rails.txt /*rails-:Rmetal*
+rails-:Rmigration rails.txt /*rails-:Rmigration*
+rails-:Rmodel rails.txt /*rails-:Rmodel*
+rails-:Rnavcommand rails.txt /*rails-:Rnavcommand*
+rails-:Robserver rails.txt /*rails-:Robserver*
+rails-:Rp rails.txt /*rails-:Rp*
+rails-:Rpartial rails.txt /*rails-:Rpartial*
+rails-:Rplugin rails.txt /*rails-:Rplugin*
+rails-:Rpp rails.txt /*rails-:Rpp*
+rails-:Rpreview rails.txt /*rails-:Rpreview*
+rails-:Rpreview! rails.txt /*rails-:Rpreview!*
+rails-:Rrefresh rails.txt /*rails-:Rrefresh*
+rails-:Rrefresh! rails.txt /*rails-:Rrefresh!*
+rails-:Rrunner rails.txt /*rails-:Rrunner*
+rails-:Rschema rails.txt /*rails-:Rschema*
+rails-:Rscript rails.txt /*rails-:Rscript*
+rails-:Rserver rails.txt /*rails-:Rserver*
+rails-:Rserver! rails.txt /*rails-:Rserver!*
+rails-:Rset rails.txt /*rails-:Rset*
+rails-:Rspec rails.txt /*rails-:Rspec*
+rails-:Rstylesheet rails.txt /*rails-:Rstylesheet*
+rails-:Rtags rails.txt /*rails-:Rtags*
+rails-:Rtask rails.txt /*rails-:Rtask*
+rails-:Rtree rails.txt /*rails-:Rtree*
+rails-:Runittest rails.txt /*rails-:Runittest*
+rails-:Rview rails.txt /*rails-:Rview*
+rails-:Ry rails.txt /*rails-:Ry*
+rails-:autocmd rails.txt /*rails-:autocmd*
+rails-abbreviations rails.txt /*rails-abbreviations*
+rails-abolish rails.txt /*rails-abolish*
+rails-about rails.txt /*rails-about*
+rails-alternate rails.txt /*rails-alternate*
+rails-alternate-related rails.txt /*rails-alternate-related*
+rails-autocommands rails.txt /*rails-autocommands*
+rails-commands rails.txt /*rails-commands*
+rails-configuration rails.txt /*rails-configuration*
+rails-cream rails.txt /*rails-cream*
+rails-custom-navigation rails.txt /*rails-custom-navigation*
+rails-dbext rails.txt /*rails-dbext*
+rails-gf rails.txt /*rails-gf*
+rails-global-settings rails.txt /*rails-global-settings*
+rails-integration rails.txt /*rails-integration*
+rails-introduction rails.txt /*rails-introduction*
+rails-license rails.txt /*rails-license*
+rails-menu rails.txt /*rails-menu*
+rails-migrations rails.txt /*rails-migrations*
+rails-modelines rails.txt /*rails-modelines*
+rails-navigation rails.txt /*rails-navigation*
+rails-options rails.txt /*rails-options*
+rails-partials rails.txt /*rails-partials*
+rails-plugin-author rails.txt /*rails-plugin-author*
+rails-rails-integration rails.txt /*rails-rails-integration*
+rails-rake rails.txt /*rails-rake*
+rails-rake-defaults rails.txt /*rails-rake-defaults*
+rails-refactoring rails.txt /*rails-refactoring*
+rails-related rails.txt /*rails-related*
+rails-rspec rails.txt /*rails-rspec*
+rails-screen rails.txt /*rails-screen*
+rails-scripts rails.txt /*rails-scripts*
+rails-snippets rails.txt /*rails-snippets*
+rails-surround rails.txt /*rails-surround*
+rails-syntax rails.txt /*rails-syntax*
+rails-syntax-assertions rails.txt /*rails-syntax-assertions*
+rails-syntax-classes rails.txt /*rails-syntax-classes*
+rails-syntax-keywords rails.txt /*rails-syntax-keywords*
+rails-syntax-strings rails.txt /*rails-syntax-strings*
+rails-syntax-yaml rails.txt /*rails-syntax-yaml*
+rails-tabs rails.txt /*rails-tabs*
+rails-template-types rails.txt /*rails-template-types*
+rails-type-navigation rails.txt /*rails-type-navigation*
+rails-vim-integration rails.txt /*rails-vim-integration*
+rails.txt rails.txt /*rails.txt*
+ruby.vim ft-ruby-syntax.txt /*ruby.vim*
+rubyrefactoring rubyrefactoring.txt /*rubyrefactoring*
+rubyrefactoring-author rubyrefactoring.txt /*rubyrefactoring-author*
+rubyrefactoring-commands rubyrefactoring.txt /*rubyrefactoring-commands*
+rubyrefactoring-mappings rubyrefactoring.txt /*rubyrefactoring-mappings*
+rubyrefactoring-usageexamples rubyrefactoring.txt /*rubyrefactoring-usageexamples*
+rubyrefactoring.txt rubyrefactoring.txt /*rubyrefactoring.txt*
+snipMate snipMate.txt /*snipMate*
+snipMate-$# snipMate.txt /*snipMate-$#*
+snipMate-${#:} snipMate.txt /*snipMate-${#:}*
+snipMate-${#} snipMate.txt /*snipMate-${#}*
+snipMate-author snipMate.txt /*snipMate-author*
+snipMate-commands snipMate.txt /*snipMate-commands*
+snipMate-contact snipMate.txt /*snipMate-contact*
+snipMate-description snipMate.txt /*snipMate-description*
+snipMate-disadvantages snipMate.txt /*snipMate-disadvantages*
+snipMate-expandtab snipMate.txt /*snipMate-expandtab*
+snipMate-features snipMate.txt /*snipMate-features*
+snipMate-filename snipMate.txt /*snipMate-filename*
+snipMate-indenting snipMate.txt /*snipMate-indenting*
+snipMate-placeholders snipMate.txt /*snipMate-placeholders*
+snipMate-remap snipMate.txt /*snipMate-remap*
+snipMate-settings snipMate.txt /*snipMate-settings*
+snipMate-usage snipMate.txt /*snipMate-usage*
+snipMate.txt snipMate.txt /*snipMate.txt*
+snippet snipMate.txt /*snippet*
+snippet-syntax snipMate.txt /*snippet-syntax*
+snippets snipMate.txt /*snippets*
+surround surround.txt /*surround*
+surround-customizing surround.txt /*surround-customizing*
+surround-issues surround.txt /*surround-issues*
+surround-mappings surround.txt /*surround-mappings*
+surround-replacements surround.txt /*surround-replacements*
+surround-targets surround.txt /*surround-targets*
+surround.txt surround.txt /*surround.txt*
+taglist-commands taglist.txt /*taglist-commands*
+taglist-debug taglist.txt /*taglist-debug*
+taglist-extend taglist.txt /*taglist-extend*
+taglist-faq taglist.txt /*taglist-faq*
+taglist-functions taglist.txt /*taglist-functions*
+taglist-install taglist.txt /*taglist-install*
+taglist-internet taglist.txt /*taglist-internet*
+taglist-intro taglist.txt /*taglist-intro*
+taglist-keys taglist.txt /*taglist-keys*
+taglist-license taglist.txt /*taglist-license*
+taglist-menu taglist.txt /*taglist-menu*
+taglist-options taglist.txt /*taglist-options*
+taglist-requirements taglist.txt /*taglist-requirements*
+taglist-session taglist.txt /*taglist-session*
+taglist-todo taglist.txt /*taglist-todo*
+taglist-using taglist.txt /*taglist-using*
+taglist.txt taglist.txt /*taglist.txt*
+vS surround.txt /*vS*
+v_<C-Y>, zencoding.txt /*v_<C-Y>,*
+v_[% matchit.txt /*v_[%*
+v_]% matchit.txt /*v_]%*
+v_a% matchit.txt /*v_a%*
+v_g% matchit.txt /*v_g%*
+vgS surround.txt /*vgS*
+yS surround.txt /*yS*
+ySS surround.txt /*ySS*
+yankring yankring.txt /*yankring*
+yankring-commands yankring.txt /*yankring-commands*
+yankring-configure yankring.txt /*yankring-configure*
+yankring-contents yankring.txt /*yankring-contents*
+yankring-custom-maps yankring.txt /*yankring-custom-maps*
+yankring-custom-menus yankring.txt /*yankring-custom-menus*
+yankring-description yankring.txt /*yankring-description*
+yankring-globals yankring.txt /*yankring-globals*
+yankring-history yankring.txt /*yankring-history*
+yankring-mappings yankring.txt /*yankring-mappings*
+yankring-tutorial yankring.txt /*yankring-tutorial*
+yankring-visual-example yankring.txt /*yankring-visual-example*
+yankring-window yankring.txt /*yankring-window*
+yankring-window-example yankring.txt /*yankring-window-example*
+yankring.txt yankring.txt /*yankring.txt*
+ys surround.txt /*ys*
+yss surround.txt /*yss*
+zencoding zencoding.txt /*zencoding*
+zencoding-balance-tag-inward zencoding.txt /*zencoding-balance-tag-inward*
+zencoding-balance-tag-outward zencoding.txt /*zencoding-balance-tag-outward*
+zencoding-code-pretty zencoding.txt /*zencoding-code-pretty*
+zencoding-complete-tag zencoding.txt /*zencoding-complete-tag*
+zencoding-contents zencoding.txt /*zencoding-contents*
+zencoding-customize zencoding.txt /*zencoding-customize*
+zencoding-customize-keymappings zencoding.txt /*zencoding-customize-keymappings*
+zencoding-define-tags-behavior zencoding.txt /*zencoding-define-tags-behavior*
+zencoding-expandabbr zencoding.txt /*zencoding-expandabbr*
+zencoding-goto-next-point zencoding.txt /*zencoding-goto-next-point*
+zencoding-goto-previous-point zencoding.txt /*zencoding-goto-previous-point*
+zencoding-indent-size zencoding.txt /*zencoding-indent-size*
+zencoding-install zencoding.txt /*zencoding-install*
+zencoding-introduction zencoding.txt /*zencoding-introduction*
+zencoding-links zencoding.txt /*zencoding-links*
+zencoding-make-anchor-url zencoding.txt /*zencoding-make-anchor-url*
+zencoding-merge-lines zencoding.txt /*zencoding-merge-lines*
+zencoding-quoted-text-url zencoding.txt /*zencoding-quoted-text-url*
+zencoding-remove-tag zencoding.txt /*zencoding-remove-tag*
+zencoding-split-join-tag zencoding.txt /*zencoding-split-join-tag*
+zencoding-todo zencoding.txt /*zencoding-todo*
+zencoding-toggle-comment zencoding.txt /*zencoding-toggle-comment*
+zencoding-tutorial zencoding.txt /*zencoding-tutorial*
+zencoding-update-image-size zencoding.txt /*zencoding-update-image-size*
+zencoding-wrap-wtih-abbreviation zencoding.txt /*zencoding-wrap-wtih-abbreviation*
+zencoding.txt zencoding.txt /*zencoding.txt*
View
17 plugin/command-t.vim
@@ -1,5 +1,5 @@
" command-t.vim
-" Copyright 2010-2011 Wincent Colaiuta. All rights reserved.
+" Copyright 2010-2012 Wincent Colaiuta. All rights reserved.
"
" Redistribution and use in source and binary forms, with or without
" modification, are permitted provided that the following conditions are met:
@@ -22,13 +22,14 @@
" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
" POSSIBILITY OF SUCH DAMAGE.
-if exists("g:command_t_loaded")
+if exists("g:command_t_loaded") || &cp
finish
endif
let g:command_t_loaded = 1
command CommandTBuffer call <SID>CommandTShowBufferFinder()
command CommandTJump call <SID>CommandTShowJumpFinder()
+command CommandTTag call <SID>CommandTShowTagFinder()
command -nargs=? -complete=dir CommandT call <SID>CommandTShowFileFinder(<q-args>)
command CommandTFlush call <SID>CommandTFlush()
@@ -71,6 +72,14 @@ function s:CommandTShowJumpFinder()
endif
endfunction
+function s:CommandTShowTagFinder()
+ if has('ruby')
+ ruby $command_t.show_tag_finder
+ else
+ call s:CommandTRubyWarning()
+ endif
+endfunction
+
function s:CommandTFlush()
if has('ruby')
ruby $command_t.flush
@@ -111,6 +120,10 @@ function CommandTAcceptSelectionVSplit()
ruby $command_t.accept_selection :command => 'vs'
endfunction
+function CommandTRefresh()
+ ruby $command_t.refresh
+endfunction
+
function CommandTToggleFocus()
ruby $command_t.toggle_focus
endfunction
View
77 ruby/command-t/controller.rb
@@ -1,4 +1,4 @@
-# Copyright 2010-2011 Wincent Colaiuta. All rights reserved.
+# Copyright 2010-2012 Wincent Colaiuta. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
@@ -24,6 +24,7 @@
require 'command-t/finder/buffer_finder'
require 'command-t/finder/jump_finder'
require 'command-t/finder/file_finder'
+require 'command-t/finder/tag_finder'
require 'command-t/match_window'
require 'command-t/prompt'
require 'command-t/vim/path_utilities'
@@ -48,6 +49,12 @@ def show_jump_finder
show
end
+ def show_tag_finder
+ @path = VIM::pwd
+ @active_finder = tag_finder
+ show
+ end
+
def show_file_finder
# optional parameter will be desired starting directory, or ""
@path = File.expand_path(::VIM::evaluate('a:arg'), VIM::pwd)
@@ -72,9 +79,17 @@ def hide
end
end
+ def refresh
+ return unless @active_finder && @active_finder.respond_to?(:flush)
+ @active_finder.flush
+ list_matches
+ end
+
def flush
@max_height = nil
+ @min_height = nil
@file_finder = nil
+ @tag_finder = nil
end
def handle_key
@@ -162,7 +177,8 @@ def show
@match_window = MatchWindow.new \
:prompt => @prompt,
:match_window_at_top => get_bool('g:CommandTMatchWindowAtTop'),
- :match_window_reverse => get_bool('g:CommandTMatchWindowReverse')
+ :match_window_reverse => get_bool('g:CommandTMatchWindowReverse'),
+ :min_height => min_height
@focus = @prompt
@prompt.focus
register_for_key_presses
@@ -173,25 +189,29 @@ def max_height
@max_height ||= get_number('g:CommandTMaxHeight') || 0
end
- def exists? name
- ::VIM::evaluate("exists(\"#{name}\")").to_i != 0
+ def min_height
+ @min_height ||= begin
+ min_height = get_number('g:CommandTMinHeight') || 0
+ min_height = max_height if max_height != 0 && min_height > max_height
+ min_height
+ end
end
def get_number name
- exists?(name) ? ::VIM::evaluate("#{name}").to_i : nil
+ VIM::exists?(name) ? ::VIM::evaluate("#{name}").to_i : nil
end
def get_bool name
- exists?(name) ? ::VIM::evaluate("#{name}").to_i != 0 : nil
+ VIM::exists?(name) ? ::VIM::evaluate("#{name}").to_i != 0 : nil
end
def get_string name
- exists?(name) ? ::VIM::evaluate("#{name}").to_s : nil
+ VIM::exists?(name) ? ::VIM::evaluate("#{name}").to_s : nil
end
# expect a string or a list of strings
def get_list_or_string name
- return nil unless exists?(name)
+ return nil unless VIM::exists?(name)
list_or_string = ::VIM::evaluate("#{name}")
if list_or_string.kind_of?(Array)
list_or_string.map { |item| item.to_s }
@@ -241,20 +261,17 @@ def open_selection selection, options = {}
selection = relative_path_under_working_directory selection
selection = sanitize_path_string selection
ensure_appropriate_window_selection
- ::VIM::command "silent #{command} #{selection}"
+
+ @active_finder.open_selection command, selection, options
end
def map key, function, param = nil
::VIM::command "noremap <silent> <buffer> #{key} " \
":call CommandT#{function}(#{param})<CR>"
end
- def xterm?
- !!(::VIM::evaluate('&term') =~ /\Axterm/)
- end
-
- def vt100?
- !!(::VIM::evaluate('&term') =~ /\Avt100/)
+ def term
+ @term ||= ::VIM::evaluate('&term')
end
def register_for_key_presses
@@ -268,28 +285,33 @@ def register_for_key_presses
end
# "special" keys (overridable by settings)
- { 'Backspace' => '<BS>',
- 'Delete' => '<Del>',
+ {
'AcceptSelection' => '<CR>',
'AcceptSelectionSplit' => ['<C-CR>', '<C-s>'],
'AcceptSelectionTab' => '<C-t>',
'AcceptSelectionVSplit' => '<C-v>',
- 'ToggleFocus' => '<Tab>',
+ 'Backspace' => '<BS>',
'Cancel' => ['<C-c>', '<Esc>'],
- 'SelectNext' => ['<C-n>', '<C-j>', '<Down>'],
- 'SelectPrev' => ['<C-p>', '<C-k>', '<Up>'],
'Clear' => '<C-u>',
+ 'CursorEnd' => '<C-e>',
'CursorLeft' => ['<Left>', '<C-h>'],
'CursorRight' => ['<Right>', '<C-l>'],
- 'CursorEnd' => '<C-e>',
- 'CursorStart' => '<C-a>' }.each do |key, value|
+ 'CursorStart' => '<C-a>',
+ 'Delete' => '<Del>',
+ 'Refresh' => '<C-f>',
+ 'SelectNext' => ['<C-n>', '<C-j>', '<Down>'],
+ 'SelectPrev' => ['<C-p>', '<C-k>', '<Up>'],
+ 'ToggleFocus' => '<Tab>',
+ }.each do |key, value|
if override = get_list_or_string("g:CommandT#{key}Map")
- [override].flatten.each do |mapping|
+ Array(override).each do |mapping|
map mapping, key
end
else
- [value].flatten.each do |mapping|
- map mapping, key unless mapping == '<Esc>' && (xterm? || vt100?)
+ Array(value).each do |mapping|
+ unless mapping == '<Esc>' && term =~ /\A(screen|xterm|vt100)/
+ map mapping, key
+ end
end
end
end
@@ -326,5 +348,10 @@ def file_finder
def jump_finder
@jump_finder ||= CommandT::JumpFinder.new
end
+
+ def tag_finder
+ @tag_finder ||= CommandT::TagFinder.new \
+ :include_filenames => get_bool('g:CommandTTagIncludeFilenames')
+ end
end # class Controller
end # module commandT
View
2 ruby/command-t/extconf.rb
@@ -28,5 +28,7 @@ def missing item
exit 1
end
+RbConfig::MAKEFILE_CONFIG['CC'] = ENV['CC'] if ENV['CC']
+
have_header('ruby.h') or missing('ruby.h')
create_makefile('ext')
View
8 ruby/command-t/finder.rb
@@ -1,4 +1,4 @@
-# Copyright 2010-2011 Wincent Colaiuta. All rights reserved.
+# Copyright 2010-2012 Wincent Colaiuta. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
@@ -31,6 +31,8 @@ module CommandT
# Specialized subclasses use different kinds of scanners adapted for
# different kinds of search (files, buffers).
class Finder
+ include VIM::PathUtilities
+
def initialize path = Dir.pwd, options = {}
raise RuntimeError, 'Subclass responsibility'
end
@@ -41,8 +43,8 @@ def sorted_matches_for str, options = {}
@matcher.sorted_matches_for str, options
end
- def flush
- @scanner.flush
+ def open_selection command, selection, options = {}
+ ::VIM::command "silent #{command} #{selection}"
end
def path= path
View
6 ruby/command-t/finder/file_finder.rb
@@ -1,4 +1,4 @@
-# Copyright 2010-2011 Wincent Colaiuta. All rights reserved.
+# Copyright 2010-2012 Wincent Colaiuta. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
@@ -31,5 +31,9 @@ def initialize path = Dir.pwd, options = {}
@scanner = FileScanner.new path, options
@matcher = Matcher.new @scanner, options
end
+
+ def flush
+ @scanner.flush
+ end
end # class FileFinder
end # CommandT
View
44 ruby/command-t/finder/tag_finder.rb
@@ -0,0 +1,44 @@
+# Copyright 2011-2012 Wincent Colaiuta. All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# 1. Redistributions of source code must retain the above copyright notice,
+# this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright notice,
+# this list of conditions and the following disclaimer in the documentation
+# and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+# POSSIBILITY OF SUCH DAMAGE.
+
+require 'command-t/ext' # CommandT::Matcher
+require 'command-t/scanner/tag_scanner'
+require 'command-t/finder'
+
+module CommandT
+ class TagFinder < Finder
+ def initialize options = {}
+ @scanner = TagScanner.new options
+ @matcher = Matcher.new @scanner, :always_show_dot_files => true
+ end
+
+ def open_selection command, selection, options = {}
+ if @scanner.include_filenames
+ selection = selection[0, selection.index(':')]
+ end
+
+ # open the tag and center the screen on it
+ ::VIM::command "silent! tag #{selection} | :normal zz"
+ end
+ end # class TagFinder
+end # module CommandT
View
91 ruby/command-t/match_window.rb
@@ -1,4 +1,4 @@
-# Copyright 2010-2011 Wincent Colaiuta. All rights reserved.
+# Copyright 2010-2012 Wincent Colaiuta. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
@@ -26,14 +26,17 @@
module CommandT
class MatchWindow
- @@selection_marker = '> '
- @@marker_length = @@selection_marker.length
- @@unselected_marker = ' ' * @@marker_length
- @@buffer = nil
+ SELECTION_MARKER = '> '
+ MARKER_LENGTH = SELECTION_MARKER.length
+ UNSELECTED_MARKER = ' ' * MARKER_LENGTH
+ MH_START = '<commandt>'
+ MH_END = '</commandt>'
+ @@buffer = nil
def initialize options = {}
@prompt = options[:prompt]
@reverse_list = options[:match_window_reverse]
+ @min_height = options[:min_height]
# save existing window dimensions so we can restore them later
@windows = []
@@ -80,16 +83,35 @@ def initialize options = {}
'setlocal textwidth=0' # don't hard-wrap (break long lines)
].each { |command| ::VIM::command command }
+ # don't show the color column
+ ::VIM::command 'setlocal colorcolumn=0' if VIM::exists?('+colorcolumn')
+
+ # don't show relative line numbers
+ ::VIM::command 'setlocal norelativenumber' if VIM::exists?('+relativenumber')
+
# sanity check: make sure the buffer really was created
raise "Can't find GoToFile buffer" unless $curbuf.name.match /GoToFile\z/
@@buffer = $curbuf
end
# syntax coloring
if VIM::has_syntax?
- ::VIM::command "syntax match CommandTSelection \"^#{@@selection_marker}.\\+$\""
+ ::VIM::command "syntax match CommandTSelection \"^#{SELECTION_MARKER}.\\+$\""
::VIM::command 'syntax match CommandTNoEntries "^-- NO MATCHES --$"'
::VIM::command 'syntax match CommandTNoEntries "^-- NO SUCH FILE OR DIRECTORY --$"'
+ ::VIM::command 'setlocal synmaxcol=9999'
+
+ if VIM::has_conceal?
+ ::VIM::command 'setlocal conceallevel=2'
+ ::VIM::command 'setlocal concealcursor=nvic'
+ ::VIM::command 'syntax region CommandTCharMatched ' \
+ "matchgroup=CommandTCharMatched start=+#{MH_START}+ " \
+ "matchgroup=CommandTCharMatchedEnd end=+#{MH_END}+ concealends"
+ ::VIM::command 'highlight def CommandTCharMatched ' \
+ 'term=bold,underline cterm=bold,underline ' \
+ 'gui=bold,underline'
+ end
+
::VIM::command 'highlight link CommandTSelection Visual'
::VIM::command 'highlight link CommandTNoEntries Error'
::VIM::evaluate 'clearmatches()'
@@ -103,8 +125,8 @@ def initialize options = {}
# by some unexpected means of dismissing or leaving the Command-T window
# (eg. <C-W q>, <C-W k> etc)
::VIM::command 'autocmd! * <buffer>'
- ::VIM::command 'autocmd BufLeave <buffer> ruby $command_t.leave'
- ::VIM::command 'autocmd BufUnload <buffer> ruby $command_t.unload'
+ ::VIM::command 'autocmd BufLeave <buffer> silent! ruby $command_t.leave'
+ ::VIM::command 'autocmd BufUnload <buffer> silent! ruby $command_t.unload'
@has_focus = false
@selection = nil
@@ -113,6 +135,16 @@ def initialize options = {}
end
def close
+ # Unlisted buffers like those provided by Netrw, NERDTree and Vim's help
+ # don't actually appear in the buffer list; if they are the only such
+ # buffers present when Command-T is invoked (for example, when invoked
+ # immediately after starting Vim with a directory argument, like `vim .`)
+ # then performing the normal clean-up will yield an "E90: Cannot unload
+ # last buffer" error. We can work around that by doing a :quit first.
+ if ::VIM::Buffer.count == 0
+ ::VIM::command 'silent quit'
+ end
+
# Workaround for upstream bug in Vim 7.3 on some platforms
#
# On some platforms, $curbuf.number always returns 0. One workaround is
@@ -123,10 +155,10 @@ def close
# For more details, see: https://wincent.com/issues/1617
if $curbuf.number == 0
# use bwipeout as bunload fails if passed the name of a hidden buffer
- ::VIM::command 'bwipeout! GoToFile'
+ ::VIM::command 'silent! bwipeout! GoToFile'
@@buffer = nil
else
- ::VIM::command "bunload! #{@@buffer.number}"
+ ::VIM::command "silent! bunload! #{@@buffer.number}"
end
end
@@ -244,7 +276,7 @@ def print_error msg
return unless VIM::Window.select(@window)
unlock
clear
- @window.height = 1
+ @window.height = @min_height > 0 ? @min_height : 1
@@buffer[1] = "-- #{msg} --"
lock
end
@@ -273,17 +305,39 @@ def restore_window_dimensions
end
def match_text_for_idx idx
- match = truncated_match @matches[idx]
+ match = truncated_match @matches[idx].to_s
if idx == @selection
- prefix = @@selection_marker
+ prefix = SELECTION_MARKER
suffix = padding_for_selected_match match
else
- prefix = @@unselected_marker
+ if VIM::has_syntax? && VIM::has_conceal?
+ match = match_with_syntax_highlight match
+ end
+ prefix = UNSELECTED_MARKER
suffix = ''
end
prefix + match + suffix
end
+ # Highlight matching characters within the matched string.
+ #
+ # Note that this is only approximate; it will highlight the first matching
+ # instances within the string, which may not actually be the instances that
+ # were used by the matching/scoring algorithm to determine the best score
+ # for the match.
+ #
+ def match_with_syntax_highlight match
+ highlight_chars = @prompt.abbrev.downcase.chars.to_a
+ match.chars.inject([]) do |output, char|
+ if char.downcase == highlight_chars.first
+ highlight_chars.shift
+ output.concat [MH_START, char, MH_END]
+ else
+ output << char
+ end
+ end.join
+ end
+
# Print just the specified match.
def print_match idx
return unless VIM::Window.select(@window)
@@ -305,7 +359,8 @@ def print_matches
@window_width = @window.width # update cached value
max_lines = VIM::Screen.lines - 5
max_lines = 1 if max_lines < 0
- actual_lines = match_count > max_lines ? max_lines : match_count
+ actual_lines = match_count < @min_height ? @min_height : match_count
+ actual_lines = max_lines if actual_lines > max_lines
@window.height = actual_lines
(1..actual_lines).each do |line|
idx = line - 1
@@ -323,18 +378,18 @@ def print_matches
# highlighting extends all the way to the right edge of the window.
def padding_for_selected_match str
len = str.length
- if len >= @window_width - @@marker_length
+ if len >= @window_width - MARKER_LENGTH
''
else
- ' ' * (@window_width - @@marker_length - len)
+ ' ' * (@window_width - MARKER_LENGTH - len)
end
end
# Convert "really/long/path" into "really...path" based on available
# window width.
def truncated_match str
len = str.length
- available_width = @window_width - @@marker_length
+ available_width = @window_width - MARKER_LENGTH
return str if len <= available_width
left = (available_width / 2) - 1
right = (available_width / 2) - 2 + (available_width % 2)
View
1 ruby/command-t/scanner/jump_scanner.rb
@@ -37,6 +37,7 @@ def paths
filenames = jumps_with_filename[1..-2].map do |line|
relative_path_under_working_directory line.split[3]
end
+
filenames.sort.uniq
end
View
49 ruby/command-t/scanner/tag_scanner.rb
@@ -0,0 +1,49 @@
+# Copyright 2011-2012 Wincent Colaiuta. All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# 1. Redistributions of source code must retain the above copyright notice,
+# this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright notice,
+# this list of conditions and the following disclaimer in the documentation
+# and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+# POSSIBILITY OF SUCH DAMAGE.
+
+require 'command-t/vim'
+require 'command-t/scanner'
+
+module CommandT
+ class TagScanner < Scanner
+ attr_reader :include_filenames
+
+ def initialize options = {}
+ @include_filenames = options[:include_filenames] || false
+ end
+
+ def paths
+ taglist.map do |tag|
+ path = tag['name']
+ path << ":#{tag['filename']}" if @include_filenames
+ path
+ end.uniq.sort
+ end
+
+ private
+
+ def taglist
+ ::VIM::evaluate 'taglist(".")'
+ end
+ end # class TagScanner
+end # module CommandT
View
2 ruby/command-t/stub.rb
@@ -27,7 +27,7 @@ class Stub
'Please see INSTALLATION and TROUBLE-SHOOTING in the help',
'For more information type: :help command-t']
- [:flush, :show_buffer_finder, :show_file_finder].each do |method|
+ [:flush, :show_buffer_finder, :show_file_finder, :show_tag_finder].each do |method|
define_method(method.to_sym) { warn *@@load_error }
end
View
10 ruby/command-t/vim.rb
@@ -1,4 +1,4 @@
-# Copyright 2010-2011 Wincent Colaiuta. All rights reserved.
+# Copyright 2010-2012 Wincent Colaiuta. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
@@ -30,6 +30,14 @@ def self.has_syntax?
::VIM::evaluate('has("syntax")').to_i != 0
end
+ def self.exists? str
+ ::VIM::evaluate(%{exists("#{str}")}).to_i != 0
+ end
+
+ def self.has_conceal?
+ ::VIM::evaluate('has("conceal")').to_i != 0
+ end
+
def self.pwd
::VIM::evaluate 'getcwd()'
end

0 comments on commit d76a7dc

Please sign in to comment.
Something went wrong with that request. Please try again.