more use-package

This commit is contained in:
Joe Frikker
2026-09-16 21:39:42 -04:00
parent a806ae81bc
commit c3288188bd
3 changed files with 24 additions and 13 deletions
+1
View File
@@ -1945,6 +1945,7 @@ for completion. That makes it really annoying to use; don't use yasnippet with e
(setopt completion-styles '(orderless basic)) (setopt completion-styles '(orderless basic))
(use-package marginalia (use-package marginalia
:config
(marginalia-mode)) (marginalia-mode))
(use-package corfu (use-package corfu
+1 -1
View File
@@ -510,7 +510,6 @@
org-modern org-modern
org-present org-present
org-roam org-roam
ox-slack
verb verb
visual-fill-column visual-fill-column
]; ];
@@ -527,6 +526,7 @@
programs.emacs = { programs.emacs = {
extraPackages = epkgs: with epkgs; [ extraPackages = epkgs: with epkgs; [
slack slack
ox-slack
]; ];
extraConfig = builtins.readFile ./slack.el; extraConfig = builtins.readFile ./slack.el;
}; };
+22 -12
View File
@@ -722,21 +722,31 @@ Check if a node type is available, then return the right indent rules."
(setopt consult-narrow-key "<") ;; "C-+" (setopt consult-narrow-key "<") ;; "C-+"
(setopt vertico-count 25) (use-package vertico
(vertico-mode) :custom
(vertico-count 25)
:config
(vertico-mode))
(setopt completion-styles '(orderless basic)) (setopt completion-styles '(orderless basic))
(marginalia-mode) (use-package marginalia
:config
(marginalia-mode))
(setopt corfu-cycle t) (use-package corfu
(setopt corfu-popupinfo-mode nil) :custom
(setopt corfu-quit-at-boundary nil) (corfu-cycle t)
(setopt corfu-on-exact-match 'show) (corfu-popupinfo-mode nil)
(global-corfu-mode) (corfu-quit-at-boundary nil)
(corfu-on-exact-match 'show)
:config
(global-corfu-mode))
;; (setq completion-in-region-function #'consult-completion-in-region) ;; (setq completion-in-region-function #'consult-completion-in-region)
(add-hook 'completion-at-point-functions 'cape-file) (use-package cape
:custom
(add-hook 'completion-at-point-functions 'cape-file))
(use-package org (use-package org
:bind (("C-c A" . org-agenda) :bind (("C-c A" . org-agenda)
@@ -781,7 +791,8 @@ Check if a node type is available, then return the right indent rules."
(set-face-attribute 'org-level-8 nil :font "Iosevka Aile")) (set-face-attribute 'org-level-8 nil :font "Iosevka Aile"))
(defvar-local my/org-present-face-remapping-cookies nil) (defvar-local my/org-present-face-remapping-cookies nil)
(with-eval-after-load 'org-present (use-package org-present
:config
(require 'face-remap) (require 'face-remap)
(require 'visual-fill-column) (require 'visual-fill-column)
@@ -849,8 +860,7 @@ Check if a node type is available, then return the right indent rules."
;; (org-roam-db-autosync-mode) ;; (org-roam-db-autosync-mode)
(use-package org-modern (use-package org-modern
:after org :hook org-mode)
:hook org-mode-hook)
;; (define-key org-mode-map (kbd "C-c C-r") verb-command-map) ;; (define-key org-mode-map (kbd "C-c C-r") verb-command-map)