This is an Ivy interface which displays a list of bookmarked directories.
Counsel package includes counsel-bookmark
, but ivy-bookmarked-directory
is different from that in the following aspects:
- It displays only directory bookmarks.
- It displays file paths rather than bookmark names.
- It cannot add/edit/delete a bookmark.
As ivy-bookmarked-directory
is based on Ivy, you can customize it.
For example, the following snippet adds an action to open a selected directory using multi-term
:
(ivy-add-actions 'ivy-bookmarked-directory
'(("m" (lambda (cand)
(let ((default-directory cand))
(multi-term))) "multi-term")))
Use ivy-bookmarked-directory
.
With a prefix prefix (C-u
), you can add a bookmark which points to the current directory (default-directory
). There is also a separate command named ivy-bookmarked-directory-add
for creating a directory bookmark.
GPL v3