diff --git a/emacs/custom.el b/emacs/custom.el index 7c01fd9..bd01ac3 100644 --- a/emacs/custom.el +++ b/emacs/custom.el @@ -51,7 +51,8 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; 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) diff --git a/emacs/feature/feature-dev.el b/emacs/feature/feature-dev.el index 189a5e6..be302aa 100644 --- a/emacs/feature/feature-dev.el +++ b/emacs/feature/feature-dev.el @@ -21,6 +21,7 @@ (require 'module-lmtf) (require 'module-apitest) (require 'module-qt) +(require 'module-eglot) (provide 'feature-dev) ;;; feature-dev.el ends here. diff --git a/emacs/feature/feature-km.el b/emacs/feature/feature-km.el index c61766b..0c00004 100644 --- a/emacs/feature/feature-km.el +++ b/emacs/feature/feature-km.el @@ -10,7 +10,7 @@ (require 'module-org-denote) (require 'module-org-drill) (require 'module-denote) -;;(require 'module-denote-multidir) +(require 'module-denote-multidir) (require 'module-denote-index) (require 'module-collect) diff --git a/emacs/module/module-org.el b/emacs/module/module-org.el index d07b71d..7cbbe96 100644 --- a/emacs/module/module-org.el +++ b/emacs/module/module-org.el @@ -20,7 +20,7 @@ (defun my/visit-todo () "Visit TODO.org in home." (interactive) - (find-file "~/eris/TODO.org")) + (find-file "~/TODO.org")) (defun my/kill-all-org-agenda-buffers () "Close all org-agenda-related buffers." @@ -57,7 +57,7 @@ (interactive) (unless org-agenda-files (setq org-agenda-files - (list "~/eris/TODO.org")))) + (list "~/TODO.org")))) ;; org-mode general settings @@ -93,13 +93,13 @@ ;; org-refile settings (setq org-refile-targets '((nil :maxlevel . 9) - ("~/eris/TODO.org" :maxlevel . 9)) + ("~/TODO.org" :maxlevel . 9)) org-refile-use-outline-path 'file org-refile-allow-creating-parent-nodes 'confirm) ;; org-capture settings (setq org-capture-templates - '(("t" "TODO" entry (file "~/eris/TODO.org") + '(("t" "TODO" entry (file "~/TODO.org") "* TODO %?\n %i" :prepend t))) (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) diff --git a/emacs/snippets/org-mode/example b/emacs/snippets/org-mode/example new file mode 100644 index 0000000..e41af70 --- /dev/null +++ b/emacs/snippets/org-mode/example @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: example +# key: example +# -- +#+BEGIN_EXAMPLE ${1:lang} +${0} +#+END_EXAMPLE \ No newline at end of file diff --git a/emacs/snippets/org-mode/src b/emacs/snippets/org-mode/src new file mode 100644 index 0000000..7105341 --- /dev/null +++ b/emacs/snippets/org-mode/src @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: src +# key: src +# -- +#+BEGIN_SRC ${1:lang} +${0} +#+END_SRC \ No newline at end of file