Function: treemacs-copy-project-path-at-point
treemacs-copy-project-path-at-point is an interactive and
byte-compiled function defined in treemacs-interface.el.
Signature
(treemacs-copy-project-path-at-point)
Documentation
Copy the absolute path of the current treemacs root.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-interface.el
(defun treemacs-copy-project-path-at-point ()
"Copy the absolute path of the current treemacs root."
(interactive)
(treemacs-block
(-let [project (treemacs-project-at-point)]
(treemacs-error-return-if (null project)
"There is nothing to copy here")
(treemacs-error-return-if (not (stringp (treemacs-project->path project)))
"Project at point is not a file.")
(-let [copied (-> project (treemacs-project->path))]
(kill-new copied)
(treemacs-pulse-on-success "Copied project path: %s" (propertize copied 'face 'font-lock-string-face))))))