Function: treemacs-decrease-width
treemacs-decrease-width is an interactive and byte-compiled function
defined in treemacs-interface.el.
Signature
(treemacs-decrease-width &optional ARG)
Documentation
Decrease the value for treemacs-width with treemacs-width-increment.
With a prefix ARG substract the increment value multiple times.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-interface.el
(defun treemacs-copy-absolute-path-at-point ()
"Copy the absolute path of the node at point."
(interactive)
(treemacs-block
(-let [path (treemacs--prop-at-point :path)]
(treemacs-error-return-if (null path)
"There is nothing to copy here")
(treemacs-error-return-if (not (stringp path))
"Path at point is not a file.")
(when (file-directory-p path)
(setf path (treemacs--add-trailing-slash path)))
(kill-new path)
(treemacs-pulse-on-success "Copied absolute path: %s" (propertize path 'face 'font-lock-string-face)))))