diff options
author | jdlugosz963 <jdlugosz963@gmail.com> | 2024-09-20 14:16:56 +0200 |
---|---|---|
committer | jdlugosz963 <jdlugosz963@gmail.com> | 2024-09-20 14:16:56 +0200 |
commit | 45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a (patch) | |
tree | b564c1c43920def6641cd482a7b4dca453dbc043 /files/.emacs.d/jd/jd-apps.el | |
parent | 07dd8e37eb767c3dd6abf63e5e4a720cd778da15 (diff) | |
download | dotfiles-45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a.tar.gz dotfiles-45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a.zip |
Change dotfiles structure, and add guix-channels declaration.
Diffstat (limited to 'files/.emacs.d/jd/jd-apps.el')
-rwxr-xr-x | files/.emacs.d/jd/jd-apps.el | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/files/.emacs.d/jd/jd-apps.el b/files/.emacs.d/jd/jd-apps.el new file mode 100755 index 0000000..f06430b --- /dev/null +++ b/files/.emacs.d/jd/jd-apps.el | |||
@@ -0,0 +1,49 @@ | |||
1 | ;;; Dotfiles --- Jakub Dlugosz emacs config | ||
2 | ;;; Commentary: | ||
3 | |||
4 | ;;; Code: | ||
5 | |||
6 | (use-package vterm | ||
7 | :guix-package "emacs-vterm" | ||
8 | :init | ||
9 | (add-to-list 'project-switch-commands '(project-vterm "Vterm") t) | ||
10 | (add-to-list 'project-kill-buffer-conditions | ||
11 | '(major-mode . vterm-mode)) | ||
12 | (setq vterm-copy-exclude-prompt t) | ||
13 | :config | ||
14 | (setq vterm-buffer-name "vterm") | ||
15 | ;; (evil-set-initial-state 'vterm-mode 'emacs) | ||
16 | (setq vterm-tramp-shells | ||
17 | (append '(("ssh" "/bin/bash")) vterm-tramp-shells)) | ||
18 | |||
19 | ) | ||
20 | |||
21 | (use-package all-the-icons-dired | ||
22 | :guix-package "emacs-all-the-icons-dired" | ||
23 | :hook (dired-mode . all-the-icons-dired-mode)) | ||
24 | |||
25 | (use-package dired | ||
26 | :ensure nil | ||
27 | :commands (dired dired-jump) | ||
28 | :custom ((dired-listing-switches "-agho --group-directories-first")) | ||
29 | :config | ||
30 | (setq dired-kill-when-opening-new-dired-buffer t)) | ||
31 | |||
32 | (use-package pdf-tools | ||
33 | :guix-package | ||
34 | "emacs-pdf-tools") | ||
35 | |||
36 | (use-package password-store | ||
37 | :guix-package "emacs-password-store" | ||
38 | :bind | ||
39 | ("C-c P p" . password-store-copy) | ||
40 | ("C-c P i" . password-store-insert) | ||
41 | ("C-c P g" . password-store-generate)) | ||
42 | |||
43 | (use-package shell | ||
44 | :bind | ||
45 | ("C-c C-<return>" . shell)) | ||
46 | |||
47 | (provide 'jd-apps) | ||
48 | |||
49 | ;;; jd-apps.el ends here | ||