Skip to content

Releases: wincent/command-t

5.0.2

07 Sep 18:49
5.0.2
Compare
Choose a tag to compare
  • Fix a RangeError on 64-bit Windows (#304, patch from Adrian Keet).
  • Fix issue switching back to previously opened file in another tab (#306).
  • Fix inability to open some help targets with :CommandTHelp (#307).
  • Similar to #307, make :CommandTCommand work with commands containing special characters.
  • Again similar to #307, prevent special characters in tags from being escaped when using :CommandTTag.

5.0.1

18 Aug 16:28
5.0.1
Compare
Choose a tag to compare
  • Fixed inability to open a top-level file with a name matching a previously opened file (#295).
  • Fixed a related issue where previously opened file would cause a file to be opened directly rather than in the desired split/tab (#298).
  • Tweaked <c-w> mapping behavior to better match what other readline-ish implementations do, especially with respect to moving past punctuation (#301).

5.0

07 Jun 06:24
5.0
Compare
Choose a tag to compare
5.0
  • Command-T now uses :map-<nowait>, when available, when setting up mappings.
  • 'wildignore' filtering is now always performed by producing an equivalent regular expression and applying that; previously this only happened with the "watchman" file scanner (includes a bug fix from Henric Trotzig).
  • Fixed mis-memoization of :CommandTHelp and :CommandTJump finders (whichever one you used first would be used for both).
  • Added mapping (<C-d>) to delete a buffer from the buffer list (patch from Max Timkovich).
  • Added g:CommandTGitIncludeUntracked option (patch from Steven Stallion).
  • Added :CommandTOpen, which implements smart "goto or open" functionality, and adjust g:CommandTAcceptSelectionCommand, g:CommandTAcceptSelectionTabCommand, g:CommandTAcceptSelectionSplitCommand, and g:CommandTAcceptSelectionVSplitCommand to use it by default. Their default values have been changed from "e", "tabe", "sp" and "vs" to "CommandTOpen e", "CommandTOpen tabe", "CommandTOpen sp" and "CommandTOpen vs", respectively. Use with 'switchbuf' set to "usetab" for maximum effect.
  • Added g:CommandTWindowFilter for customizing the filtering expression that is used to determine which windows Command-T should not open selected files in.

4.0

17 May 05:35
4.0
Compare
Choose a tag to compare
4.0
  • A non-leading dot in the search query can now match against dot-files and "dot-directories" in non-leading path components.
  • Matching algorithm sped up by about 17x (with help from Hanson Wang).
  • g:CommandTInputDebounce now defaults to 0, as the recent optimizations make debouncing largely unnecessary.
  • Added :CommandTHelp for jumping to locations in the help, and an accompanying mapping, <Plug>(CommandTHelp).
  • Added :CommandTLine for jumping to lines within the current buffer, and a corresponding mapping, <Plug>(CommandTLine).
  • Added :CommandTHistory for jumping to previously entered commands, and a corresponding mapping, <Plug>(CommandTHistory).
  • Added :CommandTSearch for jumping to previously entered searches, and a corresponding mapping, <Plug>(CommandTSearch).
  • Added :CommandTCommand for finding commands, and a corresponding mapping, <Plug>(CommandTCommand).
  • Added <Plug>(CommandTMRU) and <Plug>(CommandTTag) mappings.
  • The "ruby" and "find" scanners now show numerical progress in the prompt area during their scans.
  • Removed functionality that was previously deprecated in 2.0.
  • Fix inability to type "^" and "|" at the prompt.
  • Make it possible to completely disable 'wildignore'-based filtering by setting g:CommandTWildIgnore to an empty string.
  • The "watchman" file scanner now respects 'wildignore' and g:CommandTWildIgnore by construcing an equivalent regular expression and using that for filtering.
  • Show a warning when hitting g:CommandTMaxFiles, and add a corresponding g:CommandTSuppressMaxFilesWarning setting to suppress the warning.

3.0.2

09 Feb 14:57
3.0.2
Compare
Choose a tag to compare
  • Minimize flicker on opening and closing the match listing in MacVim.
  • Add CommandTWillShowMatchListing and CommandTDidHideMatchListing "User" autocommands.

3.0.1

25 Jan 08:07
3.0.1
Compare
Choose a tag to compare
  • Restore compatibility with Ruby 1.8.7.

3.0

19 Jan 19:40
3.0
Compare
Choose a tag to compare
3.0
  • Change g:CommandTIgnoreSpaces default value to 1.
  • Change g:CommandTMatchWindowReverse default value to 1.
  • Change g:CommandTMaxHeight default value to 15.
  • Try harder to avoid scrolling other buffer when showing or hiding the match listing.

2.0

28 Dec 19:51
2.0
Compare
Choose a tag to compare
2.0
  • add :CommandTIgnoreSpaces option (patch from KJ Tsanaktsidis)
  • make Command-T resilient to people deleting its hidden, unlisted buffer
  • the match listing buffer now has filetype "command-t", which may be useful for detectability/extensibility
  • Command-T now sets the name of the match listing buffer according to how it was invoked (ie. for the file finder, the name is "Command-T [Files]", for the buffer finder, the name is "Command-T [Buffers]", and so on); previously the name was a fixed as "GoToFile" regardless of the active finder type
  • Many internal function names have changed, so if you or your plug-ins are calling those internals they will need to be updated:
    • commandt#CommandTFlush() is now commandt#Flush()
    • commandt#CommandTLoad() is now commandt#Load()
    • commandt#CommandTShowBufferFinder() is now commandt#BufferFinder()
    • commandt#CommandTShowFileFinder() is now commandt#FileFinder()
    • commandt#CommandTShowJumpFinder() is now commandt#JumpFinder()
    • commandt#CommandTShowMRUFinder() is now commandt#MRUFinder()
    • commandt#CommandTShowTagFinder() is now commandt#TagFinder()
  • A number of functions have been turned into "private" autoloaded functions, to make it clear that they are intended only for internal use:
    • CommandTAcceptSelection() is now commandt#private#AcceptSelection()
    • CommandTAcceptSelectionSplit() is now commandt#private#AcceptSelectionSplit()
    • CommandTAcceptSelectionTab() is now commandt#private#AcceptSelectionTab()
    • CommandTAcceptSelectionVSplit() is now commandt#private#AcceptSelectionVSplit()
    • CommandTBackspace() is now commandt#private#Backspace()
    • CommandTCancel() is now commandt#private#Cancel()
    • CommandTClear() is now commandt#private#Clear()
    • CommandTClearPrevWord() is now commandt#private#ClearPrevWord()
    • CommandTCursorEnd() is now commandt#private#CursorEnd()
    • CommandTCursorLeft() is now commandt#private#CursorLeft()
    • CommandTCursorRight() is now commandt#private#CursorRight()
    • CommandTCursorStart() is now commandt#private#CursorStart()
    • CommandTDelete() is now commandt#private#Delete()
    • CommandTHandleKey() is now commandt#private#HandleKey()
    • CommandTListMatches() is now commandt#private#ListMatches()
    • CommandTQuickfix() is now commandt#private#Quickfix()
    • CommandTRefresh() is now commandt#private#Refresh()
    • CommandTSelectNext() is now commandt#private#SelectNext()
    • CommandTSelectPrev() is now commandt#private#SelectPrev()
    • CommandTToggleFocus() is now commandt#private#ToggleFocus()
  • add g:CommandTRecursiveMatch option
  • stop distribution as a vimball in favor of a zip archive
  • don't clobber alternate-file name when opening Command-T match listing (patch from Jerome Castaneda)
  • add g:CommandTCursorColor option expose mappings for :CommandT and :CommandTBuffer using <Plug> mappings <Plug>(CommandT) and <Plug>(CommandT)
  • add <Leader>j mapping to :CommandTJump, via <Plug>(CommandTJump) (defined only if no pre-existing mapping exists)

1.13

19 Jan 21:51
1.13
Compare
Choose a tag to compare
  • Avoid "W10: Warning: Changing a readonly file" when starting Vim in read-only mode (ie. as view or with the -R option).
  • Fix infinite loop on <Tab> (regression introduced in 1.12).

1.12

19 Jan 21:52
1.12
Compare
Choose a tag to compare
  • Add :CommandTLoad command.
  • Fix rare failure to restore cursor color after closing Command-T (patch from Vlad Seghete).
  • Doc fixes and updates (patches from Daniel Hahler and Nicholas T.).
  • Make it possible to force reloading of the plug-in (patch from Daniel Hahler).
  • Add g:CommandTEncoding option, to work around rare encoding compatibility issues.
  • Fix error restoring cursor highlights involving some configurations (patch from Daniel Hahler).
  • Skip set-up of <Esc> key mapping on rxvt terminals (patch from Daniel Hahler).
  • Add g:CommandTGitScanSubmodules option, which can be used to recursively scan submodules when the "git" file scanner is used (patch from Ben Boeckel).
  • Fix for not falling back to "find"-based scanner when a Watchman-related error occurs.