From 6db90eaca84291c9b6e4bba01eb25ff2a2dd4c7f Mon Sep 17 00:00:00 2001 From: Marc Date: Sun, 25 Apr 2021 12:59:05 +0200 Subject: [PATCH] moving to helm instead of ivy & co --- config.org | 38 ++++++++++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/config.org b/config.org index a545a4f..79558a5 100644 --- a/config.org +++ b/config.org @@ -560,7 +560,7 @@ Exclude some dirs from spamming recentf :ID: 55c74ba9-7761-4545-8ddd-087d6ee33e4b :END: -#+BEGIN_SRC emacs-lisp ++BEGIN_SRC emacs-lisp ; (require 'ivy) (use-package ivy :ensure t @@ -607,8 +607,33 @@ Exclude some dirs from spamming recentf (use-package ivy-hydra :ensure t) -#+END_SRC ++END_SRC +* Helm +As an alternative to ivy/counsel/swiper? +#+begin_src emacs-lisp +(use-package helm + :ensure t + :hook + (helm-mode . helm-autoresize-mode) + :bind + (("M-x" . helm-M-x) + ("C-s" . helm-occur) + ("C-x C-f" . helm-find-files) + ("C-x C-b" . helm-buffers-list) + ("C-x b" . helm-buffers-list) + ("C-x C-r" . helm-recentf) + ("C-x C-i" . helm-imenu)) + :config + (helm-mode) + :custom + (helm-split-window-inside-p t) ;; open helm buffer inside current window + (helm-move-to-line-cycle-in-source t) + (helm-echo-input-in-header-line t) + (helm-autoresize-max-height 20) + (helm-autoresize-min-height 5) + ) +#+end_src * misc #+begin_src emacs-lisp (use-package autorevert @@ -1148,9 +1173,14 @@ Manage projects and jump quickly between its files projectile-mode-line '(:eval (projectile-project-name)))) ;; requires ripgrep on system for rg functions -(use-package counsel-projectile +;(use-package counsel-projectile +; :ensure t +; :config (counsel-projectile-mode)) + +(use-package helm-projectile :ensure t - :config (counsel-projectile-mode)) + :hook + (projectile-mode . helm-projectile)) #+END_SRC ** smartparens