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

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

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

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

58
58
59
(global-set-key (kbd "C-x C-n") 'find-recent-notes)
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
(custom-set-faces
68
(custom-set-faces
62
 '(default ((t (:family "Fantasque Sans Mono" :height 124)))))
69
 '(default ((t (:family "Fantasque Sans Mono" :height 124)))))
63
70