feat(aspen/emacs): Misc config tweaks
Change-Id: I36ac0a305f178580ea074e49627771ca0a5459de Reviewed-on: https://cl.tvl.fyi/c/depot/+/13187 Autosubmit: aspen <root@gws.fyi> Tested-by: BuildkiteCI Reviewed-by: aspen <root@gws.fyi>
This commit is contained in:
parent
9e491c9164
commit
94efd4b18b
1 changed files with 14 additions and 3 deletions
|
|
@ -319,6 +319,10 @@ Get the hell out of here, snipe!
|
||||||
"r" #'consult-recent-file))
|
"r" #'consult-recent-file))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
#+begin_src elisp :tangle yes
|
||||||
|
(setopt evil-collection-setup-minibuffer t)
|
||||||
|
#+end_src
|
||||||
|
|
||||||
** Flycheck
|
** Flycheck
|
||||||
#+begin_src elisp :tangle yes
|
#+begin_src elisp :tangle yes
|
||||||
(evil-set-command-property 'flycheck-next-error :repeat nil)
|
(evil-set-command-property 'flycheck-next-error :repeat nil)
|
||||||
|
|
@ -721,7 +725,10 @@ fireplace-esque eval binding
|
||||||
|
|
||||||
(:map org-capture-mode-map
|
(:map org-capture-mode-map
|
||||||
:n "g RET" #'org-capture-finalize
|
:n "g RET" #'org-capture-finalize
|
||||||
:n "g \\" #'org-captue-refile)))
|
:n "g \\" #'org-captue-refile)
|
||||||
|
|
||||||
|
(:map org-mode-map
|
||||||
|
[tab] #'org-cycle)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** magit
|
** magit
|
||||||
|
|
@ -1072,8 +1079,13 @@ nil
|
||||||
([tab] . corfu-next)
|
([tab] . corfu-next)
|
||||||
("S-TAB" . corfu-previous)
|
("S-TAB" . corfu-previous)
|
||||||
([backtab] . corfu-previous))
|
([backtab] . corfu-previous))
|
||||||
:init (setopt corfu-on-exact-match 'insert
|
:init (setopt corfu-auto t
|
||||||
|
corfu-auto-delay 0.1
|
||||||
|
corfu-preview-current 'insert
|
||||||
|
corfu-on-exact-match 'insert
|
||||||
corfu-preselect 'prompt
|
corfu-preselect 'prompt
|
||||||
|
corfu-cycle t
|
||||||
|
corfu-auto-prefix 2
|
||||||
completion-cycle-threshold 1
|
completion-cycle-threshold 1
|
||||||
corfu-quit-no-match t
|
corfu-quit-no-match t
|
||||||
corfu-quit-at-boundary t)
|
corfu-quit-at-boundary t)
|
||||||
|
|
@ -1385,7 +1397,6 @@ you'll change the colors used for nicks."
|
||||||
;; This adds the ERC message insert hook.
|
;; This adds the ERC message insert hook.
|
||||||
(add-hook 'erc-insert-modify-hook 'erc-insert-nick-colors)
|
(add-hook 'erc-insert-modify-hook 'erc-insert-nick-colors)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Hacks
|
* Hacks
|
||||||
Not having this breaks elisp documentation :(
|
Not having this breaks elisp documentation :(
|
||||||
#+begin_src elisp :tangle yes
|
#+begin_src elisp :tangle yes
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue