nixos-config/tmux/tmux.conf

41 lines
974 B
Text
Raw Normal View History

2024-10-22 11:53:19 -04:00
set -g set-titles on
2024-12-03 19:25:09 -05:00
set -g mouse off
2024-10-22 11:53:19 -04:00
unbind C-b
set -g prefix C-f
bind C-f send-prefix
2024-11-01 11:34:42 -04:00
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
2024-11-29 20:13:09 -05:00
bind u attach-session -c "#{pane_current_path}"
2024-12-12 15:54:16 -05:00
bind v split-window -c "#{pane_current_path}" -h
bind s split-window -c "#{pane_current_path}" -v
2024-10-22 11:53:19 -04:00
#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
2024-11-21 15:56:39 -05:00
source-file ~/.config/tmux/tokyonight_night.tmux
2024-10-22 11:53:19 -04:00
2024-11-21 15:56:39 -05:00
# 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'
2024-10-22 11:53:19 -04:00
2024-11-21 15:56:39 -05:00
set -g @resurrect-capture-pane-contents 'on'
set -g @continnum-restore 'on'
run "~/.tmux/plugins/tpm/tpm"