Giter Site home page Giter Site logo

Comments (5)

Yggdroot avatar Yggdroot commented on June 30, 2024

目前还没有,我在考虑有没有加的必要。

from leaderf.

chin33z avatar chin33z commented on June 30, 2024

謝謝

from leaderf.

Yggdroot avatar Yggdroot commented on June 30, 2024

我使用vim,一般是到某个project根目录下,打开vim,然后可以随便查找这个project的所有文件; 难道需要先进入某个子目录再查找吗?
g:ctrlp_working_path_mode选项的使用场景是怎样的呢,我没体会到有了那些设定有什么优点,可以说明一下吗?

from leaderf.

Yggdroot avatar Yggdroot commented on June 30, 2024

@chin33z @createwindow Feature added.

LeaderF/doc/leaderf.txt

Lines 446 to 471 in c253ca4

g:Lf_RootMarkers *g:Lf_RootMarkers*
Use this option to set the root markers.
e.g., >
let g:Lf_RootMarkers = ['.project', '.project2']
<
Default value is ['.git', '.hg', '.svn']
g:Lf_WorkingDirectoryMode *g:Lf_WorkingDirectoryMode*
This option customizes LeaderF's working directory.
e.g., >
let g:Lf_WorkingDirectoryMode = 'Ac'
<
c - the directory of the current working directory.(default)
a - the nearest ancestor of current working directory that contains one of
directories or files defined in |g:Lf_RootMarkers|. Fall back to 'c' if
no such ancestor directory found.
A - the nearest ancestor of current file that contains one of directories
or files defined in |g:Lf_RootMarkers|. Fall back to 'c' if no such
ancestor directory found.
f - the directory of the current file.
F - if the current working directory is not the direct ancestor of current
file, use the directory of the current file as LeaderF's working
directory, otherwise, same as 'c'.
Note: if "f", "F" is included with "a" or "A", use the behavior of "f" or
"F"(as a fallback) when a root can't be found.

from leaderf.

chin33z avatar chin33z commented on June 30, 2024

謝謝!終於可以用了.

from leaderf.

Related Issues (20)

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.