# LibTmux.Settings

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Elixir
- **Kind:** module
- **Source:** https://github.com/libtmux/libtmux-elixir/blob/5bacf40788b43a5af27bb3656e727a921ba2db40/lib/libtmux/settings.ex#L1
- **Page:** https://libtmux.org/en/elixir/pr-173/reference/libtmux-settings/

Lists and looks up built-in tmux options and hooks by release.

The catalogues come from the pinned upstream option tables returned by
`sources/0`. Omit the release to use the newest table. Lists and lookups
perform no I/O. To describe a connected daemon, choose its reported release.

## Members

### Common operations

- [`fetch_hook/2`](/en/elixir/pr-173/reference/libtmux-settings-fetch_hook-2/) (function): Looks up a built-in hook by exact name.
- [`fetch_option/2`](/en/elixir/pr-173/reference/libtmux-settings-fetch_option-2/) (function): Looks up a built-in option by exact name or an upstream alias.

### Other members

- [`hook/0`](/en/elixir/pr-173/reference/libtmux-settings-hook-0/) (typealias): A hook name and the scopes where its command array can be set.
- [`hooks/1`](/en/elixir/pr-173/reference/libtmux-settings-hooks-1/) (function): Lists built-in hooks in name order.
- [`option/0`](/en/elixir/pr-173/reference/libtmux-settings-option-0/) (typealias): A canonical option name, its scopes, and its value shape.
- [`options/1`](/en/elixir/pr-173/reference/libtmux-settings-options-1/) (function): Lists built-in options in canonical name order.
- [`scope/0`](/en/elixir/pr-173/reference/libtmux-settings-scope-0/) (typealias): A tmux option or hook scope.
- [`source/0`](/en/elixir/pr-173/reference/libtmux-settings-source-0/) (typealias): The upstream revision and SHA-256 of its option table.
- [`sources/0`](/en/elixir/pr-173/reference/libtmux-settings-sources-0/) (function): Returns the pinned sources in release order.
- [`value_type/0`](/en/elixir/pr-173/reference/libtmux-settings-value_type-0/) (typealias): A built-in option's value category.
