yangg
0.14D
V2EX  ›  Emacs

用emacs的人多不?写了个file finder

  •  
  •   yangg · Apr 28, 2012 · 4715 views
    This topic created in 5205 days ago, the information mentioned may be changed or developed.
    简单的require即可使用

    (add-to-list 'load-path "/path/to/find2.el")
    (require 'find2)

    默认,检查default-directory是不是git的项目 ,是的话,就在项目内搜索,
    不是就搜索find2-default-dir(默认当前目录了)
    https://github.com/yangg/find2.el

    原本是基于https://github.com/justinweiss/fuzzy-find-in-project写的,后来想到项目切换,一直没写,最近vim用到了ctrlp https://github.com/kien/ctrlp.vim 终于还是给加上自动根据当前目录切换项目 了,这样配置起来也方便点

    目录只支持git的项目,不知道hg用的人多不?
    windows话可能需要将git目录添加到环境变量才行。
    或者 有兴趣用用看,有什么需求的话,我可以加上
    5 replies    1970-01-01 08:00:00 +08:00
    freestyler
        1
    freestyler  
       Apr 28, 2012
    看了README 没看懂做啥的?
    yangg
        2
    yangg  
    OP
       Apr 29, 2012
    @freestyler sorry 没说清楚 ,就是快速查找打开项目内的文件,现在是只支持git的项目
    默认的快捷键是C-x c
    gfreezy
        3
    gfreezy  
       Apr 29, 2012
    原来基于anything自己也写了个source,后来发现anything有个anything-git-go-to的插件,就是支持在git里面查找文件的。
    terrance
        4
    terrance  
       Jun 20, 2012
    试试textmate-mode
    venmos
        5
    venmos  
       Jul 6, 2013
    ack.el `ack-find-file`
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1108 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 23:02 · PVG 07:02 · LAX 16:02 · JFK 19:02
    ♥ Do have faith in what you're doing.