skynet/tmux/tmux.conf

33 lines
927 B
Plaintext
Raw Normal View History

2023-09-08 22:17:22 -05:00
set-option -g history-limit 100000
set-option -g status off
set-option -g focus-events on
set -ga terminal-overrides ",*256col*:Tc"
set -g mouse on
setw -g aggressive-resize on
setw -g mode-keys vi
setw -g automatic-rename on
bind m \
set -g mouse on \;\
display 'Mouse: ON'
bind M \
set -g mouse off \;\
display 'Mouse: OFF'
2024-04-05 12:24:01 -05:00
set -s copy-command '~/skynet/tmux/copy-cmd'
bind ] run "tmux set-buffer -- \"$(~/skynet/tmux/paste-cmd)\"; tmux paste-buffer"
bind-key -n MouseDown2Pane run "tmux set-buffer -- \"$(~/skynet/tmux/paste-cmd)\"; tmux paste-buffer"
2023-09-08 22:17:22 -05:00
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-selection
bind-key -T copy-mode-vi r send-keys -X rectangle-toggle
bind r source-file ~/.tmux.conf \; display "tmux config reloaded :)"
2024-05-22 11:47:13 -05:00
bind i split-window -h -c "#{pane_current_path}"
bind j split-window -v -c "#{pane_current_path}"
2023-09-08 22:17:22 -05:00
set -s escape-time 0