sponsor Vim development Vim logo Vim Book Ad

quick-file : to quickly jump to file in current or sub directory

 script karma  Rating 136/48, Downloaded by 1539  Comments, bugs, improvements  Vim wiki

created by
zhao chang
 
script type
ftplugin
 
description
Wonder how to locate and jump to file in vim real quick?
Here is a solution. (It helps me a lot)

NOTE: THIS REQUIRES VIM WITH PYTHON (but don't worry, I am sure your vim supports it, unless you are using windows, then you got to install python you yourself)

http://github.com/zhchang/quick_file

:QF something my-folder my-sub-folder

if you have wtf/wtf-my-folder-blahblah/wtf-my-sub-folder-blahblahblah/this-is-something-lol.py

it will locate and open this-is-something-lol.py for editing in no time.

All you need to jump to a file is to type a fragment of the filename, and optionally specify fragment of the folder that it resides in. The plugin will jump to the closest match and start editing it.(the more fragment you give, the preciser the match will be)

a big productivity improver.

Enjoy.
 
install details
unizp quick_file.zip to:
ubuntu/osx: ~/.vim
 

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
quick_file.zip 0.1.4 2015-03-26 7.0 zhao chang add switch to enable and disable secondary search
quick_file.zip 0.1.3 2014-10-10 7.0 zhao chang avoid showing "hit enter to continue prompt"
quick_file.zip 0.1.2 2014-07-29 7.0 zhao chang correct error from last update
quick_file.zip 0.1.1 2014-07-21 7.0 zhao chang kill find process on timeout
quick_file.zip 0.1.0 2014-07-20 7.0 zhao chang support timeout for find
ip used for rating: 18.223.32.230

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