diff options
| author | benj <benj@rse8.com> | 2023-11-27 14:24:52 -0800 |
|---|---|---|
| committer | benj <benj@rse8.com> | 2023-11-27 14:24:52 -0800 |
| commit | 02884d752ff5320e41e23dd5a62e1243639de189 (patch) | |
| tree | 0db95dd1d8ae589824e3355b0f557fe128a28384 | |
| parent | 17f7a6c8eb6fb7851d8478ddb73d2c0974deabf3 (diff) | |
| download | emacs-02884d752ff5320e41e23dd5a62e1243639de189.tar emacs-02884d752ff5320e41e23dd5a62e1243639de189.tar.gz emacs-02884d752ff5320e41e23dd5a62e1243639de189.tar.bz2 emacs-02884d752ff5320e41e23dd5a62e1243639de189.tar.lz emacs-02884d752ff5320e41e23dd5a62e1243639de189.tar.xz emacs-02884d752ff5320e41e23dd5a62e1243639de189.tar.zst emacs-02884d752ff5320e41e23dd5a62e1243639de189.zip | |
basic org config and jinx sp check
| -rw-r--r-- | init.el | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -50,6 +50,7 @@ ;; Custom load paths, files, and directories (setq custom-file (expand-file-name "custom.el" user-emacs-directory)) (setq templates-dir (expand-file-name "templates" user-emacs-directory)) + (setq org-dir (expand-file-name ".org")) (add-to-list 'load-path templates-dir) @@ -163,6 +164,14 @@ :init (global-hl-todo-mode)) +(use-package jinx + :ensure t + :hook ((text-mode . jinx-mode) + (org-mode . jinx-mode)) + :bind (("<f2>" . 'jinx-correct) + ("M-$" . 'jinx-correct) + ("C-M-$" . 'sjinx-languages))) + (use-package lsp-mode :ensure t :commands lsp) @@ -226,6 +235,15 @@ (completion-styles '(orderless basic)) (completion-category-overrides'((file (styles basic partial-completion))))) +(use-package org-mode + :mode "\\.org$" + :bind ("C-c o c" . 'org-capture) + :custom + (org-todo-keywords `((sequence "Backlog(b)" "Todo(t)" "In Progress(i)" "|" "Done(d)" "Cancelled(c)"))) + (org-capture-templates + `(("i" "Inbox" entry (file+headline ,(concat org-dir "/inbox.org") "Inbox") "* Todo %?\nCreated: %T\n" :empty-lines 0) + ("j" "Journal Entry" entry (file+datetree ,(concat org-dir "/journal.org")) "* %?" :empty-lines 0)))) + (use-package rust-mode :ensure t :bind ((:map rust-mode-map |
