Emacsist RSS --- If never, make it ever: C-h C-h

open-recentf on Emacs startup

6799

这里 查看更多 Emacs 相关推荐文章最新 Emacs 圈的动态. 欢迎关注微信公众账号: Emacsist

Hick 叽喳:

     一直没使用这种打开最近文件的方式, 最左的还是 projectile 的;  看使用习惯, 经常关闭 buffer 又需要打开的情况有时候也蛮多.

Open recentf immediately after Emacs is started. If files are opend, does nothing. Open recentf otherwise. (For example, it is when execute by specifying the file from command line.) This script uses only `after-init-hook’. Not privede interactive functions.

put into your own .emacs file (~/.emacs.d/init.el)

(init-open-recentf)

init-open-recentf Support helm, ido, anything (or nothing). Determine from your environment, but it is also possible that you explicitly.

(setq init-open-recentf-interface 'ido)
(init-open-recentf)

If you want to do another thing, you can specify an arbitrary function.

(setq init-open-recentf-function #'awesome-open-recentf)
(init-open-recentf)

Instllation

Cask (without pallet)

See Cask Installation. put into your own Cask file.

(depends-on "init-open-recentf")

MELPA

See Getting Started - MELPA. M-x package-install and type init-open-recentf.

El-get

See El-Get #Installation. put into your own init.el file.

(el-get-bundle init-open-recentf)
原文出处: zonuexe
原文地址: https://github.com/zonuexe/init-open-recentf.el
原文时间: 2015-10-31 00:57
本文地址: http://emacsist.com/10516
整理时间: 2015-11-01 12:23

本文由 Hick 整理,转载请保留以上信息;
COPYLEFTThe articles on this site come from Internet, thanks to all the original authors.
      If anything about COPYRIGHT, or LEFT, please contact Emacsist at gmail dot com .