summaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2022-04-13 09:34:12 +0200
committerMartin Polden <mpolden@mpolden.no>2022-04-13 15:55:44 +0200
commitdc83e533d298577723377febb7790748d1b7472e (patch)
treef98fc2c50049b4c941fd16a1373b7b53e6459be6 /lisp
parent2b6bedce3f86622dc9590e3ba72c943de29ae828 (diff)
counsel: Improve ivy integration
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-counsel.el12
-rw-r--r--lisp/init-imenu.el15
2 files changed, 12 insertions, 15 deletions
diff --git a/lisp/init-counsel.el b/lisp/init-counsel.el
new file mode 100644
index 0000000..dc081c8
--- /dev/null
+++ b/lisp/init-counsel.el
@@ -0,0 +1,12 @@
+;;; init-counsel.el --- improve ivy integration -*- lexical-binding:t -*-
+;;; Commentary:
+;;; Code:
+
+(use-package counsel
+ :ensure t
+ :bind (("M-x" . counsel-M-x) ;; uses amx when present
+ ("C-c i" . counsel-imenu)))
+
+(provide 'init-counsel)
+
+;;; init-counsel.el ends here
diff --git a/lisp/init-imenu.el b/lisp/init-imenu.el
deleted file mode 100644
index dcd644f..0000000
--- a/lisp/init-imenu.el
+++ /dev/null
@@ -1,15 +0,0 @@
-;;; init-imenu.el --- configure imenu -*- lexical-binding:t -*-
-;;; Commentary:
-;;; Code:
-
-(use-package imenu
- :init
- ;; make imenu automatically rescan buffers
- (setq imenu-auto-rescan t)
-
- ;; C-c i shows imenu
- :bind ("C-c i" . imenu))
-
-(provide 'init-imenu)
-
-;;; init-imenu.el ends here