mirror of
https://github.com/softinio/nix-config.git
synced 2025-10-18 11:06:41 -07:00
update tmux keybindings
This commit is contained in:
parent
5a5a5631d7
commit
9f4e818c6a
2 changed files with 28 additions and 28 deletions
|
@ -23,31 +23,31 @@ All commands below require pressing the prefix first, unless otherwise noted.
|
|||
| `'` | Split pane horizontally (side by side) |
|
||||
| `-` | Split pane vertically (top/bottom) |
|
||||
|
||||
### Navigating Panes
|
||||
### Navigating Panes (Dvorak-optimized)
|
||||
|
||||
| Key | Action |
|
||||
|-----|--------|
|
||||
| `h` | Move to left pane |
|
||||
| `j` | Move to down pane |
|
||||
| `k` | Move to up pane |
|
||||
| `l` | Move to right pane |
|
||||
| `Ctrl-j` | Cycle to next pane |
|
||||
| `d` | Move to left pane |
|
||||
| `h` | Move to down pane |
|
||||
| `t` | Move to up pane |
|
||||
| `n` | Move to right pane |
|
||||
| `Ctrl-h` | Cycle to next pane |
|
||||
|
||||
### Resizing Panes
|
||||
|
||||
| Key | Action |
|
||||
|-----|--------|
|
||||
| `H` | Resize pane left (10 units) |
|
||||
| `J` | Resize pane down (10 units) |
|
||||
| `K` | Resize pane up (10 units) |
|
||||
| `L` | Resize pane right (10 units) |
|
||||
| `Ctrl-Left` | Resize pane left (10 units) |
|
||||
| `Ctrl-Down` | Resize pane down (10 units) |
|
||||
| `Ctrl-Up` | Resize pane up (10 units) |
|
||||
| `Ctrl-Right` | Resize pane right (10 units) |
|
||||
|
||||
## Window Management
|
||||
|
||||
| Key | Action |
|
||||
|-----|--------|
|
||||
| `Ctrl-h` | Previous window |
|
||||
| `Ctrl-l` | Next window |
|
||||
| `Ctrl-d` | Previous window |
|
||||
| `Ctrl-n` | Next window |
|
||||
|
||||
## Session Management (TMS Integration)
|
||||
|
||||
|
|
|
@ -37,25 +37,25 @@ let
|
|||
unbind '"'
|
||||
bind - split-window -v
|
||||
|
||||
# Switch panes with hjkl
|
||||
bind h select-pane -L
|
||||
bind j select-pane -D
|
||||
bind k select-pane -U
|
||||
bind l select-pane -R
|
||||
# Switch panes with Dvorak-friendly keys (dhtn)
|
||||
bind d select-pane -L
|
||||
bind h select-pane -D
|
||||
bind t select-pane -U
|
||||
bind n select-pane -R
|
||||
|
||||
# Quick window selection
|
||||
bind -r C-h select-window -t :-
|
||||
bind -r C-l select-window -t :+
|
||||
# Quick window selection (Dvorak-friendly)
|
||||
bind -r C-d select-window -t :-
|
||||
bind -r C-n select-window -t :+
|
||||
|
||||
# resize panes
|
||||
bind -r H resize-pane -L 10
|
||||
bind -r J resize-pane -D 10
|
||||
bind -r K resize-pane -U 10
|
||||
bind -r L resize-pane -R 10
|
||||
# resize panes (Ctrl + Dvorak navigation to avoid conflicts with neovim)
|
||||
bind -r C-Left resize-pane -L 10
|
||||
bind -r C-Down resize-pane -D 10
|
||||
bind -r C-Up resize-pane -U 10
|
||||
bind -r C-Right resize-pane -R 10
|
||||
|
||||
# Quickly switch panes
|
||||
unbind ^J
|
||||
bind ^J select-pane -t :.+
|
||||
# Quickly switch panes (using Dvorak 'h' for down)
|
||||
unbind ^H
|
||||
bind ^H select-pane -t :.+
|
||||
|
||||
############################
|
||||
## Status Bar
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue