怎么设置.emacs,使C-X C-F能打开指定目录。
-
- 帖子: 256
- 注册时间: 2007-07-26 15:07
怎么设置.emacs,使C-X C-F能打开指定目录。
我按C-X C-F默认是打开~/下的文件,能不能配置成默认打开我设定目录下的文件,比如/home/share
-
- 帖子: 9
- 注册时间: 2007-05-19 21:22
用smart-find
.emacs文件中按照以下配置:
(load "smart-find")
(setq smart-find-file-path
'("~" "~/doc" "~/lisp" "~/tex/math" "~/tex/misc" "~/public_html"
"/usr/local/share/emacs/21.1/etc"))
在smart-find-file-path中加你喜欢的目录
注意用C-c C-f打开文件
(load "smart-find")
(setq smart-find-file-path
'("~" "~/doc" "~/lisp" "~/tex/math" "~/tex/misc" "~/public_html"
"/usr/local/share/emacs/21.1/etc"))
在smart-find-file-path中加你喜欢的目录
注意用C-c C-f打开文件
- 附件
-
- smart-find.zip
- (6.37 KiB) 已下载 118 次