Compare commits
No commits in common. "1061c2ec49e513a134c3fc8fff733bba78c785ac" and "d2f6170b8e7da5c5a26797a9e2da97965d472d62" have entirely different histories.
1061c2ec49
...
d2f6170b8e
@ -1,12 +0,0 @@
|
|||||||
;; Configuration for built-ins that don't fit anywhere else
|
|
||||||
(use-package custom
|
|
||||||
:straight (:type built-in)
|
|
||||||
:config
|
|
||||||
(evil-collection-custom-setup))
|
|
||||||
|
|
||||||
(use-package view
|
|
||||||
:straight (:type built-in)
|
|
||||||
:config
|
|
||||||
(evil-collection-view-setup))
|
|
||||||
|
|
||||||
(provide 'init-built-ins)
|
|
@ -15,7 +15,6 @@
|
|||||||
|
|
||||||
;; Marginalia adds annotations to completion candidates
|
;; Marginalia adds annotations to completion candidates
|
||||||
(use-package marginalia
|
(use-package marginalia
|
||||||
:demand t
|
|
||||||
:config
|
:config
|
||||||
(marginalia-mode 1)
|
(marginalia-mode 1)
|
||||||
;; When using Selectrum, ensure that Selectrum is refreshed when cycling annotations.
|
;; When using Selectrum, ensure that Selectrum is refreshed when cycling annotations.
|
||||||
|
@ -4,23 +4,4 @@
|
|||||||
:config
|
:config
|
||||||
(evil-collection-dired-setup))
|
(evil-collection-dired-setup))
|
||||||
|
|
||||||
;; Add a toggleable dired sidebar
|
|
||||||
(use-package dired-sidebar
|
|
||||||
:config
|
|
||||||
(defun winum-assign-0-to-dired-sidebar ()
|
|
||||||
(when (equal major-mode 'dired-sidebar-mode) 0))
|
|
||||||
(add-to-list 'winum-assign-functions #'winum-assign-0-to-dired-sidebar)
|
|
||||||
(add-hook 'dired-sidebar-mode-hook
|
|
||||||
(lambda ()
|
|
||||||
(unless (file-remote-p default-directory)
|
|
||||||
(auto-revert-mode))))
|
|
||||||
(add-hook 'dired-sidebar-mode-hook #'hide-mode-line-mode)
|
|
||||||
:general
|
|
||||||
(leader-map "d" #'dired-sidebar-toggle-sidebar)
|
|
||||||
:custom
|
|
||||||
(dired-sidebar-theme 'nerd)
|
|
||||||
(dired-sidebar-should-follow-file t)
|
|
||||||
(dired-sidebar-pop-to-sidebar-on-toggle-open nil)
|
|
||||||
(dired-sidebar-no-delete-other-windows t))
|
|
||||||
|
|
||||||
(provide 'init-dired)
|
(provide 'init-dired)
|
||||||
|
@ -2,9 +2,7 @@
|
|||||||
|
|
||||||
;; Company-mode provides inline autocompletion
|
;; Company-mode provides inline autocompletion
|
||||||
(use-package company
|
(use-package company
|
||||||
:hook (after-init . global-company-mode)
|
:hook (after-init . global-company-mode))
|
||||||
:config
|
|
||||||
(evil-collection-company-setup))
|
|
||||||
|
|
||||||
;; Flycheck gives you error squigglies
|
;; Flycheck gives you error squigglies
|
||||||
(use-package flycheck
|
(use-package flycheck
|
||||||
@ -49,17 +47,4 @@
|
|||||||
(use-package lsp-ui
|
(use-package lsp-ui
|
||||||
:after lsp)
|
:after lsp)
|
||||||
|
|
||||||
;; Some compilation-mode conveniences
|
|
||||||
(use-package compile
|
|
||||||
:straight (:type built-in)
|
|
||||||
:commands compile
|
|
||||||
:config
|
|
||||||
(evil-collection-compile-setup))
|
|
||||||
|
|
||||||
;; Code formatting library
|
|
||||||
(use-package apheleia
|
|
||||||
:straight (apheleia :host github :repo "raxod502/apheleia")
|
|
||||||
:general
|
|
||||||
("C-c f" #'apheleia-format-buffer))
|
|
||||||
|
|
||||||
(provide 'init-ide)
|
(provide 'init-ide)
|
||||||
|
@ -13,8 +13,4 @@
|
|||||||
;; Load custom themes
|
;; Load custom themes
|
||||||
(add-to-list 'custom-theme-load-path (expand-file-name "config/themes" user-emacs-directory))
|
(add-to-list 'custom-theme-load-path (expand-file-name "config/themes" user-emacs-directory))
|
||||||
|
|
||||||
;; A small package to hide the mode line
|
|
||||||
(use-package hide-mode-line
|
|
||||||
:commands hide-mode-line-mode)
|
|
||||||
|
|
||||||
(provide 'init-ui)
|
(provide 'init-ui)
|
||||||
|
@ -42,7 +42,6 @@
|
|||||||
(require 'init-keybindings)
|
(require 'init-keybindings)
|
||||||
(require 'init-auth)
|
(require 'init-auth)
|
||||||
(require 'init-profiler)
|
(require 'init-profiler)
|
||||||
(require 'init-built-ins)
|
|
||||||
(require 'init-dashboard)
|
(require 'init-dashboard)
|
||||||
(require 'init-dotfiles)
|
(require 'init-dotfiles)
|
||||||
(require 'init-buffers)
|
(require 'init-buffers)
|
||||||
|
Loading…
Reference in New Issue
Block a user