sponsor Vim development Vim logo Vim Book Ad

Quicksilver.vim : Quickly open files from inside VIM.

 script karma  Rating 4/3, Downloaded by 521    Comments, bugs, improvements  Vim wiki

created by
Bogdan Popa
 
script type
utility
 
description
Quicksilver is a VIM plugin whose purpose is to quicken the process of
opening files from inside VIM.

# Preview

Video: http://www.youtube.com/watch?v=RDsey4YqpHs

Screenshot: http://farm4.static.flickr.com/3383/5804126014_072806d823_z.jpg

# Usage

By default, `\q` will activate the Quicksilver buffer and switch to insert
mode. Typing any key will update the list of suggestions and pressing `CR`
will open the first item in the suggestion list. Use `C-c` to quickly
close the buffer.

You may cycle through the suggestion list using `Tab` and `S-Tab`. `CR` will
open the current suggestion (that's the first item in the list of matches).

If there is only one item in the suggestion list, pressing `Tab` will open
that item.

Pressing `CR` when there is no pattern will go up a directory.

`C-w` clears the entire pattern. If there is no pattern, it will go up a
directory.

`C-t` toggles between if pattern and filename case should be ignored or
not.

`C-f` turns on `fuzzy matching`. Fuzzy matching will match any filename
that contains every character in pattern in order. For example, the
pattern `rdm` will match `README` but not `REMADE`.

`C-n` turns on `normal matching`. Normal matching will match any
filename that contains the exact pattern within it. For example, the
pattern `foo` will match `foo` and `foob` but not `ofo` or `oof`.

If you prefer fuzzy matching and would like Quicksilver to default to using it
instead of normal matching then you can add `let g:QSMatchFn = 'fuzzy'`
to your `.vimrc`.

If a file with the given pattern does not exist then a new file will be
opened for editing with the given pattern as its filename. If a pattern
ends in `/`, quicksilver will create a new folder, change its CWD to
that folder and remain in insert mode expecting a file name.

Patterns that start or end in a wildcard (`*`) are treated as glob
patterns. For example, the pattern `*.md` will open all the files that
have the extension `.md` in the CWD.

# Requirements

* VIM 7.0+ compiled with +python
* Python 2.6+

[1]: http://github.com/tpope/vim-pathogen
 
install details
Use pathogen (http://github.com/tpope/vim-pathogen) and clone
the github repository (https://github.com/Bogdanp/quicksilver.vim)
into your ~/.vim/bundle directory or download quicksilver.vim to
your ~/.vim/plugin/ directory.
 

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
quicksilver.vim 0.4.6 2012-05-07 7.0 Bogdan Popa * Removes the OrderedDict dependency, it should now work properly on systems with Python 2.6.x.
quicksilver.vim 0.4.5 2012-05-06 7.0 Bogdan Popa * Fix 're' import issue.
* Fix QSActivate.
quicksilver.vim 0.4.4 2012-05-06 7.0 Bogdan Popa * Fix re import issue.
quicksilver.vim 0.4.2 2012-05-05 7.0 Bogdan Popa
quicksilver.vim 0.4 2012-05-04 7.0 Bogdan Popa * Fixed Windows support.
quicksilver.vim 0.3.1 2011-06-09 7.0 Bogdan Popa New in version 0.3.1:

* If there is only one file in the suggestion list, pressing Tab will open that file.
quicksilver.vim 0.3.0 2011-06-08 7.0 Bogdan Popa New in version 0.3.0:

* Allow the user to set a default match function in their .vimrc
* Suggestions can now be cycled through
quicksilver.vim 0.2.7 2011-06-06 7.0 Bogdan Popa Version 0.2.7:

* Allow the user to set a default match function in their vimrc.
quicksilver.vim 0.2.6 2011-06-06 7.0 Bogdan Popa Initial upload
ip used for rating: 174.129.80.166

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