# io.github.libtmux.Hooks.Hooks.all

- **Module:** io.github.libtmux.Hooks.Hooks
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/c3517519ee799428a809ce6deb1708c8be289cd1/libtmux/src/main/java/io/github/libtmux/Hooks.java#L91
- **Page:** https://libtmux.org/reference/java/io-github-libtmux-hooks-hooks-all/

```
io.github.libtmux.Hooks.Hooks.all() -> Map<String, List<String>>
```

Every hook at this scope, keyed by event, each with its commands in the order tmux runs them.

<p>tmux prints one line per entry, subscripted — {@code after-new-window[0]}. The subscript is
a position in the list rather than part of the name, so it becomes the ordering here and the
key stays the event a caller would look up.
