Fixed duplicate 'n' binding in TMUX update docs

On branch main
 Your branch is up to date with 'origin/main'.

 Changes to be committed:
	modified:   ../CHANGELOG.md
	modified:   tmux.cheatsheet.es.md
	modified:   tmux.cheatsheet.md
	modified:   ../modules/home/terminals/tmux.nix
This commit is contained in:
Don Williams
2025-11-14 22:37:01 -05:00
parent 5c4c9f73fb
commit 9e3a38a4fe
4 changed files with 45 additions and 11 deletions

View File

@@ -12,6 +12,7 @@ A technical record of notable changes. Dates are in UTC.
- Tokyo Night theme
- More VIM motions
- No plugins!
- Updated English and Sponish tmux cheatsheets
- ZSH
- Added plugins

View File

@@ -25,7 +25,7 @@ Ejemplos rápidos (con prefijo = C-a):
- tmux habilitado; prefijo: C-a; modo de teclas: vi; baseIndex: 1; pane-base-index: 1
- baseIndex: la numeración de las ventanas comienza en 1 en lugar de 0
- pane-base-index: la numeración de los paneles dentro de una ventana comienza en 1 en lugar de 0
- La terminal anula el RGB; la terminal se establece en "kitty"; shell: zsh
- La terminal anula el RGB; la terminal se establece en "tmux-256color"; shell: zsh
- Ratón: habilitado; reloj de 12 horas; límite de historial: 5000; renumerar ventanas: activado
- Estado/UX
@@ -45,6 +45,7 @@ Navegación
- C-Tab — siguiente ventana
- C-S-Tab — ventana anterior
- M-Tab — nueva ventana
- M-h/M-j/M-k/M-l — seleccionar panel Izquierda/Abajo/Arriba/Derecha (sin prefijo)
Divisiones
@@ -55,14 +56,22 @@ Divisiones
Redimensionar
- Prefijo C-h/C-j/C-k/C-l — redimensionar panel 15 columnas/filas en la dirección
- Prefijo C-h/C-k/C-l — redimensionar panel 15 columnas/filas en la dirección
- Prefijo m — alternar zoom (redimensionar panel -Z)
Modo de copia (vi)
- En modo de copia (vi), usa:
- v — comenzar selección
- C-v — alternar selección en bloque (rectangular)
- y — copiar selección y salir del modo de copia
Ventanas
- Prefijo c — nueva ventana
- Prefijo p — ventana anterior
- Prefijo n — siguiente ventana
- Prefijo p — ventana anterior (nota: la configuración asigna 'n' dos veces; se pretendía p para anterior)
- M-1..M-9 — seleccionar ventana 1..9 (sin prefijo)
- Prefijo t — modo reloj
- Prefijo q — mostrar paneles
- Prefijo u — refrescar cliente
@@ -72,6 +81,14 @@ Sesión/Recargar
- Prefijo r — cargar archivo ~/.config/tmux/tmux.conf
- Prefijo x — matar panel (sin aviso)
Popups
- Prefijo C-y — abrir lazygit en un popup del 80% x 80% (directorio actual)
- Prefijo C-n — crear y cambiar a una nueva sesión de tmux mediante un popup interactivo
- Prefijo C-j — popup para cambiar de sesión con fzf (lista de sesiones tmux)
- Prefijo C-r — abrir el gestor de archivos yazi en un popup del 90% x 90% (directorio actual)
- Prefijo C-t — abrir una shell zsh en un popup del 75% x 75% (directorio actual)
Notas
- Los índices de paneles/ventanas comienzan en 1.

View File

@@ -25,7 +25,7 @@ Quick examples (with prefix = C-a):
- tmux enabled; prefix: C-a; key mode: vi; baseIndex: 1; pane-base-index: 1
- baseIndex: window numbering starts at 1 instead of 0
- pane-base-index: pane numbering inside a window starts at 1 instead of 0
- Terminal overrides RGB; terminal set to "kitty"; shell: zsh
- Terminal overrides RGB; terminal set to "tmux-256color"; shell: zsh
- Mouse: enabled; 12-hour clock; history-limit: 5000; renumber-windows: on
- Status/UX
@@ -45,6 +45,7 @@ Navigation
- C-Tab — next-window
- C-S-Tab — previous-window
- M-Tab — new-window
- M-h/M-j/M-k/M-l — select-pane Left/Down/Up/Right (no prefix)
Splits
@@ -55,14 +56,22 @@ Splits
Resize
- Prefix C-h/C-j/C-k/C-l — resize-pane 15 cols/rows in direction
- Prefix C-h/C-k/C-l — resize-pane 15 cols/rows in direction
- Prefix m — toggle zoom (resize-pane -Z)
Copy mode (vi)
- In copy mode (vi), use:
- v — begin selection
- C-v — toggle rectangle (block) selection
- y — copy selection and exit copy mode
Windows
- Prefix c — new-window
- Prefix nnext-window
- Prefix p — previous-window (note: config binds 'n' twice; intended p for previous)
- Prefix pprevious-window
- Prefix n - next-window
- M-1..M-9 — select window 1..9 (no prefix)
- Prefix t — clock-mode
- Prefix q — display-panes
- Prefix u — refresh-client
@@ -72,6 +81,14 @@ Session/Reload
- Prefix r — source-file ~/.config/tmux/tmux.conf
- Prefix x — kill-pane (no prompt)
Popups
- Prefix C-y — open lazygit in an 80% x 80% popup (current directory)
- Prefix C-n — create and switch to a new tmux session via popup prompt
- Prefix C-j — fuzzy session switcher popup (fzf over tmux sessions)
- Prefix C-r — open yazi file manager in a 90% x 90% popup (current directory)
- Prefix C-t — open a zsh shell in a 75% x 75% popup (current directory)
Notes
- Pane/Window indices start at 1.

View File

@@ -9,12 +9,11 @@
keyMode = "vi";
baseIndex = 1;
clock24 = false;
historyLimit = 5000;
extraConfig = ''
set-option -g status-position top
set -ga terminal-overrides ",*:RGB"
set -g default-terminal "tmux-256color"
set-option -g history-limit 5000
set -g renumber-windows on
set -g set-clipboard on
@@ -74,8 +73,8 @@
bind-key c new-window
# 'n' next window
bind-key n next-window
# 'p' next previous
bind-key n previous-window
# 'p' previous window
bind-key p previous-window
unbind r
bind r source-file ~/.config/tmux/tmux.conf