This commit is contained in:
Levi 2024-10-09 16:27:44 +02:00
parent e190748bf6
commit d5a91c7e83
6 changed files with 22 additions and 6 deletions

View File

@ -51,7 +51,8 @@
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(default ((t (:weight regular :height 120 :width normal :foundry "CF " :family "Space Mono" :slant normal))))) '(default ((t (:weight regular :height 120 :width normal :foundry "CF " :family "Space Mono" :slant normal))))
'(mc/cursor-bar-face ((t (:background "dim gray" :height 1)))))
(provide 'custom) (provide 'custom)

View File

@ -21,6 +21,7 @@
(require 'module-lmtf) (require 'module-lmtf)
(require 'module-apitest) (require 'module-apitest)
(require 'module-qt) (require 'module-qt)
(require 'module-eglot)
(provide 'feature-dev) (provide 'feature-dev)
;;; feature-dev.el ends here. ;;; feature-dev.el ends here.

View File

@ -10,7 +10,7 @@
(require 'module-org-denote) (require 'module-org-denote)
(require 'module-org-drill) (require 'module-org-drill)
(require 'module-denote) (require 'module-denote)
;;(require 'module-denote-multidir) (require 'module-denote-multidir)
(require 'module-denote-index) (require 'module-denote-index)
(require 'module-collect) (require 'module-collect)

View File

@ -20,7 +20,7 @@
(defun my/visit-todo () (defun my/visit-todo ()
"Visit TODO.org in home." "Visit TODO.org in home."
(interactive) (interactive)
(find-file "~/eris/TODO.org")) (find-file "~/TODO.org"))
(defun my/kill-all-org-agenda-buffers () (defun my/kill-all-org-agenda-buffers ()
"Close all org-agenda-related buffers." "Close all org-agenda-related buffers."
@ -57,7 +57,7 @@
(interactive) (interactive)
(unless org-agenda-files (unless org-agenda-files
(setq org-agenda-files (setq org-agenda-files
(list "~/eris/TODO.org")))) (list "~/TODO.org"))))
;; org-mode general settings ;; org-mode general settings
@ -93,13 +93,13 @@
;; org-refile settings ;; org-refile settings
(setq org-refile-targets (setq org-refile-targets
'((nil :maxlevel . 9) '((nil :maxlevel . 9)
("~/eris/TODO.org" :maxlevel . 9)) ("~/TODO.org" :maxlevel . 9))
org-refile-use-outline-path 'file org-refile-use-outline-path 'file
org-refile-allow-creating-parent-nodes 'confirm) org-refile-allow-creating-parent-nodes 'confirm)
;; org-capture settings ;; org-capture settings
(setq org-capture-templates (setq org-capture-templates
'(("t" "TODO" entry (file "~/eris/TODO.org") '(("t" "TODO" entry (file "~/TODO.org")
"* TODO %?\n %i" :prepend t))) "* TODO %?\n %i" :prepend t)))
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))

View File

@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: example
# key: example
# --
#+BEGIN_EXAMPLE ${1:lang}
${0}
#+END_EXAMPLE

View File

@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: src
# key: src
# --
#+BEGIN_SRC ${1:lang}
${0}
#+END_SRC