Function: treemacs-next-neighbour

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

Signature

(treemacs-next-neighbour)

Documentation

Select next 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-next-neighbour ()
  "Select next node at the same depth as currently selected node, if possible."
  (interactive)
  (or (-some-> (treemacs-current-button)
               (treemacs--next-neighbour-of)
               (goto-char))
      (treemacs-pulse-on-failure)))