@jx0/jmux 0.1.1 → 0.1.2
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 +5 -0
- package/package.json +1 -1
- package/src/main.ts +2 -0
package/README.md
CHANGED
|
@@ -130,9 +130,14 @@ The session is created in the selected directory and the sidebar updates immedia
|
|
|
130
130
|
| Key | Action |
|
|
131
131
|
|-----|--------|
|
|
132
132
|
| `Ctrl-a c` | New window (opens in `~`) |
|
|
133
|
+
| `Ctrl-a j` | fzf window picker |
|
|
133
134
|
| `Ctrl-Right` / `Ctrl-Left` | Next / previous window |
|
|
134
135
|
| `Ctrl-Shift-Right` / `Ctrl-Shift-Left` | Reorder windows |
|
|
135
136
|
|
|
137
|
+
`Ctrl-a j` opens a full-height fzf popup on the left side of the screen with all windows in the current session. Type to fuzzy search, Enter to switch.
|
|
138
|
+
|
|
139
|
+

|
|
140
|
+
|
|
136
141
|
### Panes
|
|
137
142
|
|
|
138
143
|
| Key | Action |
|
package/package.json
CHANGED
package/src/main.ts
CHANGED
|
@@ -369,6 +369,8 @@ async function start(): Promise<void> {
|
|
|
369
369
|
|
|
370
370
|
// Re-apply our config to the running server — handles the case where
|
|
371
371
|
// we attached to an existing server that loaded ~/.tmux.conf
|
|
372
|
+
// Set JMUX_DIR in tmux's global environment so config bindings can reference it
|
|
373
|
+
await control.sendCommand(`set-environment -g JMUX_DIR ${jmuxDir}`);
|
|
372
374
|
await control.sendCommand(`source-file ${configFile}`);
|
|
373
375
|
|
|
374
376
|
// Fetch initial sessions, then resolve client name (needs sessions list)
|