Skip to content

Commit

Permalink
Tried Ivy.. nope, back to Helm
Browse files Browse the repository at this point in the history
  • Loading branch information
dakrone committed May 18, 2017
1 parent 6193419 commit 07fee8a
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Expand Up @@ -4,6 +4,7 @@ EOS_DIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
el-modules = eos-core.el \
eos-helm.el \
eos-ido.el \
eos-ivy.el \
eos-appearance.el \
eos-navigation.el \
eos-notify.el \
Expand Down
50 changes: 50 additions & 0 deletions eos-ivy.org
@@ -0,0 +1,50 @@
#+TITLE: EOS: Helm Module
#+AUTHOR: Lee Hinman
#+EMAIL: lee@writequit.org
#+SETUPFILE: ~/eos/setupfiles/eos.setup
#+OPTIONS: auto-id:t

#+BEGIN_SRC emacs-lisp
(provide 'eos-ivy)
#+END_SRC

* Ivy
:PROPERTIES:
:CUSTOM_ID: h:244007e8-ab30-4d1c-8636-c30732083550
:END:

I'm still experimenting with Ivy, so this might not be as full-featured as my helm setup.

#+BEGIN_SRC emacs-lisp
(use-package ivy
:ensure t
:demand t
:diminish (ivy-mode . "")
:bind
(("C-M-z" . ivy-resume)
("C-x C-r" . ivy-switch-buffer)
("C-x o" . swiper)
:init
(ivy-mode 1)
:config
(bind-key "C-s" 'swiper)
;; add ‘recentf-mode’ and bookmarks to ‘ivy-switch-buffer’.
(setq ivy-use-virtual-buffers t)
;; number of result lines to display
;; (setq ivy-height 10)
;; does not count candidates
(setq ivy-count-format "%d/%d ")
;; no regexp by default
;; (setq ivy-initial-inputs-alist nil)
;; configure regexp engine.
;; (setq ivy-re-builders-alist
;; ;; allow input not in order
;; '((t . ivy--regex-ignore-order)))

;; included out of the box with ivy
(use-package counsel-ag)
(use-package counsel-projectile
:ensure t
:init
(counsel-projectile-on)))
#+END_SRC
3 changes: 2 additions & 1 deletion eos.org
Expand Up @@ -335,8 +335,9 @@ quite sure how that would work for tangling, so for now it's hard-coded.

;; The EOS modules
(try-load 'eos-core)
;; (try-load 'eos-ido)
(try-load 'eos-helm)
;;(try-load 'eos-ido)
;; (try-load 'eos-ivy)
(try-load 'eos-appearance)
(try-load 'eos-navigation)
(try-load 'eos-notify)
Expand Down

0 comments on commit 07fee8a

Please sign in to comment.