summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-12-31 22:13:00 +0100
committerRicardo Wurmus <rekado@elephly.net>2020-12-31 22:13:00 +0100
commit590de3b88d648e6b8cda3c5f1f7ee7276376ec80 (patch)
tree0dd0444eef23680f1d347a4e607dc559632e91ef
parentb026109cda20d55b1dae3adfed1a12c946ea999d (diff)
Use ivy.
-rw-r--r--guile-studio-configure.scm5
-rw-r--r--guix/rekado/guile-studio.scm1
2 files changed, 6 insertions, 0 deletions
diff --git a/guile-studio-configure.scm b/guile-studio-configure.scm
index b35b1bd..4901ce7 100644
--- a/guile-studio-configure.scm
+++ b/guile-studio-configure.scm
@@ -19,6 +19,11 @@
(menu-bar-mode 1)
(scroll-bar-mode -1)
+ (require 'ivy)
+ (ivy-mode 1)
+ ;; Enter directory when hitting RET
+ (define-key ivy-minibuffer-map (kbd "<return>") 'ivy-alt-done)
+
(require 'info)
(setq Info-directory-list
'(,(string-append prefix "/share/guile-studio/info/")
diff --git a/guix/rekado/guile-studio.scm b/guix/rekado/guile-studio.scm
index d19258a..2a9f038 100644
--- a/guix/rekado/guile-studio.scm
+++ b/guix/rekado/guile-studio.scm
@@ -51,6 +51,7 @@
("emacs" ,emacs)
("emacs-geiser" ,emacs-geiser)
("emacs-company" ,emacs-company)
+ ("emacs-ivy" ,emacs-ivy)
("emacs-flycheck" ,emacs-flycheck)
("emacs-flycheck-guile" ,emacs-flycheck-guile)
("emacs-smart-mode-line" ,emacs-smart-mode-line)