aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-06-17 21:44:45 +0200
committerAdrian Kummerlaender2020-06-17 21:44:45 +0200
commit23da69df8527aa8292ba2d8bee1c81375ba3a82a (patch)
tree0ace54de12302870da236f07279d087f502b5c5a
parent23db3f4f7c4755f7b6115f67ca7407b4e5513686 (diff)
downloadnixos_home-23da69df8527aa8292ba2d8bee1c81375ba3a82a.tar
nixos_home-23da69df8527aa8292ba2d8bee1c81375ba3a82a.tar.gz
nixos_home-23da69df8527aa8292ba2d8bee1c81375ba3a82a.tar.bz2
nixos_home-23da69df8527aa8292ba2d8bee1c81375ba3a82a.tar.lz
nixos_home-23da69df8527aa8292ba2d8bee1c81375ba3a82a.tar.xz
nixos_home-23da69df8527aa8292ba2d8bee1c81375ba3a82a.tar.zst
nixos_home-23da69df8527aa8292ba2d8bee1c81375ba3a82a.zip
Update Emacs config
-rw-r--r--gui/conf/init.el14
1 files changed, 12 insertions, 2 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el
index 215b95b..26b07ed 100644
--- a/gui/conf/init.el
+++ b/gui/conf/init.el
@@ -110,6 +110,10 @@
(setq org-default-notes-file "~/org/inbox.org")
(setq org-agenda-files '("~/org"))
(setq org-link-frame-setup '((file . find-file))) ; open links in same frame
+ (setq org-goto-interface 'outline-path-completion)
+ (setq org-outline-path-complete-in-steps nil)
+ (setq org-src-window-setup 'current-window)
+ (define-key org-mode-map (kbd "<C-tab>") nil)
(add-hook 'org-mode-hook (lambda () (variable-pitch-mode 1))))
(setq org-todo-keywords
@@ -139,8 +143,6 @@
(setq org-latex-preview-ltxpng-directory "~/.emacs.d/ltxpng/")
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5))
-(evil-leader/set-key
- "p" 'org-latex-preview)
(use-package org-fragtog
:ensure t
@@ -190,6 +192,10 @@
("i" org-toggle-inline-images "Toggle images" :column "Preview")
("l" org-latex-preview "Toggle LaTeX" :column "Preview")
+ ("s" org-time-stamp-inactive "Timestamp (inactive)" :column "Fragments")
+
+ ("h" org-html-export-to-html "HTML export" :column "Export")
+
("q" nil "Exit menu" :column "Other"))
(evil-define-key 'normal org-mode-map
@@ -198,6 +204,10 @@
"m" 'hydra-org-mode/body
(kbd "<return>") 'org-open-at-point)
+(evil-leader/set-key-for-mode 'org-mode
+ "c" 'org-edit-src-code
+ "g" 'org-goto)
+
(use-package ivy
:ensure t
:config