dotfiles/tmux/tmux.conf

38 lines
951 B
Text
Raw Normal View History

2024-01-28 20:17:09 +00:00
set -g default-terminal "screen-256color"
set -ga terminal-overrides ",*256col*:Tc"
set -g terminal-overrides ",alacritty:Tc"
2024-01-21 16:50:08 +00:00
set-option -g status-position top
set -goq @powerline-color-main-1 "#61AFEF"
set -goq @powerline-color-grey-1 "#1d2026"
2024-01-13 14:19:45 +00:00
# Split panes with \ and -
bind \\ split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
# unbind \\
# unbind -
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
2024-01-21 16:50:08 +00:00
bind-key -r C-Up resize-pane -U 5
bind-key -r C-Down resize-pane -D 5
bind-key -r C-Left resize-pane -L 5
bind-key -r C-Right resize-pane -R 5
# remove delay for exiting insert mode with ESC in Neovim
set -sg escape-time 10
# tpm plugin
set -g @plugin 'tmux-plugins/tpm'
# list of tmux plugins
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'jimeh/tmux-themepack'
set -g @themepack 'powerline/block/blue'
run '~/.config/tmux/plugins/tpm/tpm'