Sfoglia il codice sorgente

~/.emacs.d/init.el: Add a shortcut to open/find a note

Lucas Stadler 9 anni fa
parent
commit
a697adac0a
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. 7 0
      .emacs.d/init.el

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

@ -58,6 +58,13 @@
58 58
59 59
(global-set-key (kbd "C-x C-n") 'find-recent-notes)
60 60
61
(defun create-note ()
62
  (interactive)
63
  (ido-find-file)
64
  (simple-writing-mode t))
65
66
(global-set-key (kbd "C-x C-S-n") 'create-note)
67
61 68
(custom-set-faces
62 69
 '(default ((t (:family "Fantasque Sans Mono" :height 124)))))
63 70