agileflow 4.0.0-alpha.12 → 4.0.0-alpha.13
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/package.json +1 -1
- package/src/runtime/launch/tabs.js +20 -0
package/package.json
CHANGED
|
@@ -311,6 +311,26 @@ const TAB_KEYBINDS = [
|
|
|
311
311
|
action: ["select-window", "-t", `:${n}`],
|
|
312
312
|
hint: `Alt+${n} → switch to tab ${n}`,
|
|
313
313
|
})),
|
|
314
|
+
// Browser-style cycling. Bind M-S-Tab AND M-BTab — terminals split
|
|
315
|
+
// on which escape sequence they emit for Shift+Tab, so binding both
|
|
316
|
+
// covers either path. Note: some window managers (GNOME, KDE)
|
|
317
|
+
// intercept Alt+Tab before it reaches tmux; works fine in fullscreen
|
|
318
|
+
// terminals on macOS and most tiling WMs.
|
|
319
|
+
{
|
|
320
|
+
key: "M-Tab",
|
|
321
|
+
action: ["next-window"],
|
|
322
|
+
hint: "Alt+Tab → next tab",
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
key: "M-S-Tab",
|
|
326
|
+
action: ["previous-window"],
|
|
327
|
+
hint: "Alt+Shift+Tab → previous tab",
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
key: "M-BTab",
|
|
331
|
+
action: ["previous-window"],
|
|
332
|
+
hint: "Alt+Shift+Tab → previous tab (alt encoding)",
|
|
333
|
+
},
|
|
314
334
|
];
|
|
315
335
|
|
|
316
336
|
module.exports = {
|