Просмотр исходного кода

~/.emacs.d: Add in commented-out sketch to find recent files

Lu Stadler лет назад: 7
Родитель
Сommit
c534314e1b
1 измененных файлов с 14 добавлено и 0 удалено
  1. 14 0
      .emacs.d/init.el

+ 14 - 0
.emacs.d/init.el

@ -30,6 +30,20 @@
30 30
             (put-clojure-indent 'DELETE '(:defn))
31 31
             (put-clojure-indent 'ANY '(:defn))))
32 32
33
;; (require 'recentf)
34
;; (recentf-mode 1)
35
;; (setq recentf-keep '(("\\.txt\\'") ("\\.md\\'")))
36
;; (setq recentf-max-menu-items 25)
37
38
;; (defun recentf-ido-find-file ()
39
;;   "Find a recent file using Ido."
40
;;   (interactive)
41
;;   (let ((file (ido-completing-read "Choose recent file: " recentf-list nil)))
42
;;     (when file
43
;;       (find-file file))))
44
45
;; (global-set-key "\C-x\ \C-r" 'recentf-ido-find-file)
46
33 47
(defun simple-writing-mode (&optional enable)
34 48
  "Change the current buffer to allow for simple writing of long texts"
35 49
  (interactive)