sponsor Vim development Vim logo Vim Book Ad

FuzzyFinder : buffer/file/command/tag/etc explorer with fuzzy matching

 script karma  Rating 1948/537, Downloaded by 44162  Comments, bugs, improvements  Vim wiki

created by
Takeshi NISHIDA
 
script type
utility
 
description
Repository:
  https://bitbucket.org/ns9tks/vim-fuzzyfinder/

Issues:
  http://bitbucket.org/ns9tks/vim-fuzzyfinder/issues/

Download latest(development) version
  https://bitbucket.org/ns9tks/vim-fuzzyfinder/get/tip.zip

Sceenshot:
  Buffer mode:
    http://cdn.bitbucket.org/ns9tks/vim-fuzzyfinder/downloads/fuzzyfinder-buffer.png
  File mode (searching from all files in vim runtime directories using abbreviation/multiple-search)
    http://cdn.bitbucket.org/ns9tks/vim-fuzzyfinder/downloads/fuzzyfinder-file-abbrev.png


==============================================================================
INTRODUCTION                                                *fuf-introduction*

FuzzyFinder provides convenient ways to quickly reach the
buffer/file/command/bookmark/tag you want. FuzzyFinder searches with the
fuzzy/partial pattern to which it converted an entered pattern.

        Entered pattern  Fuzzy pattern   Partial pattern ~
>
        abc              *a*b*c*         *abc*
        dir/file         dir/*f*i*l*e*   dir/*file*
        d*r/file         d*r/*f*i*l*e*   d*r/*file*
        ../**/s          ../**/*s*       ../**/*s*
                         (** allows searching a directory tree.)
<
You will be happy when:

        "./AhLongLongLongLongLongFile.txt"
        "./AhLongLongLongLongLongName.txt"
        "./OhLongLongLongLongLongFile.txt"
        "./OhLongLongLongLongLongName.txt" <- you want :O

Type "ON" and "OhLongLongLongLongLongName.txt" will be selected. :D

FuzzyFinder can search:

        - buffers
        - files
        - directories
        - most recently used files
        - files around most recently used files
        - most recently used command-lines
        - bookmarked files
        - bookmarked directories
        - tags
        - files which are included in current tagfiles
        - jump list
        - change list
        - buffer lines
        - quickfix
        - help

FuzzyFinder also provides APIs to use its system of searching files or
selecting items.

FuzzyFinder supports multibyte characters.


==============================================================================
INSTALLATION                                                *fuf-installation*

Put all files into your runtime directory. If you have the zip file, extract
it to your runtime directory.

You should place the files as follows:
>
        <your runtime directory>/plugin/fuf.vim
        <your runtime directory>/doc/fuf.txt
        ...
<
If you are disgusted to make your runtime directory confused with a lot of
plugins, put each of the plugins into a directory individually and just add
the directory path to 'runtimepath'. It's easy to uninstall plugins.

Then update your help tags files to enable help for this plugin. See
|add-local-help| for details.

Requirements: ~

- L9 library (vimscript #3252)


==============================================================================
USAGE                                                              *fuf-usage*

You can launch FuzzyFinder by the following commands:

         Command           Mode ~
        |:FufBuffer|       - Buffer mode (|fuf-buffer-mode|)
        |:FufFile|         - File mode (|fuf-file-mode|)
        |:FufCoverageFile| - Coverage-File mode (|fuf-coveragefile-mode|)
        |:FufDir|          - Directory mode (|fuf-dir-mode|)
        |:FufMruFile|      - MRU-File mode (|fuf-mrufile-mode|)
        |:FufMruCmd|       - MRU-Command mode (|fuf-mrucmd-mode|)
        |:FufBookmarkFile| - Bookmark-File mode (|fuf-bookmarkfile-mode|)
        |:FufBookmarkDir|  - Bookmark-Dir mode (|fuf-bookmarkdir-mode|)
        |:FufTag|          - Tag mode (|fuf-tag-mode|)
        |:FufBufferTag|    - Buffer-Tag mode (|fuf-buffertag-mode|)
        |:FufTaggedFile|   - Tagged-File mode (|fuf-taggedfile-mode|)
        |:FufJumpList|     - Jump-List mode (|fuf-jumplist-mode|)
        |:FufChangeList|   - Change-List mode (|fuf-changelist-mode|)
        |:FufQuickfix|     - Quickfix mode (|fuf-quickfix-mode|)
        |:FufLine|         - Line mode (|fuf-line-mode|)
        |:FufHelp|         - Help mode (|fuf-help-mode|)

It is recommended to map these commands.

These commands open 1-line buffer to enter search pattern and start insert
mode.

FuzzyFinder searchs for matching items with an entered pattern and shows them
in a completion menu. For more details on pattern matching, see
|fuf-search-patterns|.

If there are a lot of matching items, FuzzyFinder limits the number of
enumerating items (|g:fuf_enumeratingLimit|) to speed up a response time, and
highlights the pattern with "Error" group.

The first item in the completion menu will be selected automatically.

Typing <C-w> deletes one block of an entered pattern before the cursor, like a
directory name.

with <C-s> (|g:fuf_keyPrevPattern|) and <C-^> (|g:fuf_keyNextPattern|), You
can recall patterns which have been entered before from history.

You can open a selected item in various ways:

        <CR>  (|g:fuf_keyOpen|)        - opens in a previous window.
        <C-j> (|g:fuf_keyOpenSplit|)   - opens in a split window.
        <C-k> (|g:fuf_keyOpenVsplit|)  - opens in a vertical-split window.
        <C-l> (|g:fuf_keyOpenTabpage|) - opens in a new tab page.

To cancel and return to previous window, just leave Insert mode.

With <C-\><C-\> (|g:fuf_keySwitchMatching|), You can switch search method
between fuzzy matching and partial matching.

With <C-t> (|g:fuf_keyNextMode|) and <C-y> (|g:fuf_keyPrevMode|), You can
switch current mode without leaving Insert mode .

You can preview selected item with <C-@> (|g:fuf_keyPreview|) in some modes.
Repeating the key on the same item shows another information. The height
of command-line area is changed to |g:fuf_previewHeight| when you launch a
mode supporting preview. This feature is available when |g:fuf_previewHeight|
is not 0.


==============================================================================
MODES                                                              *fuf-modes*

                                                             *fuf-buffer-mode*
Buffer mode ~

This mode provides an interface to select a buffer from a list of existing
buffers and open it.

Press <C-]> (|g:fuf_buffer_keyDelete|) in this mode and selected buffer will
be deleted.

                                                               *fuf-file-mode*
File mode ~

This mode provides an interface to search a file tree for a file and open it.

                                                       *fuf-coveragefile-mode*
Coverage-File mode ~

This mode provides an interface to select a file from all files of a preset
coverage and open it.

By default, This mode lists all files under the current working directory
recursively. (|g:fuf_coveragefile_globPatterns|)

If you want to search other coverage, execute |FufCoverageFileRegister|
command to register new search coverage and |FufCoverageFileChange| command to
choose a search coverage and launch Coverage-File mode.

In addition, there is another way to change a search coverage with
|fuf#setOneTimeVariables()| function.

Example: search only .h and .c files:
>
        call fuf#setOneTimeVariables(['g:fuf_coveragefile_globPatterns', ['**/*.h', '**/*.c']])
              \ | FufCoverageFile
<
Example: search your home directory in addition to the default coverage:
>
        call fuf#setOneTimeVariables(['g:fuf_coveragefile_globPatterns', g:fuf_coveragefile_globPatterns + ['~/**/.*', '~/**/*']])
              \ | FufCoverageFile
<

                                                                *fuf-dir-mode*
Directory mode ~

This mode provides an interface to search a file tree for a directory and
change the current directory.

                                                            *fuf-mrufile-mode*
MRU-File mode ~

This mode provides an interface to select a file from the most recently used
files and open it.

Press <C-]> (|g:fuf_mrufile_keyExpand|) in this mode and files around the most
recently used files are listed. Each time the key is pressed, the search range
are expanded one level along the directory tree upwardly/downwardly.

This mode is set to disable by default (|g:fuf_modesDisable|) because
processes for this mode in |BufEnter| and |BufWritePost| could cause
Performance issue.

See also: |FufMruFileInCwd|

                                                             *fuf-mrucmd-mode*
MRU-Command mode ~

This mode provides an interface to select a command from the most recently
used commands and execute it.

This mode is set to disable by default (|g:fuf_modesDisable|) because mapping
<CR> of Command-line mode required by this mode has side effects.

                                                       *fuf-bookmarkfile-mode*
Bookmark-File mode ~

This mode provides an interface to select one of the bookmarks you have added
beforehand and jump there.

You can add a cursor line to bookmarks by |:FufBookmarkFileAdd| command.
Execute that command and you will be prompted to enter a bookmark name.

FuzzyFinder adjusts a line number for jump. If a line of bookmarked position
does not match to a pattern when the bookmark was added, FuzzyFinder searches
a matching line around bookmarked position. So you can jump to a bookmarked
line even if the line is out of bookmarked position. If you want to jump to
bookmarked line number without the adjustment, set
|g:fuf_bookmarkfile_searchRange| option to 0.

Press <C-]> (|g:fuf_bookmarkfile_keyDelete|) in this mode and selected
bookmark will be deleted.

                                                        *fuf-bookmarkdir-mode*
Bookmark-Dir mode ~

This mode provides an interface to select one of the bookmarks you have added
beforehand and change the current directory.

You can add a directory to bookmarks by |:FufBookmarkDirAdd| command. Execute
that command and you will be prompted to enter a directory path and  a
bookmark name.

Press <C-]> (|g:fuf_bookmarkdir_keyDelete|) in this mode and selected bookmark
will be deleted.

                                                                *fuf-tag-mode*
Tag mode ~

This mode provides an interface to select a tag and jump to the definition of
it.

Following mapping is a replacement for <C-]>:
>
        noremap <silent> <C-]> :FufTagWithCursorWord!<CR>
<

                                                          *fuf-buffertag-mode*
Buffer-Tag mode ~

This mode provides an interface to select a tag of current buffer or all
buffers and jump to the definition of it.

Tag list is instantly created when FuzzyFinder is launched, so there is no
need to make tags file in advance.

|FufBufferTag| covers current buffer and |FufBufferTagAll| covers all buffers.

Following mapping is a replacement for <C-]>:
>
        nnoremap <silent> <C-]> :FufBufferTagWithCursorWord!<CR>
        vnoremap <silent> <C-]> :FufBufferTagAllWithSelectedText!<CR>
<
or
>
        nnoremap <silent> <C-]> :FufBufferTagAllWithCursorWord!<CR>
        vnoremap <silent> <C-]> :FufBufferTagAllWithSelectedText!<CR>
<
This mode is inspired by taglist.vim (vimscript #273) and refered its codes.

                                                         *fuf-taggedfile-mode*
Tagged-File mode ~

This mode provides an interface to select one of the files which are included
in current tagfiles and open it.

                                                           *fuf-jumplist-mode*
Jump-List mode ~

This mode provides an interface to select one from the |jumplist| of the
current window and jump there.

                                                         *fuf-changelist-mode*
Change-List mode ~

This mode provides an interface to select one from the |changelist| of the
current buffer and jump there.

                                                           *fuf-quickfix-mode*
Quickfix mode ~

This mode provides an interface to select one from the |quickfix| list and
jump there.

                                                               *fuf-line-mode*
Line mode ~

This mode provides an interface to select a line from current buffer and jump
there.

                                                               *fuf-help-mode*
Help mode ~

This mode provides an interface to select a help tag and jump to the help
page.

                                                          *fuf-givenfile-mode*
Given-File mode ~

This mode provides an API to open a selected file from a given list.

API function:
>
        function fuf#givenfile#launch(
              \ initialPattern, partialMatching, prompt, items)
<
        initialPattern  - String which is inserted after launching
                          FuzzyFinder.
        partialMatching - If non-zero, enable partial matching instead of
                          fuzzy matching.
        prompt          - Prompt string
        items           - List of items.

Example of use:
>
        " Open one of your dotfiles.
        call fuf#givenfile#launch('', 0, '>', split(glob('~/.*'), "\n"))
<

                                                           *fuf-givendir-mode*
Given-Directory mode ~

This mode provides an API to change current working directory to a selected
one from a given list.

API function:
>
        function fuf#givendir#launch(
              \ initialPattern, partialMatching, prompt, items)
<
        initialPattern  - String which is inserted after launching
                          FuzzyFinder.
        partialMatching - If non-zero, enable partial matching instead of
                          fuzzy matching.
        prompt          - Prompt string
        items           - List of items.


Example of use:
>
        " Change current working directory to one of your runtime directory.
        call fuf#givendir#launch('', 0, '>', split(&runtimepath, ','))
<

                                                           *fuf-givencmd-mode*
Given-Command mode ~

This mode provides an API to execute a selected command from a given list.

A selected command is executed by |feedkeys()|, so it is able to emulate a
series of key input in Normal mode.

API function:
>
        function fuf#givencmd#launch(
              \ initialPattern, partialMatching, prompt, items)
<
        initialPattern  - String which is inserted after launching
                          FuzzyFinder.
        partialMatching - If non-zero, enable partial matching instead of
                          fuzzy matching.
        prompt          - Prompt string
        items           - List of items.


Example of use:
>
        function GetAllCommands()
          redir => commands
          silent command
          redir END
          return map((split(commands, "\n")[3:]),
              \      '":" . matchstr(v:val, ''^....\zs\S*'')')
        endfunction

        " execute one of the user-defined commands
        call fuf#givencmd#launch('', 0, '>', GetAllCommands())

<

                                                       *fuf-callbackfile-mode*
Callback-File mode ~

This mode provides an API to find and get a file path which is selected by an
user.

API function:
>
        function fuf#callbackfile#launch(
              \ initialPattern, partialMatching, prompt, exclude, listener)
<
        initialPattern  - String which is inserted after launching
                          FuzzyFinder.
        partialMatching - If non-zero, enable partial matching instead of
                          fuzzy matching.
        prompt          - Prompt string.
        exclude         - Regexp pattern for items which you want to exclude
                          from completion list.
        listener        - |Dictionary| which has 'onComplete' and 'onAbort'.
                          They are called at the end of FuzzyFinder.
                          listener.onComplete(item, method) is called with 2
                          arguments which are a name of selected item and a
                          number of open method when completed.
                          listener.onAbort() is called when aborted.

Example of use:
>
        let listener = {}

        function listener.onComplete(item, method)
          echo "Item: " . a:item . "\nMethod: " . a:method
        endfunction

        function listener.onAbort()
          echo "Abort"
        endfunction

        " Find a file from current working directory.
        call fuf#callbackfile#launch('', 0, '>', '', listener)

        " Find a file from home directory.
        call fuf#callbackfile#launch('~/', 0, '>', '', listener)
<

                                                       *fuf-callbackitem-mode*
Callback-Item mode ~

This mode provides an API to get an item which is selected from a given list
by an user.

API function:
>
        function fuf#callbackitem#launch(
              \ initialPattern, partialMatching, prompt, listener, items, forPath)
<
        initialPattern  - String which is inserted after launching
                          FuzzyFinder.
        partialMatching - If non-zero, enable partial matching instead of
                          fuzzy matching.
        prompt          - Prompt string
        listener        - |Dictionary| which has 'onComplete' and 'onAbort'.
                          They are called at the end of FuzzyFinder.
                          listener.onComplete(item, method) is called with 2
                          arguments which are a name of selected item and a
                          number of open method when completed.
                          listener.onAbort() is called when aborted.
        items           - List of items.
        forPath         - If non-zero, use a matching method for files.

Example of use:
>
        let listener = {}

        function listener.onComplete(item, method)
          echo "Item: " . a:item . "\nMethod: " . a:method
        endfunction

        function listener.onAbort()
          echo "Abort"
        endfunction

        " Select an item from a given list.
        call fuf#callbackitem#launch('', 0, '>', listener, ['ed', 'vi', 'vim'], 0)

        " Select a file from a given list.
        call fuf#callbackitem#launch('', 0, '>', listener, ['../foo/bar', 'baz'], 1)
<

