replace helm for ivy
After experiencing these three packages, I liked helm, but to be honest,
I wasn't using all of its features and I was looking for a lighter and faster solution.
That's why, it's already a few years since I chose ivy and which corresponds entirely to my workflow.
Please note that my choice may vary according to your criteria 😊
This commit is contained in:
parent
f4e49241b5
commit
450c6c7691
@ -11,7 +11,7 @@
|
||||
'(ecb-options-version "2.50")
|
||||
'(package-selected-packages
|
||||
(quote
|
||||
(neotree log4j-mode yaml-mode whitespace-cleanup-mode web-mode use-package undo-tree sublime-themes sml-modeline smart-mode-line-powerline-theme shrink-path scss-mode sass-mode rainbow-mode pkgbuild-mode pip-requirements php-refactor-mode nlinum nginx-mode markdown-mode less-css-mode jedi highlight-indent-guides helm gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-gutter-fringe flycheck emmet-mode ecb dokuwiki-mode diminish crystal-mode company-php apache-mode anzu all-the-icons))))
|
||||
(neotree log4j-mode yaml-mode whitespace-cleanup-mode web-mode use-package undo-tree sublime-themes sml-modeline smart-mode-line-powerline-theme shrink-path scss-mode sass-mode rainbow-mode pkgbuild-mode pip-requirements php-refactor-mode nlinum nginx-mode markdown-mode less-css-mode jedi highlight-indent-guides gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-gutter-fringe flycheck emmet-mode ecb dokuwiki-mode diminish crystal-mode company-php apache-mode anzu all-the-icons))))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
|
2
init.el
2
init.el
@ -96,7 +96,7 @@
|
||||
(require 'init-apache)
|
||||
(require 'init-company)
|
||||
(require 'init-flycheck)
|
||||
(require 'init-helm)
|
||||
(require 'init-ivy)
|
||||
(require 'init-log4j)
|
||||
(require 'init-whitespace)
|
||||
(require 'init-emmet-mode)
|
||||
|
@ -1,34 +0,0 @@
|
||||
;;; init-helm.el --- .Emacs Configuration -*- lexical-binding: t -*-
|
||||
;;; Commentary:
|
||||
;;
|
||||
|
||||
;;; Code:
|
||||
(use-package helm
|
||||
:ensure t
|
||||
:bind (("M-x" . helm-M-x)
|
||||
("C-x b" . helm-buffers-list)
|
||||
("C-x r b" . helm-filtered-bookmarks)
|
||||
("M-y" . helm-show-kill-ring)
|
||||
("C-x C-f" . helm-find-files)
|
||||
:map helm-map
|
||||
("<tab>" . helm-execute-persistent-action)
|
||||
("C-i" . helm-execute-persistent-action)
|
||||
("C-z" . helm-select-action))
|
||||
|
||||
:config
|
||||
(setq helm-autoresize-mode t) ;; default 40%
|
||||
(setq helm-split-window-inside-p t)
|
||||
(setq helm-autoresize-max-height 50)
|
||||
(setq helm-autoresize-min-height 20)
|
||||
|
||||
;; colors
|
||||
(set-face-attribute 'helm-selection nil
|
||||
:background "gold"
|
||||
:foreground "black"))
|
||||
|
||||
(provide 'init-helm)
|
||||
|
||||
;; Local Variables:
|
||||
;; byte-compile-warnings: (not free-vars)
|
||||
;; End:
|
||||
;;; init-helm.el ends here
|
42
modules/init-ivy.el
Normal file
42
modules/init-ivy.el
Normal file
@ -0,0 +1,42 @@
|
||||
;;; init-ivy.el --- .Emacs Configuration -*- lexical-binding: t -*-
|
||||
;;; Commentary:
|
||||
;;
|
||||
|
||||
;;; Code:
|
||||
(use-package counsel
|
||||
:after ivy
|
||||
:config (counsel-mode))
|
||||
|
||||
(use-package ivy
|
||||
:defer 0.1
|
||||
:diminish
|
||||
:bind (("C-c C-r" . ivy-resume)
|
||||
("C-x B" . ivy-switch-buffer-other-window))
|
||||
:commands ivy-mode
|
||||
:custom
|
||||
(ivy-count-format "(%d/%d) ")
|
||||
(ivy-use-virtual-buffers t)
|
||||
:config (ivy-mode))
|
||||
|
||||
(use-package ivy-rich
|
||||
:after ivy
|
||||
:custom
|
||||
(ivy-virtual-abbreviate 'full
|
||||
ivy-rich-switch-buffer-align-virtual-buffer t
|
||||
ivy-rich-path-style 'abbrev)
|
||||
:commands ivy-set-display-transformer
|
||||
:config
|
||||
(ivy-set-display-transformer 'ivy-switch-buffer
|
||||
'ivy-rich-switch-buffer-transformer))
|
||||
|
||||
(use-package swiper
|
||||
:after ivy
|
||||
:bind (("C-s" . swiper)
|
||||
("C-r" . swiper)))
|
||||
|
||||
(provide 'init-ivy)
|
||||
|
||||
;; Local Variables:
|
||||
;; byte-compile-warnings: (not free-vars)
|
||||
;; End:
|
||||
;;; init-ivy.el ends here
|
Loading…
x
Reference in New Issue
Block a user