diff options
| author | Dominik Kaiser | 2025-02-09 12:07:25 +0100 |
|---|---|---|
| committer | Dominik Kaiser | 2025-02-09 12:07:25 +0100 |
| commit | 01bc012b9845a60ee927d2ac6306b70ef7bcc6ab (patch) | |
| tree | 0099b2287a6f2161bc2cfb9ebd1f619ca3d13c19 | |
| parent | 86be881cdd4648ac567c2afb004d394b3bd15728 (diff) | |
| download | emacs-01bc012b9845a60ee927d2ac6306b70ef7bcc6ab.tar.gz emacs-01bc012b9845a60ee927d2ac6306b70ef7bcc6ab.zip | |
Add ivy and counsel
| -rw-r--r-- | README.org | 21 | ||||
| -rw-r--r-- | init.el | 14 |
2 files changed, 34 insertions, 1 deletions
@@ -18,7 +18,7 @@ (require 'use-package) (setq use-package-always-ensure t) #+end_src -* UI +* Basic UI ** Remove bars #+begin_src elisp (menu-bar-mode -1) @@ -47,3 +47,22 @@ #+begin_src elisp (load-theme 'tango-dark) #+end_src +* Completion +** Ivy +#+begin_src elisp + (use-package ivy + :bind (("C-s" . swiper) + :map ivy-minibuffer-map + ("TAB" . ivy-alt-done)) + :config + (ivy-mode 1)) +#+end_src +** Counsel +#+begin_src elisp + (use-package counsel + :bind (("M-x" . counsel-M-x) + ("C-x b" . counsel-ibuffer) + ("C-x C-f" . counsel-find-file)) + :config + (setq ivy-initial-inputs-alist nil)) ;; Don't start searches with ^ +#+end_src @@ -28,3 +28,17 @@ (set-fringe-mode 10) (load-theme 'tango-dark) + +(use-package ivy + :bind (("C-s" . swiper) + :map ivy-minibuffer-map + ("TAB" . ivy-alt-done)) + :config + (ivy-mode 1)) + +(use-package counsel + :bind (("M-x" . counsel-M-x) + ("C-x b" . counsel-ibuffer) + ("C-x C-f" . counsel-find-file)) + :config + (setq ivy-initial-inputs-alist nil)) ;; Don't start searches with ^ |
