From 2cca6f39001fc16cf2668e198249fdfc15c0444c Mon Sep 17 00:00:00 2001 From: Mortdecai Date: Thu, 26 Mar 2026 19:07:28 -0400 Subject: [PATCH] feat: dvorak-friendly split keybindings (Ctrl-A v/s) --- README.md | 5 +++-- config/tmux.conf | 4 ++++ static/toolbar.js | 3 ++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 49bb47a..b6a2358 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,8 @@ Appears on screens < 900px. Buttons: | **^C / ^D / Clr** | Interrupt / EOF / Clear | | | **Esc / Tab / Up / Down** | Navigation | | | **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` | | **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 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 x` | Kill pane | | `Alt-1` to `Alt-5` | Jump to window | diff --git a/config/tmux.conf b/config/tmux.conf index 9177d2e..a21ccf9 100644 --- a/config/tmux.conf +++ b/config/tmux.conf @@ -49,5 +49,9 @@ set -g pane-active-border-style "fg=#D35400" set -g default-terminal "tmux-256color" 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 set -sg escape-time 10 diff --git a/static/toolbar.js b/static/toolbar.js index ed90a7f..51c1efb 100644 --- a/static/toolbar.js +++ b/static/toolbar.js @@ -38,7 +38,8 @@ ''+ '
'+ ''+ - ''+ + ''+ + ''+ ''+ ''; document.body.appendChild(bar);