(Emacs)~minor edits and configurations

This commit is contained in:
2021-03-25 09:27:42 +00:00
parent 75eff9728d
commit 717731133f

View File

@@ -478,11 +478,13 @@ similarly to a fully fledged completion framework.
(setq-default ido-enable-flex-matching t (setq-default ido-enable-flex-matching t
ido-enable-dot-prefix t ido-enable-dot-prefix t
ido-enable-regexp nil) ido-enable-regexp nil)
(with-eval-after-load "magit"
(setq magit-completing-read-function 'magit-ido-completing-read))
:config :config
(ido-mode) (ido-mode)
(ido-everywhere)) (ido-everywhere))
#+end_src #+end_src
**** Ido-completing-read+ **** Ido ubiquitous
Ido completing-read+ is a package that extends the ido package to work Ido completing-read+ is a package that extends the ido package to work
with more text based functions. with more text based functions.
#+begin_src emacs-lisp #+begin_src emacs-lisp
@@ -564,7 +566,9 @@ selection list).
ivy-use-virtual-buffers nil ivy-use-virtual-buffers nil
ivy-virtual-abbreviate 'full ivy-virtual-abbreviate 'full
ivy-on-del-error-function #'ignore ivy-on-del-error-function #'ignore
ivy-use-selectable-prompt t)) ivy-use-selectable-prompt t)
(with-eval-after-load "amx"
(setq amx-backend 'ivy)))
#+end_src #+end_src
**** Counsel etags **** Counsel etags
:PROPERTIES: :PROPERTIES:
@@ -1573,8 +1577,7 @@ don't need to write everything myself.
:general :general
(leader "g" #'magit-status) (leader "g" #'magit-status)
:init :init
(setq magit-completing-read-function 'magit-ido-completing-read (setq vc-follow-symlinks t)
vc-follow-symlinks t)
(with-eval-after-load "autoinsert" (with-eval-after-load "autoinsert"
(define-auto-insert '("COMMIT_EDITMSG" , "Commit") (define-auto-insert '("COMMIT_EDITMSG" , "Commit")
'(nil '(nil