diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2020-03-19 17:28:23 -0700 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2020-03-19 17:28:23 -0700 |
commit | 9f38ca1f3ec8910ec7545f6e3736accd340f7485 (patch) | |
tree | 46302102dc31d47147d5fcc94643a6fbf4f0bdc9 /emacs.d/custom/fcuny-ivy.el | |
parent | emacs: new module for hydra (diff) | |
download | emacs.d-9f38ca1f3ec8910ec7545f6e3736accd340f7485.tar.gz |
emacs: use the theme modus-operandi
It's a light theme with high contrast. It was suggested in this article https://www.manueluberti.eu/emacs/2020/03/16/modus-themes/.
Diffstat (limited to '')
-rw-r--r-- | emacs.d/custom/fcuny-ivy.el | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/emacs.d/custom/fcuny-ivy.el b/emacs.d/custom/fcuny-ivy.el new file mode 100644 index 0000000..e4c63f7 --- /dev/null +++ b/emacs.d/custom/fcuny-ivy.el @@ -0,0 +1,40 @@ +(use-package counsel + :diminish counsel-mode + :ensure t + :after ivy + :init (counsel-mode 1) + :bind + (("M-x" . counsel-M-x) + ("C-x C-f" . counsel-find-file) + ("C-x C-r" . counsel-recentf) + ("C-c f" . counsel-git) + ("C-c /" . counsel-rg) + ("C-x r l" . counsel-bookmark)) + :custom + (counsel-find-file-ignore-regexp "\\.git\\|\\.DS_Store\\|\\.localized\\'") + (counsel-find-file-at-point t)) + +(use-package ivy + :ensure t + :diminish ivy-mode + :init (ivy-mode 1) + :custom + (ivy-use-virtual-buffers t) + (ivy-count-format "(%d/%d) ") + (ivy-height 20) + (ivy-use-selectable-prompt t) + :bind (("C-x b" . ivy-switch-buffer) + ("C-s" . swiper))) + +(use-package ivy-rich + :ensure t + :after (ivy) + :config + (ivy-rich-mode 1) + :custom + (ivy-extra-directories '("../" "./")) + (ivy-virtual-abbreviate 'full) + (ivy-rich-switch-buffer-align-virtual-buffer t) + (ivy-rich-path-style 'abbrev)) + +(provide 'fcuny-ivy) |