feat: dvorak-friendly split keybindings (Ctrl-A v/s)
This commit is contained in:
@@ -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 |
|
||||
|
||||
@@ -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
|
||||
|
||||
+2
-1
@@ -38,7 +38,8 @@
|
||||
'<button data-k="\\x1bOB">\u25BC</button>'+
|
||||
'<div class="sep"></div>'+
|
||||
'<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="\\x01x">Kill</button>';
|
||||
document.body.appendChild(bar);
|
||||
|
||||
Reference in New Issue
Block a user