diff options
author | Julian Jørgensen <julian@jtle.dk> | 2022-10-14 18:19:25 +0200 |
---|---|---|
committer | Julian Jørgensen <julian@jtle.dk> | 2022-10-14 18:19:25 +0200 |
commit | fe212583a1dd1ec90de3fdf045e6d967c1367395 (patch) | |
tree | 250bd9880f9df4ed396217f7f58c4b41a6b0d8f6 /emacs | |
parent | b8c6b6f61d58ca0383c68cc2c7ef50cf28483b12 (diff) |
Emacs
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.emacs | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/emacs/.emacs b/emacs/.emacs index 5204914..a904029 100644 --- a/emacs/.emacs +++ b/emacs/.emacs @@ -16,6 +16,9 @@ ; (require 'evil-collection) ; (evil-collection-init) +(winner-mode 1) +(global-set-key (kbd "C-c u") #'winner-undo) + (global-set-key (kbd "C-c l") #'org-store-link) (global-set-key (kbd "C-c a") #'org-agenda) (global-set-key (kbd "C-c c") #'org-capture) @@ -39,6 +42,14 @@ (lambda () (evil-local-set-key 'normal (kbd "<SPC>") 'org-cycle))) +;; Capture +(setq ord-default-notes-file "~/Common/org/todo.org") +(setq org-capture-templates + '(("l" "Linked todo" entry (file+headline "~/Common/org/todo.org" "Captures") + "* TODO %?\n %i \n %a") + ("t" "Todo" entry (file+headline "~/Common/org/todo.org" "Captures")) + )) + ;; Contact book (setq bbdb-file "~/Common/bbdb") (require 'bbdb) @@ -58,7 +69,8 @@ ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(custom-enabled-themes '(tango-dark)) - '(package-selected-packages '(bbdb haskell-mode evil))) + '(package-selected-packages '(bbdb haskell-mode evil)) + '(warning-suppress-types '((org)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. |