MonkLuf

折腾一个晚上,终于让 Emacs 支持自动搜索文件,大家平时都怎么用 Emacs?

  •  
  •   MonkLuf · Jun 12, 2015 · 6783 views
    This topic created in 3991 days ago, the information mentioned may be changed or developed.

    在Emacs中以前每次要切换到其他文件的时候,必须得知道文件的确切目录才行。很费劲的操作,今天终于忍不了了,用IDOFind-file-in-project 给Emacs加上了模糊搜索文件的功能,但是这货居然让我折腾了一晚上,采坑的原因就不说了。

    不知道大家在学习使用Emacs的过程中,有没有遇到那种相见恨晚的插件、网站、博客或者书籍之类的,让在Emacs中写代码的瞬间效率提升数倍?

    14 replies    2015-06-12 22:05:30 +08:00
    xlmo
        1
    xlmo  
       Jun 12, 2015
    MonkLuf
        2
    MonkLuf  
    OP
       Jun 12, 2015 via Android
    @xlmo 正是我需要的,稍后可以尝试一下,多谢!
    pubby
        3
    pubby  
       Jun 12, 2015 via Android
    有没有好用的git mode?目前用magit
    goofansu
        4
    goofansu  
       Jun 12, 2015 via iPad
    projectile或者prelude,后者集成了很多功能
    goofansu
        5
    goofansu  
       Jun 12, 2015 via iPad
    @pubby 这个是最好用的了吧
    xiazhichenjlu
        6
    xiazhichenjlu  
       Jun 12, 2015
    helm everywhere + projectile 找到文件速度快了很多,因为大多数需要编辑的文件都是在 (1) opened buffers 或 (2) recent files 或 (3) opened projects。helm everywhere 将 (1) 和 (2) 同时在 C-x b 中显示。
    unionx
        7
    unionx  
       Jun 12, 2015
    慢慢摸索吧,挺好玩,坑也多
    lingo233
        8
    lingo233  
       Jun 12, 2015
    我觉得大家最需要的应该是脚踏板而不是那些乱七八糟的插件
    zhpooer
        9
    zhpooer  
       Jun 12, 2015
    @MonkLuf 我也是这么用的
    我来分享一下我使用 projectile 的方法(prelude 自带了 projecttile 的插件):
    C + c p p 在曾经打开过的 git项目里 打开项目
    C + c p f 在当前git项目中打开文件
    其他好玩的功能可以参考 prelude 文档
    vietor
        10
    vietor  
       Jun 12, 2015 via Android
    Gtags find file,rcentf-open-files
    senghoo
        11
    senghoo  
       Jun 12, 2015
    试试helm + projectile 效果比ido 好。
    sectic
        12
    sectic  
       Jun 12, 2015
    projectile , spacemacs
    MonkLuf
        13
    MonkLuf  
    OP
       Jun 12, 2015 via Android
    @lingo233 什么意思?
    yangxin0
        14
    yangxin0  
       Jun 12, 2015
    在写项目的时候, 其实这种查找意义不大。 不熟悉的项目只需要用find
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2837 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 12:06 · PVG 20:06 · LAX 05:06 · JFK 08:06
    ♥ Do have faith in what you're doing.