Improved switch-to-buffer-other-window for ivy
This commit is contained in:
parent
35a1038ee9
commit
faa4367636
3 changed files with 15 additions and 2 deletions
|
@ -76,7 +76,9 @@ immediately runs it on the current candidate (ending the ivy session)."
|
|||
:hook (ivy-mode . ivy-rich-mode)
|
||||
:config
|
||||
;; Show more buffer information in other switch-buffer commands too
|
||||
(dolist (cmd '(+ivy/switch-workspace-buffer
|
||||
(dolist (cmd '(ivy-switch-buffer-other-window
|
||||
+ivy/switch-workspace-buffer
|
||||
+ivy/switch-workspace-buffer-other-window
|
||||
counsel-projectile-switch-to-buffer))
|
||||
(ivy-set-display-transformer cmd 'ivy-rich--ivy-switch-buffer-transformer))
|
||||
;; Use `+ivy-rich-buffer-name' to display buffer names
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue