mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
(feat)org-roam-tag-add: use tags separator as crm-separator (#2282)
Allows use of : in minibuffer to separate multiple selected tags.
This commit is contained in:
@ -1066,7 +1066,8 @@ and when nil is returned the node will be filtered out."
|
||||
(defun org-roam-tag-add (tags)
|
||||
"Add TAGS to the node at point."
|
||||
(interactive
|
||||
(list (completing-read-multiple "Tag: " (org-roam-tag-completions))))
|
||||
(list (let ((crm-separator "[ ]*:[ ]*"))
|
||||
(completing-read-multiple "Tag: " (org-roam-tag-completions)))))
|
||||
(let ((node (org-roam-node-at-point 'assert)))
|
||||
(save-excursion
|
||||
(goto-char (org-roam-node-point node))
|
||||
|
Reference in New Issue
Block a user