summaryrefslogtreecommitdiffstats
path: root/.emacs.d/jd
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/jd')
-rwxr-xr-x.emacs.d/jd/jd-custom.el16
-rwxr-xr-x.emacs.d/jd/jd-keys.el10
-rwxr-xr-x.emacs.d/jd/jd-org.el2
-rwxr-xr-x.emacs.d/jd/jd-ui.el15
4 files changed, 39 insertions, 4 deletions
diff --git a/.emacs.d/jd/jd-custom.el b/.emacs.d/jd/jd-custom.el
index f48f761..8383e41 100755
--- a/.emacs.d/jd/jd-custom.el
+++ b/.emacs.d/jd/jd-custom.el
@@ -39,6 +39,22 @@
39 (erc :server "195.74.91.18" 39 (erc :server "195.74.91.18"
40 :port "6697")) 40 :port "6697"))
41 41
42
43;; Repair load paths when tramp try to connect to guix instances
44(require 'tramp)
45
46(connection-local-set-profile-variables
47 'guix-system
48 '((tramp-remote-path . (tramp-own-remote-path))))
49
50(connection-local-set-profiles
51 '(:application tramp :protocol "sudo" :machine "localhost")
52 'guix-system)
53
54(connection-local-set-profiles
55 '(:application tramp :protocol "ssh" :machine "jdlugosz.com")
56 'guix-system)
57
42(provide 'jd-custom) 58(provide 'jd-custom)
43 59
44;;; jd-custom.el ends here 60;;; jd-custom.el ends here
diff --git a/.emacs.d/jd/jd-keys.el b/.emacs.d/jd/jd-keys.el
index 7c0d6b2..26a6445 100755
--- a/.emacs.d/jd/jd-keys.el
+++ b/.emacs.d/jd/jd-keys.el
@@ -16,6 +16,16 @@
16;; (evil-set-initial-state 'exwm-mode 'emacs) 16;; (evil-set-initial-state 'exwm-mode 'emacs)
17;; (evil-mode 1)) 17;; (evil-mode 1))
18 18
19(jd/use-package multiple-cursors "emacs-multiple-cursors"
20 :config
21 (global-set-key (kbd "C-S-c C-S-c") 'mc/edit-lines)
22 (global-set-key (kbd "C->") 'mc/mark-next-like-this)
23 (global-set-key (kbd "C-<") 'mc/mark-previous-like-this)
24 (global-set-key (kbd "C-c C-<") 'mc/mark-all-like-this))
25
26(jd/use-package shackle "emacs-shackle")
27(jd/use-package sway "emacs-sway")
28
19(jd/use-package general "emacs-general" 29(jd/use-package general "emacs-general"
20 :config 30 :config
21 (general-create-definer jd/leader-key-def 31 (general-create-definer jd/leader-key-def
diff --git a/.emacs.d/jd/jd-org.el b/.emacs.d/jd/jd-org.el
index f511846..a9565f3 100755
--- a/.emacs.d/jd/jd-org.el
+++ b/.emacs.d/jd/jd-org.el
@@ -16,6 +16,8 @@
16 (let ((d (or date "+0d"))) 16 (let ((d (or date "+0d")))
17 (org-insert-time-stamp (org-read-date nil t d)))) 17 (org-insert-time-stamp (org-read-date nil t d))))
18 18
19(jd/use-package org-pomodoro "emacs-org-pomodoro")
20
19(jd/use-package org "emacs-org" 21(jd/use-package org "emacs-org"
20 :pin org 22 :pin org
21 :commands (org-capture org-agenda) 23 :commands (org-capture org-agenda)
diff --git a/.emacs.d/jd/jd-ui.el b/.emacs.d/jd/jd-ui.el
index f75711b..f3a39bc 100755
--- a/.emacs.d/jd/jd-ui.el
+++ b/.emacs.d/jd/jd-ui.el
@@ -11,11 +11,13 @@
11(menu-bar-mode -1) 11(menu-bar-mode -1)
12(set-fringe-mode 10) 12(set-fringe-mode 10)
13 13
14(jd/add-package-to-manifest "font-terminus") 14(set-frame-parameter (selected-frame) 'alpha '(92 . 92))
15 15(add-to-list 'default-frame-alist '(alpha . (92 . 92)))
16 16
17(custom-set-faces 17(custom-set-faces
18 '(default ((t (:inherit nil :height 100 :family "Terminus"))))) 18 '(default ((t (:inherit nil :height 125 :family "Terminus"))))
19 '(line-number ((t (:inherit nil :height 125 :family "Terminus"))))
20 '(line-number-current-line ((t (:inherit nil :height 125 :family "Terminus")))))
19 21
20(add-hook 'prog-mode-hook 'menu-bar--display-line-numbers-mode-relative) 22(add-hook 'prog-mode-hook 'menu-bar--display-line-numbers-mode-relative)
21 23
@@ -27,9 +29,14 @@
27 29
28(require 'diminish) 30(require 'diminish)
29 31
32(jd/use-package doom-modeline "emacs-doom-modeline"
33 :config
34 (doom-modeline-mode))
35
30(jd/use-package solarized-theme "emacs-solarized-theme" 36(jd/use-package solarized-theme "emacs-solarized-theme"
31 :config 37 :config
32 (load-theme 'solarized-selenized-black t)) 38 (load-theme 'solarized-dark-high-contrast t))
39
33 40
34(jd/use-package diminish "emacs-diminish") 41(jd/use-package diminish "emacs-diminish")
35 42