Emacs ivy-mode

  • ivy, a generic completion mechanism for Emacs
  • Counsel, a collection of Ivy-enhanced versions of common Emacs commands
  • Swiper, an Ivy-enhanced alternative to isearch

Youtube 影片

ivy-mode config

(use-package ivy
:ensure t
:diminish (ivy-mode . “”)
:bind ((“C-c C-r” . ivy-resume))
:config
(ivy-mode 1)
(setq ivy-use-virtual-buffers t)
(setq enable-recursive-minibuffers t)
(setq ivy-height 10)
(setq ivy-initial-inputs-alist nil)
(setq ivy-count-format “%d/%d “)
(setq ivy-re-builders-alist
`((t . ivy–regex-ignore-order))))

counsel mode

(use-package counsel
:ensure t
:bind ((“M-x” . counsel-M-x)
(“C-x C-f” . counsel-find-file)))

swiper-mode

(use-package swiper
:ensure t
:bind ((“C-s” . swiper)))

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *