Giter Site home page Giter Site logo

quick_file's Introduction

quick_file

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

vim.org link: http://www.vim.org/scripts/script.php?script_id=4980

NEED VIM WITH PYTHON SUPPORT!!!

:AG term [extension]

This requires https://github.com/ggreer/the_silver_searcher installed. opens files that has text match to the search tearm in quick-fix window. There is also a shortcut available: pressing 'ga' with cursor in word to search for occurence of that word. (because I am currently doing golang, so I hooked up this shortcut *.go files, but you can change that with ease in your .vimrc)

:QF filename-fragment

the plugin will try to jump to shallowest match under current directory and it's sub directories. 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

By Default, QF will search on secondary search path when pwd(.) failed to return any results, and the default secondary search path is ~, this behaviour is governed by global variable g:QF_ASP. Thanks for the excellent idea https://github.com/htfy96

To Change the secondary search path: let g:QF_ASP="your-path" To Disable secondary search: let g:QF_ASP=""

Support ack wrapper as :ACK search-term file-ext e.g.: :ACK TODO go

quick_file's People

Contributors

zhchang avatar htfy96 avatar retervision avatar yixiang avatar

Watchers

Fu Qiang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.