summaryrefslogtreecommitdiffstats
path: root/.emacs.d/jd/jd-apps.el
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2024-04-27 20:09:08 +0200
committerjdlugosz963 <jdlugosz963@gmail.com>2024-04-27 20:09:08 +0200
commit06e0a80f7b509fc2a565aff9ec8311caf4bf6aae (patch)
tree8edc05e4a3d05250863bbbaa3bb2228373772612 /.emacs.d/jd/jd-apps.el
parent73af89d935df5a8166114c9257f9f247f29850bf (diff)
downloaddotfiles-06e0a80f7b509fc2a565aff9ec8311caf4bf6aae.tar.gz
dotfiles-06e0a80f7b509fc2a565aff9ec8311caf4bf6aae.zip
Remove trash and change name from jd/use-package to use-package!
Diffstat (limited to '.emacs.d/jd/jd-apps.el')
-rwxr-xr-x.emacs.d/jd/jd-apps.el113
1 files changed, 26 insertions, 87 deletions
diff --git a/.emacs.d/jd/jd-apps.el b/.emacs.d/jd/jd-apps.el
index 2163435..a831d8d 100755
--- a/.emacs.d/jd/jd-apps.el
+++ b/.emacs.d/jd/jd-apps.el
@@ -3,100 +3,39 @@
3 3
4;;; Code: 4;;; Code:
5 5
6;; (defun jd/open-new-vterm (&optional jd/vterm-buffer-name) 6(use-package! vterm "emacs-vterm"
7;; (interactive) 7 :init
8;; (let ((buffer-name (generate-new-buffer-name vterm-buffer-name))) 8 (add-to-list 'project-switch-commands '(project-vterm "Vterm") t)
9;; (when jd/vterm-buffer-name 9 (add-to-list 'project-kill-buffer-conditions '(major-mode . vterm-mode))
10;; (setq buffer-name jd/vterm-buffer-name)) 10 (setq vterm-copy-exclude-prompt t)
11;; (switch-to-buffer buffer-name)
12;; (vterm-mode)))
13
14
15(jd/use-package vterm "emacs-vterm"
16 :init
17 (add-to-list 'project-switch-commands '(project-vterm "Vterm") t)
18 (add-to-list 'project-kill-buffer-conditions '(major-mode . vterm-mode))
19 (setq vterm-copy-exclude-prompt t)
20 :config
21 (setq vterm-buffer-name "vterm")
22 ;; (evil-set-initial-state 'vterm-mode 'emacs)
23 (setq vterm-tramp-shells (append '(("ssh" "/bin/bash")) vterm-tramp-shells))
24
25 (jd/leader-key-def "ot" '(jd/open-new-vterm :which-key "Open terminal in current window")))
26
27(jd/use-package all-the-icons-dired "emacs-all-the-icons-dired"
28 :hook (dired-mode . all-the-icons-dired-mode))
29
30;; (jd/use-package dired-ranger nil)
31
32(jd/use-package dired nil
33 :ensure nil
34 :commands (dired dired-jump)
35 :custom ((dired-listing-switches "-agho --group-directories-first"))
36 :config
37 ;; (evil-collection-define-key 'normal 'dired-mode-map
38 ;; "y" 'dired-ranger-copy
39 ;; "p" 'dired-ranger-paste
40 ;; "X" 'dired-ranger-move
41 ;; "h" 'dired-up-directory
42 ;; "t" 'dired-create-empty-file
43 ;; "T" 'dired-toggle-marks
44 ;; "l" 'dired-find-file)
45 (setq dired-kill-when-opening-new-dired-buffer t)
46 ;; (evil-define-key 'normal dired-mode-map (kbd "q") 'kill-current-buffer)
47 )
48
49(jd/use-package emms "emacs-emms"
50 :config 11 :config
51 (require 'emms-setup) 12 (setq vterm-buffer-name "vterm")
52 (emms-all) 13 ;; (evil-set-initial-state 'vterm-mode 'emacs)
53 (emms-standard) 14 (setq vterm-tramp-shells (append '(("ssh" "/bin/bash")) vterm-tramp-shells))
54 (emms-default-players)
55 (emms-mode-line-disable)
56 (setq emms-browser-covers 'emms-browser-cache-thumbnail-async)
57 (emms-add-directory-tree "~/Documents/Music/"))
58
59(jd/use-package pdf-tools "emacs-pdf-tools")
60
61(jd/use-package elfeed "emacs-elfeed"
62 :config
63 (setq elfeed-feeds
64 '(("https://www.reddit.com/r/emacs.rss" emacs)
65 ("https://www.reddit.com/r/gnu.rss" gnu)
66 ("https://stallman.org/rss/rss.xml" stallman)
67 ("https://news.ycombinator.com/rss" hacker-news))))
68 15
69;; (jd/use-package langtool 16 )
70;; :config
71;; (setq langtool-language-tool-jar "/home/jakub/Documents/LanguageTool-6.0/languagetool-commandline.jar")
72;; (setq langtool-default-language "pl-PL"))
73 17
74;; (jd/leader-key-def 18(use-package! all-the-icons-dired "emacs-all-the-icons-dired"
75;; "l" '(:ignore t :which-key "langtool") 19 :hook (dired-mode . all-the-icons-dired-mode))
76;; "lc" 'langtool-check-buffer
77;; "ld" 'langtool-check-done
78;; "li" 'langtool-interactive-correction)
79 20
80(jd/use-package mastodon "emacs-mastodon" 21(use-package! dired nil
81 :config 22 :ensure nil
82 (setq mastodon-active-user "jdlugosz963" 23 :commands (dired dired-jump)
83 mastodon-instance-url "https://fosstodon.org/")) 24 :custom ((dired-listing-switches "-agho --group-directories-first"))
84 25 :config
85(jd/use-package password-store "emacs-password-store" 26 (setq dired-kill-when-opening-new-dired-buffer t))
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 27
91(jd/use-package bluetooth "emacs-bluetooth" 28(use-package! pdf-tools "emacs-pdf-tools")
92 :bind
93 ("C-c B" . bluetooth-list-devices))
94 29
95(jd/use-package shell nil 30(use-package! password-store "emacs-password-store"
96 :bind 31 :bind
97 ("C-c C-<return>" . shell)) 32 ("C-c P p" . password-store-copy)
33 ("C-c P i" . password-store-insert)
34 ("C-c P g" . password-store-generate))
98 35
99(jd/use-package nov-el "emacs-nov-el") 36(use-package! shell nil
37 :bind
38 ("C-c C-<return>" . shell))
100 39
101(provide 'jd-apps) 40(provide 'jd-apps)
102 41