Function: treemacs-previous-neighbour

treemacs-previous-neighbour is an interactive and byte-compiled function defined in treemacs-interface.el.

Signature

(treemacs-previous-neighbour)

Documentation

Select previous node at the same depth as currently selected node, if possible.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-interface.el
(defun treemacs-previous-neighbour ()
  "Select previous node at the same depth as currently selected node, if possible."
  (interactive)
  (or (-some-> (treemacs-current-button)
               (treemacs--prev-non-child-button)
               (goto-char))
      (treemacs-pulse-on-failure)))