diff options
author | Ryan Kavanagh <rak@rak.ac> | 2023-02-03 11:26:43 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2023-02-03 11:26:43 -0500 |
commit | 50dac41847d3570f7c27073cd11c0e704b761627 (patch) | |
tree | e0e576f65c895664c2f41a29d82f922364512132 | |
parent | [emacs] avy config (diff) |
[emacs] switch to ivy/counsel
-rw-r--r-- | dot_emacs.tmpl | 42 |
1 files changed, 24 insertions, 18 deletions
diff --git a/dot_emacs.tmpl b/dot_emacs.tmpl index aaa0c56..2999235 100644 --- a/dot_emacs.tmpl +++ b/dot_emacs.tmpl @@ -223,14 +223,13 @@ Extended Format date in the date field and return it as a string obeing (seq-do (lambda (pair) (add-to-list 'bibtex-autokey-titleword-change-strings pair)) charMap)))) (use-package bibtex-completion - :ensure helm-bibtex + :ensure ivy-bibtex :custom (bibtex-completion-bibliography "~/Documents/papers/library.bib") (bibtex-completion-library-path '("~/Documents/papers/pdfs/")) (bibtex-completion-notes-path "~/Documents/papers/notes/") (bibtex-completion-notes-extension ".org") - (bibtex-completion-pdf-extension '(".pdf" ".djvu" ".txt")) - :bind (("C-c b" . helm-bibtex))) + (bibtex-completion-pdf-extension '(".pdf" ".djvu" ".txt"))) (use-package cc-mode :custom @@ -275,6 +274,13 @@ Extended Format date in the date field and return it as a string obeing (setq-local company-backends '(company-org-block)) (company-mode +1))))) +(use-package counsel + :ensure t + :bind (("C-x C-b" . counsel-ibuffer) + ("C-x C-f" . counsel-find-file) + ("M-x" . counsel-M-x) + ("M-y" . counsel-yank-pop))) + (use-package cus-edit :custom (custom-file null-device "Don't store customizations")) @@ -378,19 +384,6 @@ Extended Format date in the date field and return it as a string obeing :hook ((haskell-mode . turn-on-haskell-doc-mode) (haskell-mode . turn-on-haskell-indentation))) -(use-package helm - :ensure t - :bind (("M-x" . helm-M-x) - ("C-x C-f" . helm-find-files) - ("C-x C-b" . helm-mini) - :map helm-map - ("<tab>" . helm-select-action)) - :config - (helm-mode 1)) - -(use-package helm-org - :ensure t) - (use-package info-look :ensure t) @@ -400,6 +393,19 @@ Extended Format date in the date field and return it as a string obeing :custom (ispell-dictionary "en_CA-w_accents")) +(use-package ivy + :ensure t + :diminish + :custom + (ivy-use-virtual-buffers t) + (ivy-count-format "(%d/%d) ") + :config + (ivy-mode 1)) + +(use-package ivy-bibtex + :ensure t + :bind (("C-c b" . ivy-bibtex))) + (use-package latex :ensure auctex :after info-look @@ -577,7 +583,7 @@ Otherwise split the current paragraph into one sentence per line." (use-package org-ref :ensure t - :after helm-bibtex) + :after ivy-bibtex) (use-package org-ref-arxiv :ensure org-ref @@ -681,7 +687,7 @@ Returns a formatted BibTeX entry." :ensure org-ref :after org-ref-bibtex :after reftex-cite - :after helm-bibtex + :after ivy-bibtex :bind (:map bibtex-mode-map ("C-c C-c" . org-ref-clean-bibtex-entry) ("C-c e" . my/set-source-ev) |