summaryrefslogtreecommitdiff
path: root/suweren
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-08-16 19:36:46 +0200
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-08-17 06:29:57 +0200
commit3a85504a958d269317acb5410f116e67a506c8ff (patch)
treed67ab8c1ce6732704eb936df0976698d12427de9 /suweren
parentf63ee1b9b3f43b0f29a9fd0c11c5975305e4cd9c (diff)
feat(emacs): configure Org Mode
Diffstat (limited to 'suweren')
-rw-r--r--suweren/home/emacs-init.el1
-rw-r--r--suweren/home/emacs-org.el13
-rw-r--r--suweren/home/services.scm4
3 files changed, 18 insertions, 0 deletions
diff --git a/suweren/home/emacs-init.el b/suweren/home/emacs-init.el
index 649e71e..6715d0f 100644
--- a/suweren/home/emacs-init.el
+++ b/suweren/home/emacs-init.el
@@ -4,4 +4,5 @@
(load-file file-path)))
(list "configuration.el"
"gnus.el"
+ "org.el"
"roam.el"))
diff --git a/suweren/home/emacs-org.el b/suweren/home/emacs-org.el
new file mode 100644
index 0000000..06ed13f
--- /dev/null
+++ b/suweren/home/emacs-org.el
@@ -0,0 +1,13 @@
+(require 'org)
+
+(defvar window-setup
+ (setq org-agenda-window-setup 'only-window)
+ (concat "Full-screen agenda."))
+
+(use-package org
+ :bind
+ (("C-c a" . org-agenda)
+ ("C-c c" . org-capture)
+ ("C-c l" . org-store-link))
+ :custom
+ 'window-setup)
diff --git a/suweren/home/services.scm b/suweren/home/services.scm
index 61e288e..202deee 100644
--- a/suweren/home/services.scm
+++ b/suweren/home/services.scm
@@ -17,6 +17,7 @@
(let* ((emacs-configuration-file (local-file "emacs-configuration.el"))
(emacs-gnus-file (local-file "emacs-gnus.el"))
(emacs-init-file (local-file "emacs-init.el"))
+ (emacs-org-file (local-file "emacs-org.el"))
(emacs-roam-file (local-file "emacs-roam.el"))
(emacs-configuration (list "emacs/configuration.el"
@@ -25,12 +26,15 @@
emacs-gnus-file))
(emacs-init (list "emacs/init.el"
emacs-init-file))
+ (emacs-org (list "emacs/org.el"
+ emacs-org-file))
(emacs-roam (list "emacs/roam.el"
emacs-roam-file))
(emacs-files (list emacs-configuration
emacs-gnus
emacs-init
+ emacs-org
emacs-roam)))
(simple-service 'suweren-home-xdg-configuration-files
home-xdg-configuration-files-service-type