added tmux config

This commit is contained in:
Nicholai 2025-11-04 01:16:03 -07:00
parent 3156374ee4
commit 6f0e998f6b
2 changed files with 38 additions and 0 deletions

34
.tmux.conf Normal file
View File

@ -0,0 +1,34 @@
set -g default-terminal "tmux-256color"
set-option -g status-position top
#keybinds
unbind r
bind r source-file ~/.tmux.conf \; display "reloaded-config"
unbind C-b
set -g prefix C-w
#preferences
set -g mouse on
set-option -g status-position top
set -g base-index 1
set -g pane-base-index 1
set -g repeat-time 1000
set -g history-limit 10000
#window status
set -g window-status-format " #I "
set -g window-status-current-format " #I "
set -g window-status-bell-style "bg=red,nobold"
set -g window-status-current-style \
"#{?window_zoomed_flag,bg=yellow,bg=magenta,nobold}"
#pane separators
set -g pane-border-lines simple
# vim keybinds for navigation
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
#plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
#catpuccin theme
run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux
run '~/.tmux/plugins/tpm/tpm'

4
setup.sh Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
# setup.sh
ln -sf ~/.config/nvim/.tmux.conf ~/.tmux.conf