aboutsummaryrefslogtreecommitdiff
path: root/gui/conf/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'gui/conf/init.el')
-rw-r--r--gui/conf/init.el17
1 files changed, 14 insertions, 3 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el
index 1c96458..3c2cfb4 100644
--- a/gui/conf/init.el
+++ b/gui/conf/init.el
@@ -201,8 +201,6 @@
(org-icalendar-timezone "Europe/Berlin")
(org-icalendar-use-deadline '(event-if-not-todo event-if-todo))
(org-icalendar-use-scheduled '(event-if-not-todo event-if-todo))
- (org-default-priority ?D)
- (org-lowest-priority ?D)
:init
(require 'org-protocol)
(require 'ox-bibtex)
@@ -223,6 +221,9 @@
(sequence "IDEA(i)" "TODO(t)" "|" "DONE(d)")
(sequence "IDEA(i)" "PAPER(t)" "|" "DONE(d)")))
+(setq org-default-priority ?D)
+(setq org-lowest-priority ?D)
+
(setq org-capture-templates
'(("t" "Todo item" entry
(file org-default-notes-file)
@@ -249,9 +250,11 @@
:immediate-finish t)))
(defcustom custom/org-capture-frame-name "**Capture**"
+ "Name of capture frame"
:type 'string)
(defun custom/org-capture-frame (template)
+ "Start capture frame in new window"
(interactive '(nil))
(if (not (equal custom/org-capture-frame-name (frame-parameter nil 'name)))
(make-frame '((name . custom/org-capture-frame-name))))
@@ -355,7 +358,12 @@
"J" 'org-next-visible-heading
"K" 'org-previous-visible-heading
"m" 'hydra-org-mode-local/body
- (kbd "<return>") 'org-open-at-point)
+ (kbd "<return>") (lambda ()
+ (interactive)
+ (if current-prefix-arg
+ (let ((browse-url-browser-function browse-url-secondary-browser-function))
+ (call-interactively 'org-open-at-point))
+ (call-interactively 'org-open-at-point))))
(use-package helm
:ensure t
@@ -529,6 +537,9 @@
(use-package csv-mode
:ensure t)
+(use-package kdl-mode
+ :ensure t)
+
(use-package rainbow-mode
:ensure t)