Emacs improvements
This commit is contained in:
parent
b12f44b548
commit
d86248ea35
3 changed files with 20 additions and 10 deletions
|
@ -16,6 +16,7 @@ emacsWithPackages (
|
||||||
evil
|
evil
|
||||||
evil-collection
|
evil-collection
|
||||||
fira-code-mode
|
fira-code-mode
|
||||||
|
good-scroll
|
||||||
haskell-mode
|
haskell-mode
|
||||||
helm
|
helm
|
||||||
helm-ag
|
helm-ag
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
modus-themes-region '(bg-only no-extend))
|
modus-themes-region '(bg-only no-extend))
|
||||||
(modus-themes-load-themes)
|
(modus-themes-load-themes)
|
||||||
:config
|
:config
|
||||||
(modus-themes-load-vivendi)
|
(modus-themes-load-operandi) ;white theme
|
||||||
|
;; (modus-themes-load-vivendi) ;black theme
|
||||||
:bind ("<f5>" . modus-themes-toggle)
|
:bind ("<f5>" . modus-themes-toggle)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -29,7 +30,15 @@
|
||||||
(setq-default visual-fill-column-center-text t
|
(setq-default visual-fill-column-center-text t
|
||||||
visual-fill-column-fringes-outside-margins nil))
|
visual-fill-column-fringes-outside-margins nil))
|
||||||
|
|
||||||
(use-package minimap)
|
(use-package minimap
|
||||||
|
:custom ((minimap-window-location 'right))
|
||||||
|
:bind ("<f7>" . minimap-mode))
|
||||||
|
|
||||||
|
(use-package good-scroll
|
||||||
|
:config (good-scroll-mode 1)
|
||||||
|
:custom
|
||||||
|
:bind (([next] #'good-scroll-up-full-screen)
|
||||||
|
([prior] #'good-scroll-down-full-screen)))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -24,14 +24,14 @@
|
||||||
'((python . t)))
|
'((python . t)))
|
||||||
:hook
|
:hook
|
||||||
((org-mode . auto-fill-mode) ;refill-mode breaks org headings
|
((org-mode . auto-fill-mode) ;refill-mode breaks org headings
|
||||||
;(org-mode . org-num-mode)
|
;; (org-mode . org-num-mode)
|
||||||
(org-mode . (lambda ()
|
;; (org-mode . (lambda ()
|
||||||
(dolist (face '((org-level-1 1.5)
|
;; (dolist (face '((org-level-1 1.5)
|
||||||
(org-level-2 1.4)
|
;; (org-level-2 1.4)
|
||||||
(org-level-3 1.3)
|
;; (org-level-3 1.3)
|
||||||
(org-level-4 1.2)
|
;; (org-level-4 1.2)
|
||||||
(org-level-5 1.1)))
|
;; (org-level-5 1.1)))
|
||||||
(set-face-attribute (car face) nil :weight 'semi-bold :height (cadr face)))))
|
;; (set-face-attribute (car face) nil :weight 'semi-bold :height (cadr face)))))
|
||||||
(org-mode . prettify-symbols-mode)))
|
(org-mode . prettify-symbols-mode)))
|
||||||
|
|
||||||
(use-package org-fragtog
|
(use-package org-fragtog
|
||||||
|
|
Loading…
Add table
Reference in a new issue