tmux-tui 1.3.3 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +48 -1
- package/dist/tmuxtui.js +136 -136
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ npm install -g tmux-tui
|
|
|
45
45
|
tmuxtui
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
Keyboard shortcuts:
|
|
48
|
+
Keyboard shortcuts (all customizable via config file):
|
|
49
49
|
|
|
50
50
|
| Key | Action |
|
|
51
51
|
|-----|--------|
|
|
@@ -56,10 +56,57 @@ Keyboard shortcuts:
|
|
|
56
56
|
| `x` | Detach session |
|
|
57
57
|
| `d` | Kill session (with confirm) |
|
|
58
58
|
| `c` | Config — window management |
|
|
59
|
+
| `i` | Session details (windows & panes) |
|
|
60
|
+
| `/` | Search sessions |
|
|
61
|
+
| `s` | Toggle favorite |
|
|
62
|
+
| `f` | Filter favorites only |
|
|
63
|
+
| `R` | Refresh session list |
|
|
64
|
+
| `Tab` | Mark / unmark session |
|
|
65
|
+
| `X` | Batch detach marked sessions |
|
|
66
|
+
| `D` | Batch kill marked sessions |
|
|
67
|
+
| `h` | Help |
|
|
59
68
|
| `q` | Quit |
|
|
60
69
|
|
|
61
70
|
When creating a new session, press `Tab` to switch between the name and path fields.
|
|
62
71
|
|
|
72
|
+
### Configuration
|
|
73
|
+
|
|
74
|
+
Create `~/.config/tmuxtui/config.json` to customize behavior:
|
|
75
|
+
|
|
76
|
+
```json
|
|
77
|
+
{
|
|
78
|
+
"defaultSort": "lastAttached",
|
|
79
|
+
"confirmBeforeKill": true,
|
|
80
|
+
"autoAttachOnCreate": false,
|
|
81
|
+
"refreshInterval": 0,
|
|
82
|
+
"keybindings": {
|
|
83
|
+
"quit": "escape",
|
|
84
|
+
"new": "n",
|
|
85
|
+
"kill": "d"
|
|
86
|
+
},
|
|
87
|
+
"ui": {
|
|
88
|
+
"showPath": true,
|
|
89
|
+
"showSessionId": false,
|
|
90
|
+
"sessionNameWidth": 20
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
#### Config options
|
|
96
|
+
|
|
97
|
+
| Option | Default | Description |
|
|
98
|
+
|--------|---------|-------------|
|
|
99
|
+
| `defaultSort` | `"lastAttached"` | Sort mode: `"lastAttached"`, `"name"`, or `"created"` |
|
|
100
|
+
| `confirmBeforeKill` | `true` | Show confirmation before killing sessions |
|
|
101
|
+
| `autoAttachOnCreate` | `false` | Auto-attach after creating a new session |
|
|
102
|
+
| `refreshInterval` | `0` | Auto-refresh interval in seconds (0 = disabled) |
|
|
103
|
+
| `ui.showPath` | `true` | Show session working directory |
|
|
104
|
+
| `ui.showSessionId` | `false` | Show tmux session ID |
|
|
105
|
+
| `ui.sessionNameWidth` | `20` | Session name column width (10-60) |
|
|
106
|
+
| `keybindings.*` | see defaults | Remap any keyboard shortcut |
|
|
107
|
+
|
|
108
|
+
All keybinding names: `select-up`, `select-down`, `attach`, `new`, `rename`, `kill`, `detach`, `search`, `favorite`, `favorites-filter`, `refresh`, `help`, `quit`, `batch-mark`, `batch-detach`, `batch-kill`, `detail`, `config`.
|
|
109
|
+
|
|
63
110
|
### Config mode (window management)
|
|
64
111
|
|
|
65
112
|
Press `c` on any session to enter config mode. This lets you manage windows within the selected session.
|