feat: dvorak-friendly split keybindings (Ctrl-A v/s)

This commit is contained in:
Mortdecai
2026-03-26 19:07:28 -04:00
parent 5f1beb4d4d
commit 2cca6f3900
3 changed files with 9 additions and 3 deletions
+3 -2
View File
@@ -50,7 +50,8 @@ Appears on screens < 900px. Buttons:
| **^C / ^D / Clr** | Interrupt / EOF / Clear | | | **^C / ^D / Clr** | Interrupt / EOF / Clear | |
| **Esc / Tab / Up / Down** | Navigation | | | **Esc / Tab / Up / Down** | Navigation | |
| **Sel** | Text selection mode | | | **Sel** | Text selection mode | |
| **Spl** | Split vertical | `Ctrl-A %` | | **V.Spl** | Split vertical | `Ctrl-A v` |
| **H.Spl** | Split horizontal | `Ctrl-A s` |
| **Pane** | Cycle panes | `Ctrl-A o` | | **Pane** | Cycle panes | `Ctrl-A o` |
| **Kill** | Kill pane/tab | `Ctrl-A x` | | **Kill** | Kill pane/tab | `Ctrl-A x` |
@@ -70,7 +71,7 @@ Prefix: `Ctrl-A` (not the default Ctrl-B — easier on mobile).
|-----|--------| |-----|--------|
| `Ctrl-A c` | New window | | `Ctrl-A c` | New window |
| `Ctrl-A n / p` | Next / previous | | `Ctrl-A n / p` | Next / previous |
| `Ctrl-A % / "` | Split vertical / horizontal | | `Ctrl-A v / s` | Split vertical / horizontal (Dvorak home row) |
| `Ctrl-A o` | Cycle panes | | `Ctrl-A o` | Cycle panes |
| `Ctrl-A x` | Kill pane | | `Ctrl-A x` | Kill pane |
| `Alt-1` to `Alt-5` | Jump to window | | `Alt-1` to `Alt-5` | Jump to window |
+4
View File
@@ -49,5 +49,9 @@ set -g pane-active-border-style "fg=#D35400"
set -g default-terminal "tmux-256color" set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",xterm-256color:Tc" set -ga terminal-overrides ",xterm-256color:Tc"
# Dvorak-friendly splits (s=horizontal, v=vertical)
bind s split-window -v
bind v split-window -h
# Reduce escape delay # Reduce escape delay
set -sg escape-time 10 set -sg escape-time 10
+2 -1
View File
@@ -38,7 +38,8 @@
'<button data-k="\\x1bOB">\u25BC</button>'+ '<button data-k="\\x1bOB">\u25BC</button>'+
'<div class="sep"></div>'+ '<div class="sep"></div>'+
'<button class="hi" id="selbtn" data-sel="1">Sel</button>'+ '<button class="hi" id="selbtn" data-sel="1">Sel</button>'+
'<button data-k="\\x01%">Spl</button>'+ '<button data-k="\\x01v">V.Spl</button>'+
'<button data-k="\\x01s">H.Spl</button>'+
'<button data-k="\\x01o">Pane</button>'+ '<button data-k="\\x01o">Pane</button>'+
'<button data-k="\\x01x">Kill</button>'; '<button data-k="\\x01x">Kill</button>';
document.body.appendChild(bar); document.body.appendChild(bar);