Merge branches 'master' and 'master' of github.com:aciceri/emacs
This commit is contained in:
commit
50dfb46bfd
2 changed files with 46 additions and 19 deletions
57
init.el
57
init.el
|
@ -68,22 +68,50 @@
|
||||||
:config
|
:config
|
||||||
(load-theme 'dracula t))
|
(load-theme 'dracula t))
|
||||||
|
|
||||||
(use-package nerd-icons
|
(use-package solaire-mode
|
||||||
:after (tremacs treemacs-nerd-icons marginalia consult)
|
:hook (server-after-make-frame . (lambda () (load-theme 'dracula t))) ;; FIXME when this is closed: https://github.com/hlissner/emacs-solaire-mode/issues/46
|
||||||
:hook ((dired-mode-hook . nerd-icons-dired-mode)
|
:init
|
||||||
(marginalia-mode-hook . nerd-icons-completion-marginalia-setup)
|
(solaire-global-mode +1)
|
||||||
(ibuffer-mode . nerd-icons-completion-marginalia-se))
|
|
||||||
:config
|
:config
|
||||||
(nerd-icons-completion-mode)
|
(set-face-background 'solaire-default-face "#1c1d26"))
|
||||||
(nerd-icons-ibuffer-mode)
|
|
||||||
(nerd-icons-dired-mode)
|
(use-package nerd-icons)
|
||||||
(treemacs-load-theme "nerd-icons")
|
|
||||||
(treemacs-git-mode 'simple)
|
(use-package nerd-icons-completion
|
||||||
|
:after marginalia
|
||||||
|
:config (nerd-icons-completion-mode +1)
|
||||||
|
:hook (
|
||||||
|
(marginalia-mode . nerd-icons-completion-marginalia-setup)
|
||||||
|
(ibuffer-mode . nerd-icons-completion-marginalia-setup)))
|
||||||
|
|
||||||
|
(use-package nerd-icons-ibuffer
|
||||||
|
:hook (ibuffer-mode . nerd-icons-ibuffer-mode))
|
||||||
|
|
||||||
|
(use-package treemacs-nerd-icons
|
||||||
|
:config
|
||||||
|
(treemacs-load-theme "nerd-icons"))
|
||||||
|
|
||||||
|
(use-package nerd-icons-dired
|
||||||
|
:hook
|
||||||
|
(dired-mode . nerd-icons-dired-mode))
|
||||||
|
|
||||||
|
(use-package diredfl
|
||||||
|
:config (diredfl-global-mode))
|
||||||
|
|
||||||
|
(use-package treemacs
|
||||||
|
:config
|
||||||
|
;; FIXME when this is closed: https://github.com/hlissner/emacs-solaire-mode/issues/51
|
||||||
|
(push '(treemacs-window-background-face . solaire-default-face) solaire-mode-remap-alist)
|
||||||
|
(push '(treemacs-hl-line-face . solaire-hl-line-face) solaire-mode-remap-alist)
|
||||||
:custom
|
:custom
|
||||||
(treemacs-show-cursor nil)
|
(treemacs-show-cursor nil)
|
||||||
(treemacs-display-currenl-project-exclusively)
|
(treemacs-display-currenl-project-exclusively)
|
||||||
(treemacs-project-followlinto-home nil)
|
(treemacs-project-followlinto-home nil)
|
||||||
(treemacs-display-current-project-exclusively t))
|
(treemacs-display-current-project-exclusively t)
|
||||||
|
(treemacs-git-mode 'deferred)
|
||||||
|
:bind (("C-c w t" . treemacs-select-window)
|
||||||
|
("C-c o T" . treemacs))
|
||||||
|
)
|
||||||
|
|
||||||
(use-package meow
|
(use-package meow
|
||||||
:hook (server-after-make-frame . (lambda () (meow--prepare-face)))
|
:hook (server-after-make-frame . (lambda () (meow--prepare-face)))
|
||||||
|
@ -207,7 +235,7 @@
|
||||||
(call-interactively 'ccr/h-resize))
|
(call-interactively 'ccr/h-resize))
|
||||||
(t (push key unread-command-events))))
|
(t (push key unread-command-events))))
|
||||||
:bind (("C-c w k" . windmove-up)
|
:bind (("C-c w k" . windmove-up)
|
||||||
("C-c w l" . #'windmove-right)
|
("C-c w l" . windmove-right)
|
||||||
("C-c w j" . windmove-down)
|
("C-c w j" . windmove-down)
|
||||||
("C-c w h" . windmove-left)
|
("C-c w h" . windmove-left)
|
||||||
("M-k" . windmove-up)
|
("M-k" . windmove-up)
|
||||||
|
@ -242,8 +270,9 @@
|
||||||
("C-DEL" . vertico-directory-delete-word))))
|
("C-DEL" . vertico-directory-delete-word))))
|
||||||
|
|
||||||
(use-package marginalia
|
(use-package marginalia
|
||||||
|
:init
|
||||||
|
(marginalia-mode +1)
|
||||||
:custom
|
:custom
|
||||||
(marginalia-mode t)
|
|
||||||
(marginalia-aligh 'right))
|
(marginalia-aligh 'right))
|
||||||
|
|
||||||
(use-package consult
|
(use-package consult
|
||||||
|
@ -362,7 +391,7 @@
|
||||||
"^\\*eshell.*\\*$" eshell-mode ;eshell as a popup
|
"^\\*eshell.*\\*$" eshell-mode ;eshell as a popup
|
||||||
"^\\*shell.*\\*$" shell-mode ;shell as a popup
|
"^\\*shell.*\\*$" shell-mode ;shell as a popup
|
||||||
"^\\*term.*\\*$" term-mode ;term as a popup
|
"^\\*term.*\\*$" term-mode ;term as a popup
|
||||||
"^\\*eat.*\\*$" term-mode ;eat as a popup
|
"^\\*emacs-eat.*\\*$" term-mode ;eat as a popup
|
||||||
))
|
))
|
||||||
(popper-echo-lines 1)
|
(popper-echo-lines 1)
|
||||||
(popper-mode-line nil)
|
(popper-mode-line nil)
|
||||||
|
|
|
@ -2,12 +2,13 @@ pkgs: epkgs:
|
||||||
with epkgs; [
|
with epkgs; [
|
||||||
meow
|
meow
|
||||||
dracula-theme
|
dracula-theme
|
||||||
|
solaire-mode
|
||||||
nerd-icons
|
nerd-icons
|
||||||
nerd-icons-completion
|
nerd-icons-completion
|
||||||
nerd-icons-ibuffer
|
nerd-icons-ibuffer
|
||||||
nerd-icons-dired
|
nerd-icons-dired
|
||||||
treemacs-nerd-icons
|
treemacs-nerd-icons
|
||||||
auto-dim-other-buffers
|
eat
|
||||||
sideline
|
sideline
|
||||||
sideline-flymake
|
sideline-flymake
|
||||||
delight
|
delight
|
||||||
|
@ -17,11 +18,8 @@ with epkgs; [
|
||||||
orderless
|
orderless
|
||||||
embark
|
embark
|
||||||
embark-consult
|
embark-consult
|
||||||
vterm
|
|
||||||
magit
|
magit
|
||||||
magit-delta
|
magit-delta
|
||||||
forge
|
|
||||||
code-review
|
|
||||||
diff-hl
|
diff-hl
|
||||||
corfu
|
corfu
|
||||||
corfu-terminal
|
corfu-terminal
|
||||||
|
|
Reference in a new issue