sponsor Vim development Vim logo Vim Book Ad

FileFastSelector : Plugin allows to open files with minimal number of keystrokes.

 script karma  Rating 22/7, Downloaded by 765    Comments, bugs, improvements  Vim wiki

created by
Evgeny Podjachev
 
script type
utility
 
description
FileFastSelector plugin tries to provide fast way to open files using minimal number of keystrokes. It's inspired by Command-T plugin but requires python support instead of ruby.

Files are selected by typing characters that appear in their paths, and are ordered by length of common substring with search string.

Root directory for search is current vim directory. Or if tags file exists somewhere in parent directories its path will be used as root.

Source code is also available on bitbucket: https://bitbucket.org/madevgeny/fastfileselector.

NOTE: FileFastSelector requires a version of VIM with Python support enabled.

Usage:
Command :FFS toggles visibility of fast file selector buffer.
Parameter g:FFS_window_height sets height of search buffer. Default = 15.
Parameter g:FFS_ignore_list sets list of dirs/files to ignore use Unix shell-style wildcards. Default = ['.*', '*.bak', '~*', '*~', '*.obj', '*.pdb', '*.res', '*.dll', '*.idb', '*.exe', '*.lib', '*.so', '*.a', '*.pyc', 'CMakeFiles'].
Parameter g:FFS_ignore_case, if set letters case will be ignored during search. On windows default = 1, on unix default = 0.
Parameter g:FFS_history_size sets the maximum number of stored search queries in history. Default = 10.

To get queries history press <Ctrl-H> in insert or normal mode in
search string. Autocompletion using history also works by
<Ctrl-X><Ctrl-U>.
 
install details
NOTE: FileFastSelector requires a version of VIM with Python support enabled.

Just drop this file in your plugin directory.
If you use Vundle (https://github.com/gmarik/vundle/), you could add

Bundle('https://bitbucket.org/madevgeny/fastfileselector.git')

to your Vundle config to install FileFastSelector.
 

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
fastfileselector.zip 0.3.3 2013-12-18 7.0 Evgeny Podjachev Fixed work on some vim builds.
Support of vim builds with enabled python3 support.
fastfileselector.vim 0.3.1 2013-08-11 7.3 Evgeny Podjachev Removed message "press any key to continue" in some cases. Thanks to Dmitry Frank.
Fixed error on closing FFS window in some cases. Thanks to Dmitry Frank.
fastfileselector.vim 0.3.0 2012-11-10 7.0 Evgeny Podjachev Fixed issue with TabBar plugin.
Added parameter g:FFS_be_silent_on_python_lack to suppress error message if vim doesn't have python support.
fastfileselector.vim 0.2.3 2012-11-04 7.0 Evgeny Podjachev Fixed opening files with spaces in path.
Fixed case sensitive search.
Removed fastfileselector buffer from buffers list.
fastfileselector.vim 0.2.2 2012-08-11 7.0 Evgeny Podjachev Fixed autocompletion by <Ctrl-X><Ctrl-U>.
Fixed immediate opening of first file after closing history menu.
Removed '' and '/' from color highlighting as they may produce errors.
fastfileselector.vim 0.2.1 2012-07-24 7.0 Evgeny Podjachev Bug fixes and optimization of search.
fastfileselector.vim 0.2.0 2012-07-21 7.0 Evgeny Podjachev Added support of GetLatestVimScripts.
fastfileselector.vim 0.1.0 2012-07-21 7.0 Evgeny Podjachev Initial upload
ip used for rating: 54.82.31.133

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.
   
SourceForge.net Logo