From e5f6ee5ef4d6532dd4cb0dcd2b3666ed5525adcf Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Fri, 28 May 2021 16:11:25 +0200 Subject: [PATCH] Re-arrange packages --- bundle/bundle--package.el | 49 +++++++++++++++++++++++---------------- 1 file changed, 29 insertions(+), 20 deletions(-) diff --git a/bundle/bundle--package.el b/bundle/bundle--package.el index 415be6dc..5c3e7e8d 100644 --- a/bundle/bundle--package.el +++ b/bundle/bundle--package.el @@ -20,11 +20,38 @@ :init (global-company-mode)) +(use-package counsel + :bind (("C-M-j" . 'counsel-switch-buffer) + :map minibuffer-local-map + ("C-r" . 'counsel-minibuffer-history)) + :custom + (counsel-linux-app-format-function #'counsel-linux-app-format-function-name-only) + :config + (counsel-mode 1)) + +(use-package all-the-icons + :if (display-graphic-p) + :commands all-the-icons-install-fonts + :init + (unless (find-font (font-spec :name "all-the-icons")) + (all-the-icons-install-fonts t))) + +(use-package all-the-icons-dired + :if (display-graphic-p) + :hook (dired-mode . all-the-icons-dired-mode)) + +(use-package all-the-icons-ivy-rich + :init (all-the-icons-ivy-rich-mode 1)) + (use-package ivy :bind (("C-s" . swiper)) :init (ivy-mode 1)) +(use-package ivy-rich + :after ivy + :init (ivy-rich-mode 1)) + (use-package olivetti :custom (olivetti-body-width 85)) @@ -179,30 +206,11 @@ ([remap describe-variable] . counsel-describe-variable) ([remap describe-key] . helpful-key)) -(use-package counsel - :bind (("C-M-j" . 'counsel-switch-buffer) - :map minibuffer-local-map - ("C-r" . 'counsel-minibuffer-history)) - :custom - (counsel-linux-app-format-function #'counsel-linux-app-format-function-name-only) - :config - (counsel-mode 1)) (use-package ox-reveal) (use-package powershell) -(use-package all-the-icons - :if (display-graphic-p) - :commands all-the-icons-install-fonts - :init - (unless (find-font (font-spec :name "all-the-icons")) - (all-the-icons-install-fonts t))) - -(use-package all-the-icons-dired - :if (display-graphic-p) - :hook (dired-mode . all-the-icons-dired-mode)) - (use-package geiser :config (setq geiser-active-implementations '(racket))) @@ -223,7 +231,8 @@ (use-package flyspell :config (add-hook 'text-mode-hook #'flyspell-mode) - (add-hook 'prog-mode-hook #'flyspell-prog-mode)) + ;;(add-hook 'prog-mode-hook #'flyspell-prog-mode) + ) (use-package org-tree-slide :custom