Parcourir la Source

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

Lu Stadler 7 ans auparavant
Parent
commit
c534314e1b
1 fichiers modifiés avec 14 ajouts et 0 suppressions
  1. 14 0
      .emacs.d/init.el

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

30
             (put-clojure-indent 'DELETE '(:defn))
30
             (put-clojure-indent 'DELETE '(:defn))
31
             (put-clojure-indent 'ANY '(:defn))))
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
(defun simple-writing-mode (&optional enable)
47
(defun simple-writing-mode (&optional enable)
34
  "Change the current buffer to allow for simple writing of long texts"
48
  "Change the current buffer to allow for simple writing of long texts"
35
  (interactive)
49
  (interactive)