sponsor Vim development Vim logo Vim Book Ad

Quicker_file : 2-step search plugin for quicker open

 script karma  Rating 4/1, Downloaded by 663  Comments, bugs, improvements  Vim wiki

created by
Vic Luo
 
script type
utility
 
description
quicker_file
==========

jump to files, even though you might not remember the full path and / or the full name.

2-step search - If not found in current dir then it will search given dir.

Modified from quick_file at http://www.vim.org/scripts/script.php?script_id=4980

NEED VIM WITH PYTHON SUPPORT!!!
===============================

:QF filename-fragment

the plugin will try to jump to shallowest match under current directory and its sub directories as well as `secondSearchPath` if `secondSearch` is set `True` and no result in first search. Also, it is possible to provide more details for a deeper match.

let's say we have a/c.txt a/b/c.txt

:QF c will jump to a/c.txt and start editing
:QF c b will jump to a/b/c.txt

Configuration
===============================
Open `plugin/quicker_file.vim`,
if you want to enable second search(search in `secondSearchPath` if no result in first search) (default: on, only work in linux), then:


secondSearch = True
secondSearchPath='path_to_search' //default is ~, you can use space to seperate paths(e.g '~ /usr/include /tmp')

 
install details
Unpack plugin/quicker_file to `plugin` directory in .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
quicker_file.zip 1.1 2015-03-21 7.0 Vic Luo Bug fixed: first search not work
quicker_file.zip 1.0 2015-03-21 7.0 Vic Luo Initial upload
ip used for rating: 3.138.134.107

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