]> git.earman.xyz Git - emacsinit.git/commitdiff
Add ext. filetype, add DL to org capture template
authorrearman <rearman@r717.net>
Mon, 12 Dec 2022 21:40:38 +0000 (16:40 -0500)
committerrearman <rearman@r717.net>
Mon, 12 Dec 2022 21:40:38 +0000 (16:40 -0500)
Added .adpro assosciation, added DEADLINE to Service req. template.

init.el

diff --git a/init.el b/init.el
index d0106d83698525a9ca9f94e915e192c20460066c..468bb2491ed0a7902cf8b1791172cdca9681ec4c 100644 (file)
--- a/init.el
+++ b/init.el
@@ -61,7 +61,8 @@
                                ("\\.xls\\'" "excel" (file))
                                ("\\.xlsx\\'" "excel" (file))
                                ("\\.doc\\'" "word" (file))
-                               ("\\.docx\\'" "word" (file)))))
+                               ("\\.docx\\'" "word" (file))
+                               ("\\.adpro\\'" "PoductivitySuite" (file)))))
 
 ;; SETQ AND DEFAULTS
 (setq-default indicate-empty-lines t
       mode-line-compact t
       make-backup-files nil
       auto-save-default nil
+      confirm-nonexistent-file-or-buffer nil
       show-paren-delay 0
       show-paren-style 'expression
       blink-matching-paren 'jump
       global-hl-line-sticky-flag t
-      confirm-nonexistent-file-or-buffer nil
       apropos-do-all t
       echo-keystrokes 0.01
       save-interprogram-paste-before-kill t)
       org-capture-templates '(("t" "Default TODO" entry (file+datetree org-default-notes-file)
                               "* TODO %?")
                              ("s" "Service Req." entry (file+datetree org-service-notes-file)
-                              "* TODO %?")))
+                              "* TODO %?\nDEADLINE: %^t\n")))
 
 ;; OPTIONS
 (recentf-mode t)
@@ -294,8 +295,8 @@ bar normally, hbar in read-only, and box in overwrite.  Stolen from https://emac
 
 ;; BINDINGS
 ;; USER SPACE
-(global-set-key (kbd "C-c c") 'org-capture)
 (global-set-key (kbd "C-c b") 'buffer-menu-other-window)
+(global-set-key (kbd "C-c c") 'org-capture)
 (global-set-key (kbd "C-c i") 'edit-init)
 (global-set-key (kbd "C-c n") 'new-empty-buffer)
 (global-set-key (kbd "C-c o s") 'find-org-service)