Import an initial copy of all of my dotfiles Signed-off-by: Nicholas Mello <nick@nmello.dev>
30 lines
880 B
Bash
30 lines
880 B
Bash
set -g default-terminal "xterm-256color"
|
|
set-option -g repeat-time 0
|
|
set-option -g history-limit 50000
|
|
set-window-option -g mode-keys vi
|
|
|
|
# Clipboard
|
|
set -s set-clipboard external
|
|
|
|
# Periodically set pane names
|
|
set-option -g status-interval 5
|
|
set-option -g automatic-rename on
|
|
set-option -g automatic-rename-format '#{b:pane_current_path}'
|
|
|
|
# Keep same directory when creating new window
|
|
bind c new-window -c "#{pane_current_path}"
|
|
bind '"' split-window -c "#{pane_current_path}"
|
|
bind % split-window -h -c "#{pane_current_path}"
|
|
|
|
# Quick reload
|
|
bind R source-file ~/.tmux.conf \; display "Reloaded tmux.conf"
|
|
|
|
# tmux power
|
|
set -g @plugin 'wfxr/tmux-power'
|
|
set -g @tmux_power_theme 'coral'
|
|
|
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
run '~/.tmux/plugins/tpm/tpm'
|