diff options
author | jdlugosz963 <jdlugosz963@gmail.com> | 2024-03-13 23:00:46 +0100 |
---|---|---|
committer | jdlugosz963 <jdlugosz963@gmail.com> | 2024-03-13 23:00:46 +0100 |
commit | 58aa5ad1148391787a2652c65913e8788774d74e (patch) | |
tree | 3254ec27aabea0b256d6553fd298d7ff6cdd2eff /.emacs.d | |
parent | 3a847f81783589a2266dbbebffcfec3a86264cdb (diff) | |
download | dotfiles-58aa5ad1148391787a2652c65913e8788774d74e.tar.gz dotfiles-58aa5ad1148391787a2652c65913e8788774d74e.zip |
Update emacs config.
Diffstat (limited to '.emacs.d')
-rw-r--r-- | .emacs.d/.gitignore | 12 | ||||
-rwxr-xr-x | .emacs.d/jd/jd-apps.el | 34 | ||||
-rwxr-xr-x | .emacs.d/jd/jd-dev.el | 8 | ||||
-rwxr-xr-x | .emacs.d/jd/jd-org.el | 29 |
4 files changed, 57 insertions, 26 deletions
diff --git a/.emacs.d/.gitignore b/.emacs.d/.gitignore index d3d6223..f51c6b4 100644 --- a/.emacs.d/.gitignore +++ b/.emacs.d/.gitignore | |||
@@ -1,9 +1,3 @@ | |||
1 | auto-save-list/ | 1 | * |
2 | eln-cache/ | 2 | !init.el |
3 | elpa/ | 3 | !jd/ \ No newline at end of file |
4 | eshell/ | ||
5 | transient/ | ||
6 | ido.last | ||
7 | projectile-bookmarks.eld | ||
8 | projects | ||
9 | session.* \ No newline at end of file | ||
diff --git a/.emacs.d/jd/jd-apps.el b/.emacs.d/jd/jd-apps.el index 5064ff9..2163435 100755 --- a/.emacs.d/jd/jd-apps.el +++ b/.emacs.d/jd/jd-apps.el | |||
@@ -46,15 +46,15 @@ | |||
46 | ;; (evil-define-key 'normal dired-mode-map (kbd "q") 'kill-current-buffer) | 46 | ;; (evil-define-key 'normal dired-mode-map (kbd "q") 'kill-current-buffer) |
47 | ) | 47 | ) |
48 | 48 | ||
49 | ;; (jd/use-package emms "emacs-emms" | 49 | (jd/use-package emms "emacs-emms" |
50 | ;; :config | 50 | :config |
51 | ;; (require 'emms-setup) | 51 | (require 'emms-setup) |
52 | ;; (emms-all) | 52 | (emms-all) |
53 | ;; (emms-standard) | 53 | (emms-standard) |
54 | ;; (emms-default-players) | 54 | (emms-default-players) |
55 | ;; (emms-mode-line-disable) | 55 | (emms-mode-line-disable) |
56 | ;; (setq emms-browser-covers 'emms-browser-cache-thumbnail-async) | 56 | (setq emms-browser-covers 'emms-browser-cache-thumbnail-async) |
57 | ;; (emms-add-directory-tree "~/Documents/Music/")) | 57 | (emms-add-directory-tree "~/Documents/Music/")) |
58 | 58 | ||
59 | (jd/use-package pdf-tools "emacs-pdf-tools") | 59 | (jd/use-package pdf-tools "emacs-pdf-tools") |
60 | 60 | ||
@@ -82,6 +82,22 @@ | |||
82 | (setq mastodon-active-user "jdlugosz963" | 82 | (setq mastodon-active-user "jdlugosz963" |
83 | mastodon-instance-url "https://fosstodon.org/")) | 83 | mastodon-instance-url "https://fosstodon.org/")) |
84 | 84 | ||
85 | (jd/use-package password-store "emacs-password-store" | ||
86 | :bind | ||
87 | ("C-c P p" . password-store-copy) | ||
88 | ("C-c P i" . password-store-insert) | ||
89 | ("C-c P g" . password-store-generate)) | ||
90 | |||
91 | (jd/use-package bluetooth "emacs-bluetooth" | ||
92 | :bind | ||
93 | ("C-c B" . bluetooth-list-devices)) | ||
94 | |||
95 | (jd/use-package shell nil | ||
96 | :bind | ||
97 | ("C-c C-<return>" . shell)) | ||
98 | |||
99 | (jd/use-package nov-el "emacs-nov-el") | ||
100 | |||
85 | (provide 'jd-apps) | 101 | (provide 'jd-apps) |
86 | 102 | ||
87 | ;;; jd-apps.el ends here | 103 | ;;; jd-apps.el ends here |
diff --git a/.emacs.d/jd/jd-dev.el b/.emacs.d/jd/jd-dev.el index bd8d4ee..1e602d6 100755 --- a/.emacs.d/jd/jd-dev.el +++ b/.emacs.d/jd/jd-dev.el | |||
@@ -68,7 +68,7 @@ | |||
68 | :hook ((after-init . global-flycheck-mode))) | 68 | :hook ((after-init . global-flycheck-mode))) |
69 | 69 | ||
70 | (jd/use-package web-mode "emacs-web-mode" | 70 | (jd/use-package web-mode "emacs-web-mode" |
71 | :hook ((web-mode . jd/activate-tide-mode)) | 71 | ;; :hook ((web-mode . jd/activate-tide-mode)) |
72 | :mode | 72 | :mode |
73 | ("\\.ejs\\'" "\\.hbs\\'" "\\.html\\'" "\\.php\\'" "\\.[jt]sx?\\'") | 73 | ("\\.ejs\\'" "\\.hbs\\'" "\\.html\\'" "\\.php\\'" "\\.[jt]sx?\\'") |
74 | :config | 74 | :config |
@@ -109,9 +109,9 @@ | |||
109 | :config | 109 | :config |
110 | (global-company-mode)) | 110 | (global-company-mode)) |
111 | 111 | ||
112 | (jd/use-package company-box "emacs-company-box" | 112 | ;; (jd/use-package company-box "emacs-company-box" |
113 | :diminish t | 113 | ;; :diminish t |
114 | :hook (company-mode . company-box-mode)) | 114 | ;; :hook (company-mode . company-box-mode)) |
115 | 115 | ||
116 | (jd/use-package projectile "emacs-projectile" | 116 | (jd/use-package projectile "emacs-projectile" |
117 | :diminish projectile-mode | 117 | :diminish projectile-mode |
diff --git a/.emacs.d/jd/jd-org.el b/.emacs.d/jd/jd-org.el index fe273c3..f511846 100755 --- a/.emacs.d/jd/jd-org.el +++ b/.emacs.d/jd/jd-org.el | |||
@@ -168,22 +168,43 @@ | |||
168 | (setq org-roam-capture-templates | 168 | (setq org-roam-capture-templates |
169 | '(("a" "workstuff" plain (file (concat org-roam-directory "/work")) | 169 | '(("a" "workstuff" plain (file (concat org-roam-directory "/work")) |
170 | :target (file+head "work/%<%Y%m%d%H%M%S>-${slug}.org" | 170 | :target (file+head "work/%<%Y%m%d%H%M%S>-${slug}.org" |
171 | "#+title: ${title}\n") :unnarrowed t) | 171 | "#+title: ${title}\n") |
172 | :unnarrowed t) | ||
172 | ("b" "research" plain (file "~/Documents/roam/study/templates/research.org") | 173 | ("b" "research" plain (file "~/Documents/roam/study/templates/research.org") |
173 | :target (file+head "study/%<%Y%m%d%H%M%S>-${slug}.org" | 174 | :target (file+head "study/%<%Y%m%d%H%M%S>-${slug}.org" |
174 | "#+title: ${title}\n") :unnarrowed t) | 175 | "#+title: ${title}\n") |
175 | ("s" "School" plain nil | 176 | :unnarrowed t) |
177 | ("s" "School") | ||
178 | ("ss" "School General" plain nil | ||
176 | :target (file+head | 179 | :target (file+head |
177 | "school/%<%Y%m%d%H%M%S>-${slug}.org" | 180 | "school/%<%Y%m%d%H%M%S>-${slug}.org" |
178 | "#+title: ${title}\n") | 181 | "#+title: ${title}\n") |
179 | :unnarrowed t) | 182 | :unnarrowed t) |
183 | ("sp" "Polish Lesson" plain nil | ||
184 | :target (file+head | ||
185 | "school/polish/%<%Y%m%d%H%M%S>-${slug}.org" | ||
186 | "#+title: ${title}\n") | ||
187 | :unnarrowed t) | ||
188 | ("sw" "Wos Lesson" plain nil | ||
189 | :target (file+head | ||
190 | "school/wos/%<%Y%m%d%H%M%S>-${slug}.org" | ||
191 | "#+title: ${title}\n") | ||
192 | :unnarrowed t) | ||
193 | ("g" "Guitar" plain nil | ||
194 | :target (file+head | ||
195 | "guitar/%<%Y%m%d%H%M%S>-${slug}.org" | ||
196 | "#+title: ${title}\n") | ||
197 | :unnarrowed t) | ||
180 | ("d" "default" plain nil | 198 | ("d" "default" plain nil |
181 | :target (file+head "%<%Y%m%d%H%M%S>-${slug}.org" | 199 | :target (file+head "%<%Y%m%d%H%M%S>-${slug}.org" |
182 | "#+title: ${title}\n") :unnarrowed t) | 200 | "#+title: ${title}\n") |
201 | :unnarrowed t) | ||
183 | )) | 202 | )) |
184 | 203 | ||
185 | (org-roam-db-autosync-mode)) | 204 | (org-roam-db-autosync-mode)) |
186 | 205 | ||
206 | (jd/use-package ox-pandoc "emacs-ox-pandoc") | ||
207 | |||
187 | (provide 'jd-org) | 208 | (provide 'jd-org) |
188 | 209 | ||
189 | ;;; jd-org.el ends here | 210 | ;;; jd-org.el ends here |