mirror of
https://github.com/boxpositron/absolute-dotfiles.git
synced 2026-02-28 03:30:37 +00:00
chore(.tmux.conf): enable window renumbering for better organization and navigation
feat(.tmux.conf): add key bindings for window movement using leader key + Left/Right arrow feat(.tmux.conf): add key bindings for pane resize using hjkl keys
This commit is contained in:
@@ -4,7 +4,7 @@ set-option -sa terminal-features ',xterm-kitty:RGB'
|
||||
set-option -sg escape-time 10
|
||||
set-option -g focus-events on
|
||||
set-window-option -g mode-keys vi
|
||||
|
||||
set-option -g renumber-windows on
|
||||
# Key Bindings
|
||||
# Auto Source tmux.conf
|
||||
unbind r
|
||||
@@ -27,6 +27,10 @@ bind | split-window -h -c '#{pane_current_path}'
|
||||
unbind '"'
|
||||
bind - split-window -v -c '#{pane_current_path}'
|
||||
|
||||
# Setting up window movement with leader key + Left/Right arrow
|
||||
bind Left swap-window -t -1\; select-window -t -1
|
||||
bind Right swap-window -t +1\; select-window -t +1
|
||||
|
||||
# Setting up pane resize with hjkl
|
||||
bind -r j resize-pane -D 5
|
||||
bind -r k resize-pane -U 5
|
||||
|
||||
Reference in New Issue
Block a user