Convert themes and flycheck to packages
This commit is contained in:
parent
0974c0c86f
commit
b1a6bb4290
3 changed files with 22 additions and 8 deletions
12
03hydra.el
12
03hydra.el
|
|
@ -35,7 +35,7 @@ _d_: Deft _c_: Invalidate cache
|
||||||
("C" magit-checkout)
|
("C" magit-checkout)
|
||||||
("M" magit-blame))
|
("M" magit-blame))
|
||||||
|
|
||||||
(defhydra hydra-programming-actions (:color teal :hint nil)
|
(defhydra hydra-programming-menu (:color teal :hint nil)
|
||||||
"
|
"
|
||||||
Programming actions
|
Programming actions
|
||||||
|
|
||||||
|
|
@ -60,7 +60,7 @@ _s_: swiper
|
||||||
("y" company-yasnippet)
|
("y" company-yasnippet)
|
||||||
("m" company-complete))
|
("m" company-complete))
|
||||||
|
|
||||||
(defhydra hydra-window-actions (:color teal :hint nil)
|
(defhydra hydra-window-menu (:color teal :hint nil)
|
||||||
"
|
"
|
||||||
Window actions
|
Window actions
|
||||||
|
|
||||||
|
|
@ -86,7 +86,7 @@ _v_: split vertically _<up>_: Move up
|
||||||
("p" previous-buffer)
|
("p" previous-buffer)
|
||||||
("n" next-buffer))
|
("n" next-buffer))
|
||||||
|
|
||||||
(defhydra hydra-language-context-actions (:color teal :hint nil)
|
(defhydra hydra-language-context-menu (:color teal :hint nil)
|
||||||
"
|
"
|
||||||
Context actions
|
Context actions
|
||||||
|
|
||||||
|
|
@ -99,9 +99,9 @@ _r_: reload buffer
|
||||||
("r" revert-buffer-no-confirm))
|
("r" revert-buffer-no-confirm))
|
||||||
|
|
||||||
:bind ("C-c p" . hydra-file-switcher-menu/body)
|
:bind ("C-c p" . hydra-file-switcher-menu/body)
|
||||||
("C-c c" . hydra-programming-actions/body)
|
("C-c c" . hydra-programming-menu/body)
|
||||||
("C-c w" . hydra-window-actions/body)
|
("C-c w" . hydra-window-menu/body)
|
||||||
("C-c l" . hydra-language-context-actions/body))
|
("C-c l" . hydra-language-context-menu/body))
|
||||||
|
|
||||||
(provide '03hydra)
|
(provide '03hydra)
|
||||||
;;; 03hydra.el ends here
|
;;; 03hydra.el ends here
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,13 @@
|
||||||
|
;;; 06flycheck -- summary
|
||||||
|
;;; Commentary:
|
||||||
|
;;; Code:
|
||||||
|
|
||||||
;; Use flycheck globally to check syntax and compile languages
|
;; Use flycheck globally to check syntax and compile languages
|
||||||
(use-package flycheck
|
(use-package flycheck
|
||||||
:commands flycheck-define-checker
|
:commands flycheck-define-checker
|
||||||
:ensure t
|
:ensure t
|
||||||
:defer t
|
:defer t
|
||||||
:config (global-flycheck-mode t))
|
:config (global-flycheck-mode t))
|
||||||
|
|
||||||
|
(provide '06flycheck)
|
||||||
|
;;; 06flycheck.el ends here
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
;;; themes -- summary
|
||||||
|
;;; Commentary:
|
||||||
|
;;; Code:
|
||||||
|
|
||||||
;; Use smart-mode-line
|
;; Use smart-mode-line
|
||||||
(use-package smart-mode-line
|
(use-package smart-mode-line
|
||||||
:ensure t
|
:ensure t
|
||||||
|
|
@ -33,8 +37,8 @@
|
||||||
(random 2)
|
(random 2)
|
||||||
'(base16-atelier-forest-light base16-harmonic-light))))
|
'(base16-atelier-forest-light base16-harmonic-light))))
|
||||||
(progn
|
(progn
|
||||||
(enable-theme 'base16-harmonic-light)
|
(setq base16-theme-256-color-source "base16-shell")
|
||||||
(setq base16-theme-256-color-source "base16-shell")))
|
(enable-theme 'base16-atelier-forest-light)))
|
||||||
|
|
||||||
;; Set font face
|
;; Set font face
|
||||||
;;;;;;;;;;;;;;;;;;;;;; Font configuration ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;; Font configuration ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
@ -54,3 +58,6 @@
|
||||||
(set-face-attribute 'fringe nil
|
(set-face-attribute 'fringe nil
|
||||||
:foreground (face-foreground 'default)
|
:foreground (face-foreground 'default)
|
||||||
:background (face-background 'default))
|
:background (face-background 'default))
|
||||||
|
|
||||||
|
(provide 'themes)
|
||||||
|
;;; themes.el ends here
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue