tree-mode - Perl Development Environment
Description: Perl Development Environment

Next: imenu-tree, Previous: windata, Up: Top

## 18 More commands on tree-widget

`tree-mode.el` provide more commands to tree-widget.

`n`
  `tree-mode-next-node` - Move to next node.
`p`
  `tree-mode-previous-node` - Move to previous node
`j`
  `tree-mode-next-sib` - Move to next sibling node.
`k`
  `tree-mode-previous-sib` - Move to previous sibling node.
`u`
  `tree-mode-goto-parent` - Move to parent node.
`r`
  `tree-mode-goto-root` - Move to root node
`g`
  `tree-mode-reflesh` - Reflesh parent tree. useful restore after sort or delete node
`e`
  `tree-mode-toggle-expand` - Expand or contract tree at point. With prefix argument, expand the tree.
`E`
  `tree-mode-expand-level` - Expand tree to LEVEL. With prefix argument 0 or negative, will expand all leaves of the tree.
`s`
  `tree-mode-sort-by-tag` - Sort children node by tag.
`/`
  `tree-mode-keep-match` - Keep node which tag match REGEXP
`!`
  `tree-mode-collapse-other-except` - Collapse other trees. If the tree at point is contract, expand it.
`D`
  `tree-mode-delete-tree` - Delete a tree from buffer.

The icon for push-button in tree-widget is limited 4 types: open, close, empty and leaf. tree-mode provide a method to settup icon of push-button by put an addition attribute :button-icon in tree-widget node.