From 5860445da55ac3abc3935c6ffd5e9bb4539225c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Thu, 20 Jul 2023 07:53:35 -0700 Subject: emacs: move everything to ~/.emacs.d --- .emacs.local.d/modes/ivy.el | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 .emacs.local.d/modes/ivy.el (limited to '.emacs.local.d/modes/ivy.el') diff --git a/.emacs.local.d/modes/ivy.el b/.emacs.local.d/modes/ivy.el deleted file mode 100644 index fcf69ca..0000000 --- a/.emacs.local.d/modes/ivy.el +++ /dev/null @@ -1,38 +0,0 @@ -(use-package ivy - :diminish (ivy-mode . "") - :init (ivy-mode 1) ; globally at startup - - :bind (:map ivy-minibuffer-map - ("TAB" . ivy-alt-done)) - :config - (setq ivy-use-virtual-buffers t) - (setq ivy-height 20) - (setq ivy-count-format "%d/%d ") - (setq ivy-re-builders-alist - '((swiper . ivy--regex-plus) - (t . ivy--regex-fuzzy))) -) - -;; Override the basic Emacs commands -(use-package counsel - :bind* ; load when pressed - (("M-x" . counsel-M-x) - ("C-s" . swiper) - ("C-x C-f" . counsel-find-file) - ("C-x C-r" . counsel-recentf) ; search for recently edited - ("C-c g" . counsel-git) ; search for files in git repo - ("C-c /" . counsel-ag) ; Use ag for regexp - ("C-x l" . counsel-locate) - ("C-x C-f" . counsel-find-file) - (" f" . counsel-describe-function) - (" v" . counsel-describe-variable) - (" l" . counsel-find-library) - (" i" . counsel-info-lookup-symbol) - (" u" . counsel-unicode-char) - ("C-c C-r" . ivy-resume))) ; Resume last Ivy-based completion - -(use-package ivy-hydra - :defer t - :after hydra) - -(provide 'init-ivy) -- cgit v1.2.3