move simple packages into init.el
This commit is contained in:
parent
957124d2c8
commit
8c7fc2ddb5
10
init.el
10
init.el
@ -304,6 +304,16 @@ If the current window occupies the whole frame, split it."
|
|||||||
;; (list '+elpaca-unload-eldoc 'elpaca--activate-package)))
|
;; (list '+elpaca-unload-eldoc 'elpaca--activate-package)))
|
||||||
;; (elpaca eldoc :build (+elpaca-eldoc-build-steps))
|
;; (elpaca eldoc :build (+elpaca-eldoc-build-steps))
|
||||||
|
|
||||||
|
(elpaca compat)
|
||||||
|
(elpaca marginalia (marginalia-mode))
|
||||||
|
(elpaca gcmh (gcmh-mode))
|
||||||
|
(elpaca page-break-lines
|
||||||
|
(add-hook 'emacs-lisp-mode-hook #'page-break-lines-mode))
|
||||||
|
(elpaca rainbow-mode
|
||||||
|
(add-hook 'prog-mode-hook #'rainbow-mode))
|
||||||
|
(elpaca powershell
|
||||||
|
(add-to-list 'auto-mode-alist '("\\.ps1\\'" . powershell-mode)))
|
||||||
|
|
||||||
(elpaca elpaca-use-package
|
(elpaca elpaca-use-package
|
||||||
(elpaca-use-package-mode)
|
(elpaca-use-package-mode)
|
||||||
(setq elpaca-use-package-by-default t))
|
(setq elpaca-use-package-by-default t))
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
;; (use-package no-littering) ;a bad start, and we need more
|
;; (use-package no-littering) ;a bad start, and we need more
|
||||||
|
|
||||||
(use-package compat)
|
|
||||||
|
|
||||||
;; diminish
|
;; diminish
|
||||||
(use-package diminish
|
(use-package diminish
|
||||||
:config (diminish 'visual-line-mode))
|
:config (diminish 'visual-line-mode))
|
||||||
@ -20,10 +18,6 @@
|
|||||||
:custom (default-input-method "japanese")
|
:custom (default-input-method "japanese")
|
||||||
:config (require 'mir-keybinds))
|
:config (require 'mir-keybinds))
|
||||||
(elpaca-wait)
|
(elpaca-wait)
|
||||||
(use-package gcmh
|
|
||||||
:diminish
|
|
||||||
:init (gcmh-mode))
|
|
||||||
|
|
||||||
(use-package eldoc-box
|
(use-package eldoc-box
|
||||||
:after eldoc
|
:after eldoc
|
||||||
:diminish (eldoc-mode eldoc-box-hover-at-point-mode)
|
:diminish (eldoc-mode eldoc-box-hover-at-point-mode)
|
||||||
@ -262,8 +256,6 @@ behaviour. Delete the frame after that command has exited"
|
|||||||
(general-define-key
|
(general-define-key
|
||||||
[remap switch-to-buffer] 'consult-buffer))
|
[remap switch-to-buffer] 'consult-buffer))
|
||||||
;; Minibuffer generic stuff
|
;; Minibuffer generic stuff
|
||||||
(use-package marginalia
|
|
||||||
:init (marginalia-mode))
|
|
||||||
(use-package orderless
|
(use-package orderless
|
||||||
:custom
|
:custom
|
||||||
(completion-styles '(orderless partial-completion basic))
|
(completion-styles '(orderless partial-completion basic))
|
||||||
@ -402,10 +394,6 @@ targets."
|
|||||||
(load-theme 'airline-ravenpower t)
|
(load-theme 'airline-ravenpower t)
|
||||||
:init (load-theme 'sv t))
|
:init (load-theme 'sv t))
|
||||||
|
|
||||||
(use-package page-break-lines
|
|
||||||
:diminish
|
|
||||||
:hook (emacs-lisp-mode . page-break-lines-mode))
|
|
||||||
|
|
||||||
;; parentheses settingses
|
;; parentheses settingses
|
||||||
(elpaca (paredit :depth nil)
|
(elpaca (paredit :depth nil)
|
||||||
(use-package paredit
|
(use-package paredit
|
||||||
@ -550,15 +538,6 @@ Return nil if DIR is not in a hugo project at all."
|
|||||||
:custom (rainbow-delimiters-max-face-count 2)
|
:custom (rainbow-delimiters-max-face-count 2)
|
||||||
:hook (prog-mode . rainbow-delimiters-mode))
|
:hook (prog-mode . rainbow-delimiters-mode))
|
||||||
|
|
||||||
;; Hex colors
|
|
||||||
(use-package rainbow-mode
|
|
||||||
:diminish
|
|
||||||
:hook (prog-mode . rainbow-mode))
|
|
||||||
|
|
||||||
;; Nobody loves a good language
|
|
||||||
(use-package powershell
|
|
||||||
:mode ("\\.ps1\\'" . powershell-mode))
|
|
||||||
|
|
||||||
;; c sharp; see https://www.reddit.com/r/emacs/comments/k8tnzg/help_setting_up_c_lsp_omnisharproslyn/
|
;; c sharp; see https://www.reddit.com/r/emacs/comments/k8tnzg/help_setting_up_c_lsp_omnisharproslyn/
|
||||||
;; (there is nothing here because I'm not using c sharp...)
|
;; (there is nothing here because I'm not using c sharp...)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user