# tmux

## Links

* [Scripting tmux](https://www.arp242.net/tmux.html)

## Current config

* [tmux.conf](https://gist.github.com/dewaka/ec7c77eb47488028e5e2b8260f0d38a3)

## Color scheme

* [gruvbox theme](https://github.com/dewaka/tmux-gruvbox) - I forked the

  repository to add Zoom indicator icon support.

## Tmux Cookboook

* Rename tmux windows to current directory - <https://stackoverflow.com/questions/28376611/how-to-automatically-rename-tmux-windows-to-the-current-directory>

  ```
  set-option -g status-interval 5
  set-option -g automatic-rename on
  set-option -g automatic-rename-format '#{b:pane_current_path}'
  ```
* Manually rename windows with - `Prefix + ,`
* To show current bindings - `Prefix + ?`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.dewaka.com/cli/tmux.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
