Some working configuration

This commit is contained in:
2025-09-28 22:28:43 +02:00
parent 9fa0bd3320
commit f304d92cb5
7 changed files with 131 additions and 0 deletions

20
lisp/keybinds.el Normal file
View File

@@ -0,0 +1,20 @@
;; Variables
(defvar my-zettelkasten-dir "/webdav/notes"
"Path to zettelkasten directory.")
;; Functions
(defun jonas/open-notes ()
"Open zettelkasten directory in dired."
(interactive)
(dired my-zettelkasten-dir))
;; Helpers
(global-set-key (kbd "C-c z") #'jonas/open-notes)
;; Org mode
(with-eval-after-load 'org
(define-key org-mode-map (kbd "C-c t") #'org-todo)
(define-key org-mode-map (kbd "C-c TAB") #'org-cycle)
(define-key org-mode-map (kbd "C-c l") #'org-insert-link))
(provide 'keybinds)