【发布时间】:2013-11-06 14:28:28
【问题描述】:
我想绑定 super 和 9 以打开“查找文件:”,“Cx Cf”菜单,在用户输入字段中以 ~/x/ 作为“默认路径”,无论我的文件是哪个目录目前已经开放。不幸的是,我的 elisp 技能非常基础。非常感谢您对此提供帮助。
(global-set-key (kbd "s-9") 'enter_find_file_with_dir_x_as_default)
(defun enter_find_file_with_dir_x_as_default ()
"Enter find file with the path ~/x/ as the default input every time."
())
【问题讨论】: