37 lines
827 B
Bash
37 lines
827 B
Bash
set -g set-titles on
|
|
set -g mouse on
|
|
|
|
unbind C-b
|
|
set -g prefix C-f
|
|
bind C-f send-prefix
|
|
unbind C-l
|
|
unbind l
|
|
|
|
bind h select-pane -L
|
|
bind j select-pane -D
|
|
bind k select-pane -U
|
|
bind l select-pane -R
|
|
|
|
#reload config file
|
|
bind r source-file ~/.config/tmux/tmux.conf
|
|
|
|
# nvim recommendations
|
|
set -sg escape-time 10
|
|
set -g focus-events on
|
|
set -sa terminal-overrides ',xterm-256color:RGB'
|
|
set -ag terminal-overrides ",xterm-256color:RGB"
|
|
|
|
set -g base-index 1
|
|
|
|
source-file ~/.config/tmux/tokyonight_night.tmux
|
|
|
|
# plugins
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
set -g @plugin 'tmux-plugins/tmux-yank'
|
|
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
|
set -g @plugin 'tmux-plugins/tmux-continuum'
|
|
|
|
set -g @resurrect-capture-pane-contents 'on'
|
|
set -g @continnum-restore 'on'
|
|
run "~/.tmux/plugins/tpm/tpm"
|