==============================================================================
DETAILED TOPICS                                          *fuf-detailed-topics*

                     *fuf-setting-one-time-option* *fuf#setOneTimeVariables()*
Setting One-Time Options ~

If you want to set one-time options only for the next FuzzyFinder,
|fuf#setOneTimeVariables()| function will be of help. This function is used as
follows:
>
        call fuf#setOneTimeVariables(['g:fuf_ignoreCase', 0], ['&lines', 50])
<
This function takes 0 or more arguments and each of them is a pair of a
variable name and its value. Specified options will be set practically next
time FuzzyFinder is launched, and restored when FuzzyFinder is closed.

                                                         *fuf-search-patterns*
Search Patterns ~

You can enter one primary pattern and zero or more refining patterns as search
patterns. An entered pattern is separated by ";" (|g:fuf_patternSeparator|),
and the first pattern is a primary pattern and the rest of patterns is a
refining pattern.
>
                   primary    refining  refining
                 |----------| |-------| |----|
        >MruFile>bookmark.vim;autoload/;/home/
<
A refining pattern is used to narrow down the list of matching items by
another pattern.

With a primary pattern, FuzzyFinder does fuzzy matching or partial matching,
which you specified. With a refining pattern, FuzzyFinder does partial
matching by default. (|g:fuf_fuzzyRefining|)

When you enter a number as refining pattern, it also can match the index of
each item.

In a mode which targets a static set of file paths (such as Buffer or MRU-File
mode, not File or Directory) and |g:fuf_splitPathMatching| is non-zero,
matching with a primary pattern is divided into head part and tail part and
done individually.
>
          head   tail
        |------||-----|
        foo/bar/baz.vim

        fuzzy matching example:
        +----------------+---------+---------+---------+
        | item \ pattern | foo/bar | foo/    | bar     |
        +----------------+---------+---------+---------+
        | foo/bar        |   match |   match |   match |
        | foo/abc        | unmatch |   match | unmatch |
        | abc/bar        | unmatch | unmatch |   match |
        | foobar         | unmatch | unmatch |   match |
        | foooo/barrrr   |   match |   match |   match |
        | foooo/fooooo   | unmatch |   match | unmatch |
        +----------------+---------+---------+---------+
<
refining pattern can match anywhere on each path in the above case.

                                             *fuf-sorting-of-completion-items*
Sorting Of Completion Items ~

FuzzyFinder sorts completion items with some rules.

An item, one part of which is matched with a whole pattern, is placed upper.
E.g., with the pattern "bc", the item "abc" is placed upper than "bac".

In the above case, items, each having matching part at the head of itself, are
placed upper than others. E.g., with the pattern "foo", the item "foobar" is
placed upper than "foobarbaz".

And the shorter the length of the item after matching position puts it higher.
E.g., with the pattern "bar", the item "foobar" is placed upper than
"foobarbaz".

If a pattern matches an item at only word boundaries of it, the item is placed
upper. E.g., with a pattern "fb", items such as "fooBarBaz" and "foo_bar_baz"
is placed upper.

Plus, FuzzyFinder has a learning system. An item which has been completed in
the past with current pattern is placed upper.

                                                          *fuf-reusing-window*
Reusing Of A Window Containing Target Buffer/File ~

If a window containing target buffer is found in current tab page when
FuzzyFinder is going to open the buffer in a split new window, move to it. If
a window containing target buffer is found in other tab page when FuzzyFinder
is going to open the buffer in a new tab page, move to it.

You can disable that feature via 'reuse_window' options if always want to open
a buffer in a new window.

                                                             *fuf-hiding-menu*
To Hide The Completion Menu Temporarily In FuzzyFinder ~

You can close it by <C-e> and reopen it by <C-x><C-o>.

                                      *fuf-abbreviation* *fuf-multiple-search*
Abbreviations And Multiple Search ~

You can use abbreviations and multiple search in all modes by setting
|g:fuf_abbrevMap| option.

For example, set as below:
>
        let g:fuf_abbrevMap = {
              \   "^doc:" : [
              \     "~/project/**/doc/",
              \     ".vim/doc/",
              \   ],
              \ }
<
and enter "doc:txt" in File mode, then FuzzyFinder searches by the following
patterns:

        "~/project/**/doc/*t*x*t*"
        ".vim/doc/*t*x*t*"

and show concatenated search results.

                                                               *fuf-data-file*
Data File ~

FuzzyFinder writes completion statistics, MRU data, bookmark, etc to files
under |g:fuf_dataDir|.

|:FufEditDataFile| command is helpful in editing your data files. This command
reads the data file in new unnamed buffer. Write the buffer and the data file
will be updated.

                                                                   *fuf-cache*
Cache ~

Once a cache was created, It is not automatically updated to speed up the
response time by default. To update it, use |:FufRenewCache| command.

                                                            *fuf-dot-sequence*
Going Up Parent Directories With Dot Sequence ~

You can go up parent directories with entering dot sequence. Dot sequence
after a path separator is expanded to "../" sequence.

        Dot sequence    Expanded pattern ~
        /..             /../
        /...            /../../
        /....           /../../../

                                                         *fuf-how-to-add-mode*
How To Add Mode ~

To add "mymode" mode, put the source file at autoload/fuf/mymode.vim and call
fuf#addMode("mymode") .

                                                                  *fuf-migemo*
What Is Migemo ~

Migemo is a search method for Japanese language.


==============================================================================
 
