Exploit new :defer input|buffer across various modules
This commit is contained in:
parent
2712d606c2
commit
a631c10d05
5 changed files with 21 additions and 24 deletions
|
@ -24,8 +24,7 @@ immediately runs it on the current candidate (ending the ivy session)."
|
|||
;;
|
||||
|
||||
(def-package! ivy
|
||||
:init
|
||||
(add-hook 'doom-init-hook #'ivy-mode)
|
||||
:defer input
|
||||
:config
|
||||
(setq ivy-height 12
|
||||
ivy-do-completion-in-region nil
|
||||
|
@ -55,15 +54,7 @@ immediately runs it on the current candidate (ending the ivy session)."
|
|||
[remap persp-switch-to-buffer] #'+ivy/switch-workspace-buffer
|
||||
[remap imenu-anywhere] #'ivy-imenu-anywhere)
|
||||
|
||||
(nconc ivy-sort-functions-alist
|
||||
'((persp-kill-buffer . nil)
|
||||
(persp-remove-buffer . nil)
|
||||
(persp-add-buffer . nil)
|
||||
(persp-switch . nil)
|
||||
(persp-window-switch . nil)
|
||||
(persp-frame-switch . nil)
|
||||
(+workspace/switch-to . nil)
|
||||
(+workspace/delete . nil))))
|
||||
(ivy-mode +1))
|
||||
|
||||
|
||||
;; Show more buffer information in switch-buffer commands
|
||||
|
@ -140,7 +131,8 @@ immediately runs it on the current candidate (ending the ivy session)."
|
|||
(def-package! ivy-hydra
|
||||
:commands (+ivy@coo/body ivy-dispatching-done-hydra)
|
||||
:init
|
||||
(map! :map ivy-minibuffer-map
|
||||
(map! :after ivy
|
||||
:map ivy-minibuffer-map
|
||||
"C-o" #'+ivy@coo/body
|
||||
"M-o" #'ivy-dispatching-done-hydra)
|
||||
:config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue