Install additional KBDs for bookmark.el
Generate KBDs to call `find-file` on the bookmark.
This commit is contained in:
parent
c7af26b2af
commit
74f1359924
1 changed files with 3 additions and 1 deletions
|
@ -89,7 +89,9 @@ Otherwise, open with `counsel-find-file'."
|
|||
(general-define-key
|
||||
:prefix "<SPC>"
|
||||
:states '(normal)
|
||||
(string-concat "j" (bookmark-kbd b))
|
||||
(format "J%s" (bookmark-kbd b))
|
||||
(lambda () (interactive) (find-file (bookmark-path b)))
|
||||
(format "j%s" (bookmark-kbd b))
|
||||
;; TODO: Consider `cl-labels' so `which-key' minibuffer is more
|
||||
;; helpful.
|
||||
(lambda () (interactive) (bookmark-open b)))))))
|
||||
|
|
Loading…
Reference in a new issue