Fix describe-(function|variable) and ivy-resume
describe-(function|variable) weren't remapped to their counsel variants, so ivy-resume wouldn't resume those sessions properly.
This commit is contained in:
parent
4b8315466b
commit
9e3682535a
3 changed files with 3 additions and 11 deletions
|
@ -204,12 +204,3 @@ counsel-rg)."
|
|||
(re-search-forward (ivy--regex ivy-text t) (line-end-position) t)
|
||||
(run-hooks 'counsel-grep-post-action-hook)
|
||||
(selected-window))))))
|
||||
|
||||
;;;###autoload
|
||||
(defun +ivy-quit-and-resume ()
|
||||
"Close the current popup window and resume ivy."
|
||||
(interactive)
|
||||
(when (doom-popup-p)
|
||||
(doom/popup-close))
|
||||
(ivy-resume))
|
||||
|
||||
|
|
|
@ -54,7 +54,8 @@ immediately runs it on the current candidate (ending the ivy session)."
|
|||
[remap projectile-find-file] #'counsel-projectile-find-file
|
||||
[remap imenu-anywhere] #'ivy-imenu-anywhere
|
||||
[remap execute-extended-command] #'counsel-M-x
|
||||
[remap describe-face] #'counsel-describe-face)
|
||||
[remap describe-function] #'counsel-describe-function
|
||||
[remap describe-variable] #'counsel-describe-variable)
|
||||
|
||||
;; Show more buffer information in switch-buffer commands
|
||||
(ivy-set-display-transformer #'ivy-switch-buffer #'+ivy-buffer-transformer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue