initial commit
This commit is contained in:
Submodule
+1
Submodule plugins/tmux-gruvbox added at aeb30c7172
Submodule
+1
Submodule plugins/tmux-sensible added at 25cb91f42d
Submodule
+1
Submodule plugins/tpm added at 99469c4a9b
@@ -0,0 +1,51 @@
|
||||
set -g mouse on
|
||||
set -g base-index 1
|
||||
set -g pane-base-index 1
|
||||
set-option -g status-position top
|
||||
set -g allow-passthrough on
|
||||
|
||||
# Right side: disable (remove everything)
|
||||
set -g status-right ""
|
||||
|
||||
# Window list style
|
||||
set -g status-style "bg=#3c3836"
|
||||
set -g window-status-style "bg=#3c3836"
|
||||
set -g window-status-current-style "bg=#3c3836,bold"
|
||||
|
||||
bind c new-window -c "#{pane_current_path}"
|
||||
bind % split-window -h -c "#{pane_current_path}"
|
||||
bind '"' split-window -v -c "#{pane_current_path}"
|
||||
|
||||
# Alt-key bindings (no prefix) — mirror alacritty Ctrl-key mappings
|
||||
bind -n M-t new-window -c "#{pane_current_path}"
|
||||
bind -n M-d kill-pane
|
||||
bind -n M-, command-prompt -I "#W" "rename-window '%%'"
|
||||
bind -n M-1 select-window -t :1
|
||||
bind -n M-2 select-window -t :2
|
||||
bind -n M-3 select-window -t :3
|
||||
bind -n M-4 select-window -t :4
|
||||
bind -n M-5 select-window -t :5
|
||||
bind -n M-6 select-window -t :6
|
||||
bind -n M-7 select-window -t :7
|
||||
bind -n M-8 select-window -t :8
|
||||
bind -n M-9 select-window -t :9
|
||||
|
||||
# Splits
|
||||
bind -n M-= split-window -v -c "#{pane_current_path}"
|
||||
bind -n M-'\' split-window -h -c "#{pane_current_path}"
|
||||
|
||||
# Pane navigation
|
||||
bind -n M-h select-pane -L
|
||||
bind -n M-j select-pane -D
|
||||
bind -n M-k select-pane -U
|
||||
bind -n M-l select-pane -R
|
||||
bind -n M-Left select-pane -L
|
||||
bind -n M-Down select-pane -D
|
||||
bind -n M-Up select-pane -U
|
||||
bind -n M-Right select-pane -R
|
||||
|
||||
# Pane resize
|
||||
bind -n M-S-Left resize-pane -L 5
|
||||
bind -n M-S-Down resize-pane -D 3
|
||||
bind -n M-S-Up resize-pane -U 3
|
||||
bind -n M-S-Right resize-pane -R 5
|
||||
Reference in New Issue
Block a user