install details
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-fuzzyfinder.zip 4.2.2 2010-09-30 7.2 Takeshi NISHIDA - Fixed a bug that unloaded buffers weren't covered by FufBufferTagAll.
vim-fuzzyfinder.zip 4.2.1 2010-09-29 7.2 Takeshi NISHIDA - Improved response of Buffer-Tag mode.
- Fixed a bug that buffers which had been opened weren't listed in
  Coverage-File mode
- Fixed a bug that tag entries including tab characters weren't parsed
  correctly in Coverage-File mode
vim-fuzzyfinder.zip 4.2 2010-09-28 7.2 Takeshi NISHIDA - L9 library (vimscript #3252) version 1.1 is required.
- Added Buffer-Tag mode, inspired by taglist.vim (vimscript #273).
- Added :FufMruFileInCwd command.
vim-fuzzyfinder.zip 4.1.1 2010-09-27 7.2 Takeshi NISHIDA - Fixed a bug causing a error in MRU-File mode.
vim-fuzzyfinder.zip 4.1 2010-09-27 7.0 Takeshi NISHIDA - Added Bookmark-Dir mode.
- Added Bookmark-File mode and removed Bookmark mode.
- Changed the filename to store data of Coverage-File mode, from
  '~/.vim-fuf-data/coveragefile/items' to
  '~/.vim-fuf-data/coveragefile/coverages' .
- Fixed a bug that floating point numbers weren't evaluated correctly and
  caused errors on some non-English locales.
- Removed Around-MRU-File mode and integrated its feature to MRU-File mode.
vim-fuzzyfinder.zip 4.0 2010-09-24 7.2 Takeshi NISHIDA - From this version, L9 library (vimscript #3252) is required.
- Added Coverage-File mode for users wanting something like TextMate's
  command-t. (But I've never used it.)
- Added Around-MRU-File mode. (Too slow. There is room for improvement.)
- Added new feature which deletes selected buffer with FuzzyFinder and
  g:fuf_buffer_keyDelete option.
- Added new feature which allows to set one-time options/variables with
  fuf#setOneTimeVariables() function.
- Added g:fuf_dataDir option and removed g:fuf_infoFile,
  g:g:fuf_tag_cache_dir, g:fuf_taggedfile_cache_dir, and
  g:fuf_help_cache_dir options.
- Added :FufEditDataFile command and removed :FufEditInfo command.
- Added g:fuf_fuzzyRefining option.
- Added new feature which is auto-preview and g:fuf_autoPreview option.
- Changed the default value of g:fuf_previewHeight to 0 in order to disable
  preview feature. There is an unfixable problem which is caused by a Vim's
  bug.
- Changed the default value of g:fuf_modesDisable option.
- Changed the default value of g:fuf_*_switchOrder options.
- Improved speed of changing buffers.
- Improved the way to add user-defined mode.
- Fixed a bug that FuzzyFinder caused reseting window layout.
- Removed g:fuf_smartBs option. Use <C-w> instead.
vim-fuzzyfinder.zip 3.5 2009-12-03 7.0 Takeshi NISHIDA   - Added Line mode.
  - Added Help mode.
  - Added key mapping to switch between fuzzy matching and partial matching.
  - Changed the default values of g:fuf_file_exclude for ignoring "*.dll".
  - Changed Tag mode and Tagged-File mode to cache parsed data to files in "~/.vim-fuf-cache/".
  - Fixed a bug that repeating preview key produced no effect.
  - Fixed a bug that File mode and Directory mode didn't list items in a directory whose name includes uppercase characters. (Thanks, ryo7000)
vim-fuzzyfinder.zip 3.4a 2009-11-20 7.0 Takeshi NISHIDA - Added new feature which makes it possible to preview selected completion item.
- Changed matching rules and added g:fuf_splitPathMatching.
- Changed sorting rules.
- Changed the default values of g:fuf_file_exclude and g:fuf_dir_exclude in order to ignore ".hg", ".git", and ".bzr" directories.
- Changed the default value of g:fuf_mrufile_exclude in order to ignore network files (\\*) on Windows and ignore /mnt/* and /media/* on Unix like systems.
- Fixed a bug that an exclude pattern of File, Dir, and Callback-File mode can't be changed.
vim-fuzzyfinder.zip 3.3 2009-10-17 7.0 Takeshi NISHIDA - Added Jump-List mode, Change-List mode, and Quickfix mode which enable
  jumps with jump list, change list, and quickfix list.
- Added new feature which deletes selected bookmark with FuzzyFinder and
  g:fuf_bookmark_keyDelete option.
- Changed default values of g:fuf_keyPrevPattern.
- Changed to show error message when incompatible with a installed vim.
vim-fuzzyfinder.zip 3.2 2009-09-13 7.0 Takeshi NISHIDA - Added g:fuf_promptHighlight option to integrate such options for each
  mode.
- Changed APIs of Given-File, Given-Directory, Given-Command, Callback-File,
  and Callback-Item modes to be able to set a prompt string.
- Changed default values of g:fuf_keyPrevPattern and g:fuf_keyNextPattern.
- Fixed a bug that MRU-File data was not updated When a file was opened with
  FuzzyFinder.
- Fixed a bug with scoring matchings for sorting. Thanks to Vincent.
- Brought back the removed feature which is switching to an other mode in
  FuzzyFinder.
vim-fuzzyfinder.zip 3.1 2009-09-07 7.0 Takeshi NISHIDA - Added new feature to recall patterns which have been entered before from
  history.
vim-fuzzyfinder.zip 3.0 2009-09-04 7.0 Takeshi NISHIDA - Redesigned the whole plugin for improvements of maintainability and
  performance. "fuzzyfinder" is abbreviated to "fuf" in the sorce code and
  filenames. All commands and options are renamed.
- Added new feature which is refining pattern.
- Improved the rules for sorting completion items. Thanks to the suggestion
  by Nathan, the rule for boundary matching was implemented.
- Changed to open one line buffer of FuzzyFinder with :topleft command
  instead of :leftabove. The window will alway appear at the top and occupy
  the full with of the vim window. Thanks to Jan Christoph.
- Changed default filename of information file.
- Changed MRU-File mode and MRU-Command mode to be disabled by default
  due to performance and side effect issues.
- Removed the feature which is switching to an other mode in FuzzyFinder.
- Removed the feature which is temporarily switching 'ignorecase' in
  FuzzyFinder.
vim-fuzzyfinder.zip 2.22.3 2009-06-03 7.0 Takeshi NISHIDA - Fixed a bug that Fuzzyfinder could not open files with '$' in the name on
  Windows.
vim-fuzzyfinder.zip 2.22.2 2009-06-02 7.0 Takeshi NISHIDA - Changed to consider a length of a date/time string when abbreviates long
  completion items.
- Fixed a bug that '**/' pattern did not search for files directly under the
  current working directory in File mode. Thanks to Martin for reporting.
vim-fuzzyfinder.zip 2.22.1 2009-05-25 7.0 Takeshi NISHIDA - Fixed a bug that Fuzzyfinder could not expand abbreviations to patterns
  including '' correctly.
- Fixed to show item number in Given-File, Given-Directory, and
  Given-Command mode.
vim-fuzzyfinder.zip 2.22.0 2009-05-20 7.0 Takeshi NISHIDA - More improved the abbreviation method for long completion items.
- Added Given-File mode for third-party script to select a file from a given
  list and open.
- Added Given-Directory mode for third-party script to select a directory
  from a given list and change current working directory to it.
- Added Given-Command mode for third-party script to select a command from a
  given list and execute.
- Changed ways to launch Callback-File mode and Callback-item mode.
vim-fuzzyfinder.zip 2.21.0 2009-05-13 7.0 Takeshi NISHIDA - Improved a method of trimming long completion items. Thanks to Andy,
  pyrhockz, and Nathan.
- Changed not to map command-line <CR> for MRU-Command mode if
  g:FuzzyFinderOptions.MruCmd.mode_available is set 0 before loading
  fuzzyfinder.vim.
- Added Callback-File mode and Callback-Item mode for third-party script to
  find a file/directory or an item from a given list using Fuzzyfinder.
- Changed not to append ".." to a completion menu in File/Directory mode.
  Use dot sequence feature.
- Changed default value of g:FuzzyFinderOptions.File.excluded_path option.
- Changed default value of g:FuzzyFinderOptions.Dir.excluded_path option.
- Fixed a bug that couldn't jump to a tag. Thanks to Thinca.
vim-fuzzyfinder.zip 2.20 2009-04-28 7.0 Takeshi NISHIDA - Added help files which are doc/fuzzyfinder.txt and doc/fuzzyfinder.jax.
- Fixed a bug that an error occurs if current directory included spaces.
  Thanks id:cho45 and id:secondlife.
- Implemented a feature to reuse a window containing target buffer.
- Added g:FuzzyFinderOptions.Buffer.reuse_window option.
- Added g:FuzzyFinderOptions.File.reuse_window option.
- Added g:FuzzyFinderOptions.MruFile.reuse_window option.
- Added g:FuzzyFinderOptions.Bookmark.reuse_window option.
- Added g:FuzzyFinderOptions.TaggedFile.reuse_window option.
- Changed to use 'omnifunc' instead of 'completefunc'. Now you can use <C-u>
  to delete all entered characters.
- Changed default value of g:FuzzyFinderOptions.Base.key_open_tab option.
- Changed default value of g:FuzzyFinderOptions.Base.key_next_mode option.
- Changed default value of g:FuzzyFinderOptions.Base.key_prev_mode option.
- Changed default value of g:FuzzyFinderOptions.Base.key_ignore_case option.
- Changed to truncate long completion items from the head instead of tail.
- Added g:FuzzyFinderOptions.Base.max_menu_width option instead of
  g:FuzzyFinderOptions.Base.trim_length option.
- Added :FuzzyFinderFileWithFullCwd command.
- Added :FuzzyFinderFileWithCurrentBufferDir command.
- Added :FuzzyFinderDirWithFullCwd command.
- Added :FuzzyFinderDirWithCurrentBufferDir command.
- Added :FuzzyFinderTagWithCursorWord command.
- Renamed :FuzzyFinderRemoveCache command to :FuzzyFinderRenewCache.
fuzzyfinder.vim 2.19 2009-01-14 7.0 Takeshi NISHIDA - Changed MRU-File mode that always formats completion items to be
  relative to the home directory.
- Fixed a bug that a file was opened in an unintended window with Tag
  List plugin. Thanks Alexey.
- Fixed a bug that garbage characters were entered when switched current
  mode. Thanks id:lugecy.
fuzzyfinder.vim 2.18 2009-01-13 7.0 Takeshi NISHIDA - Improved rules for the sorting of completion items.
- Changed not to learn a completion if an entered pattern is empty.
- Fixed a bug that Buffer mode did not work. Thanks ryo7000.
fuzzyfinder.vim 2.17 2009-01-11 6.0 Takeshi NISHIDA - Introduced a learning system for the sorting of completion items.
- Added g:FuzzyFinderOptions.Base.learning_limit option.
- Changed the specification of the information file. Please remove your
  information file for Fuzzyfinder.
fuzzyfinder.vim 2.16 2008-12-10 7.0 Takeshi NISHIDA - Improved response time by caching in MRU-File mode.
- Fixed a bug in Bookmark mode that Fuzzyfinder did not jump to the
  Bookmarked line number when Bookmarked pattern was not found.
fuzzyfinder.vim 2.15 2008-12-06 7.0 Takeshi NISHIDA - Added Bookmark mode.
- Removed Favorite-file mode. Use Bookmark mode instead.
- Fixed not to record a entry of input() in MRU-Command mode.
fuzzyfinder.vim 2.14 2008-12-02 7.0 Takeshi NISHIDA - Changed to show buffer status in Buffer mode.
- Fixed a bug that an error occurs when nonexistent buffer-name was
  entered in Buffer mode. Thanks Maxim Kim.
- Added 'enumerating_limit' option. Thanks id:secondlife.
- Removed 'matching_limit' option. Use 'enumerating_limit' instead.
fuzzyfinder.vim 2.13 2008-10-04 7.0 Takeshi NISHIDA - Fixed a bug that a directory disappeared when a file in that directroy
  was being opened in File/Mru-File mode.
fuzzyfinder.vim 2.12 2008-09-13 7.0 Takeshi NISHIDA - Changed to be able to show completion items in the order of recently
  used in Buffer mode.
- Added g:FuzzyFinderOptions.Buffer.mru_order option.
fuzzyfinder.vim 2.11 2008-09-10 7.0 Takeshi NISHIDA - Changed that a dot sequence of entered pattern is expanded to parent
  directroies in File/Dir mode.
  E.g.: "foo/...bar" -> "foo/../../bar"
- Fixed a bug that a prompt string was excessively inserted.
fuzzyfinder.vim 2.10 2008-09-09 7.0 Takeshi NISHIDA - Changed not to show a current buffer in a completion menu.
- Fixed a bug that a filename to open was not been escaped.
- Added 'prompt' option.
- Added 'prompt_highlight' option.
- Removed g:FuzzyFinderOptions.MruFile.no_special_buffer option.
fuzzyfinder.vim 2.9 2008-09-05 7.0 Takeshi NISHIDA - Enhanced <BS> behavior in Fuzzyfinder and added 'smart_bs' option.
- Fixed a bug that entered pattern was not been escaped.
- Fixed not to insert "zv" with "c/pattern<CR>" command in Normal mode
- Avoid the slow down problem caused by filereadable() check for the MRU
  information in BufEnter/BufWritePost.
fuzzyfinder.vim 2.8.1 2008-08-25 7.0 Takeshi NISHIDA - Fixed a bug caused by the non-escaped buffer name "[Fuzzyfinder]".
- Fixed a command to open in a new tab page in Buffer mode.
fuzzyfinder.vim 2.8 2008-07-17 7.0 Takeshi NISHIDA - Added 'trim_length' option.
- Added 'switch_order' option.
- Fixed a bug that entered command did not become the newest in the
  history.
- Fixed a bug that folds could not open with <CR> in a command-line when
  searching.
- Removed 'excluded_indicator' option. Now a completion list in Buffer
  mode is the same as a result of :buffers.
fuzzyfinder.vim 2.7 2008-07-14 7.0 Takeshi NISHIDA - Changed to find an item whose index is matched with the number
  suffixed with entered pattern.
- Fixed the cache bug after changing current directroy in File mode.
fuzzyfinder.vim 2.6.2 2008-07-08 7.0 Takeshi NISHIDA - Fixed not to miss changes in options when updates the MRU information.
fuzzyfinder.vim 2.6.1 2008-07-07 7.0 Takeshi NISHIDA - Fixed a bug related to floating-point support.
- Added support for GetLatestVimScripts.
fuzzyfinder.vim 2.6 2008-03-28 7.0 Takeshi NISHIDA - Revived MRU-command mode. The problem with a command-line abbreviation
  was solved.
- Changed the specification of the information file.
- Added :FuzzyFinderEditInfo command.
fuzzyfinder.vim 2.5.1 2008-03-22 7.0 Takeshi NISHIDA - Fixed to be able to match "foo/./bar" by "foo/**/bar" in File mode.
- Fixed to be able to open a space-containing file in File mode.
- Fixed to honor the current working directory properly in File mode.
fuzzyfinder.vim 2.5 2008-02-22 7.0 Takeshi NISHIDA - Fixed the bug that a wrong initial text is entered after switching to a
  next mode.
- Fixed the bug that it does not return to previous window after leaving
  Fuzzyfinder one.
fuzzyfinder.vim 2.4 2008-02-20 7.0 Takeshi NISHIDA - Fixed the bug that Fuzzyfinder fails to open a file caused by auto-cd
  plugin/script.
fuzzyfinder.vim 2.3 2008-02-19 7.0 Takeshi NISHIDA - Added a key mapping to open items in a new tab page and
  g:FuzzyFinderOptions.Base.key_open_tab opton.
- Changed to show Fuzzyfinder window above last window even if
  'splitbelow' was set.
- Changed to set nocursorline and nocursorcolumn in Fuzzyfinder.
- Fixed not to push up a buffer number unlimitedly.
fuzzyfinder.vim 2.2 2008-02-18 7.0 Takeshi NISHIDA - Added new feature, which is the partial matching.
- Fixed the bug that an error occurs when "'" was entered.
fuzzyfinder.vim 2.1 2008-02-17 7.0 Takeshi NISHIDA - Restructured the option system AGAIN. Sorry :p
- Changed to inherit a typed text when switching a mode without leaving
  a insert mode.
- Changed commands which launch explorers to be able to take a argument
  for initial text.
- Changed to complete file names by relative path and not full path in
  the buffer/mru-file/tagged-file mode.
- Changed to highlight a typed text when the completion item was not
  found or the completion process was aborted.
- Changed to create caches for each tag file and not working directory
  in the tag/tagged-file mode.
- Fixed the bug that the buffer mode couldn't open a unnamed buffer.
- Added 'matching_limit' option.
- Removed 'max_match' option. Use 'matching_limit' option instead.
- Removed 'initial_text' option. Use command argument instead.
- Removed the MRU-command mode.
fuzzyfinder.vim 2.0 2008-01-03 7.0 Takeshi NISHIDA - Added the tag mode.
- Added the tagged-file mode.
- Added :FuzzyFinderRemoveCache command.
- Restructured the option system. many options are changed names or
  default values of some options.
- Changed to hold and reuse caches of completion lists by default.
- Changed to set filetype 'fuzzyfinder'.
- Disabled the MRU-command mode by default because there are problems.
- Removed FuzzyFinderAddMode command.
fuzzyfinder.vim 1.5 2007-11-09 7.0 Takeshi NISHIDA - Added the directory mode.
- Fixed the bug that it caused an error when switch a mode in the
  insert mode.
- Changed g:FuzzyFinder_KeySwitchMode type to a list.
fuzzyfinder.vim 1.4.1 2007-10-24 7.0 Takeshi NISHIDA - Changed the specification of the information file.
- Added the MRU-commands mode.
- Renamed :FuzzyFinderAddFavorite command to :FuzzyFinderAddFavFile.
- Renamed g:FuzzyFinder_MruModeVars option to
  g:FuzzyFinder_MruFileModeVars.
- Renamed g:FuzzyFinder_FavoriteModeVars option to
  g:FuzzyFinder_FavFileModeVars.
- Changed to show registered time of each item in MRU/favorite mode.
- Added 'timeFormat' option for MRU/favorite modes.
fuzzyfinder.vim 1.3 2007-10-19 7.0 Takeshi NISHIDA - Fixed a handling of multi-byte characters.
fuzzyfinder.vim 1.2 2007-10-16 7.0 Takeshi NISHIDA - Added support for Migemo. (Migemo is Japanese search method.)
fuzzyfinder.vim 1.1 2007-10-14 7.0 Takeshi NISHIDA - Added the favorite mode.
- Added new features, which are abbreviations and multiple search.
- Added 'abbrevMap' option for each mode.
- Added g:FuzzyFinder_MruModeVars['ignoreSpecialBuffers'] option.
- Fixed the bug that it did not work correctly when a user have mapped
  <C-p> or <Down>.
fuzzyfinder.vim 1.0 2007-10-08 7.0 Takeshi NISHIDA - Added the MRU mode.
- Added commands to add and use original mode.
- Improved the sorting algorithm for completion items.
- Added 'initialInput' option to automatically insert a text at the
  beginning of a mode.
- Changed that 'excludedPath' option works for the entire path.
- Renamed some options.
- Changed default values of some options.
- Packed the mode-specific options to dictionaries.
- Removed some options.
fuzzyfinder.vim 0.6 2007-09-12 7.0 Takeshi NISHIDA - Fixed some bugs.
fuzzyfinder.vim 0.5 2007-09-11 7.0 Takeshi NISHIDA - Improved response by aborting processing too many items.
- Changed to be able to open a buffer/file not only in previous
  window but also in new window.
- Fixed a bug that recursive searching with '**' does not work.
- Added g:FuzzyFinder_CompletionItemLimit option.
- Added g:FuzzyFinder_KeyOpen option.
fuzzyfinder.vim 0.4 2007-09-07 7.0 Takeshi NISHIDA - Improved response of the input.
- Improved the sorting algorithm for completion items. It is based
  on the matching level. 1st is perfect matching, 2nd is prefix
  matching, and 3rd is fuzzy matching.
- Added g:FuzzyFinder_ExcludePattern option.
- Removed g:FuzzyFinder_WildIgnore option.
- Removed g:FuzzyFinder_EchoPattern option.
- Removed g:FuzzyFinder_PathSeparator option.
- Changed the default value of g:FuzzyFinder_MinLengthFile from 1 to
  0.
fuzzyfinder.vim 0.3 2007-08-10 7.0 Takeshi NISHIDA - Added g:FuzzyFinder_IgnoreCase option.
- Added g:FuzzyFinder_KeyToggleIgnoreCase option.
- Added g:FuzzyFinder_EchoPattern option.
- Changed the open command in a buffer mode from ":edit" to
":buffer" to avoid being reset cursor position.
- Changed the default value of g:FuzzyFinder_KeyToggleMode from
<C-Space> to <F12> because <C-Space> does not work on some CUI
environments.
- Changed to avoid being loaded by Vim before 7.0.
- Fixed a bug with making a fuzzy pattern which has ''.
fuzzyfinder.vim 0.2 2007-08-09 7.0 Takeshi NISHIDA A bug it does not work on Linux is fixed.
fuzzyfinder.vim 0.1 2007-08-08 7.0 Takeshi NISHIDA Initial upload
ip used for rating: 3.235.42.157

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github