latest greatest
This commit is contained in:
58
tmux.conf
58
tmux.conf
@@ -1,34 +1,50 @@
|
||||
# remap prefix
|
||||
unbind C-b
|
||||
set-option -g prefix `
|
||||
bind-key ` send-prefix
|
||||
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||
set -g @plugin 'tmux-plugins/tmux-continuum'
|
||||
set -g @continuum-restore 'on'
|
||||
set -g @continuum-save-interval '1'
|
||||
|
||||
set -g prefix `
|
||||
bind ` send-prefix
|
||||
|
||||
set -g mouse on
|
||||
set -g pane-border-style fg=black
|
||||
|
||||
set-option -sg escape-time 10
|
||||
set-option -g focus-events on
|
||||
set-option -g default-terminal "screen-256color"
|
||||
set-option -ga terminal-overrides ',xterm-256color:Tc'
|
||||
set-option -g history-limit 30000
|
||||
set-window-option -g aggressive-resize
|
||||
set -g @sessionx-bind 'o'
|
||||
set -g @sessionx-bind 's'
|
||||
bind l select-pane -t :.+
|
||||
bind h select-pane -t :.-
|
||||
|
||||
unbind-key -T copy-mode-vi v
|
||||
|
||||
setw -g mode-keys vi
|
||||
bind-key -T copy-mode-vi y send -X copy-selection-and-cancel
|
||||
bind -T copy-mode-vi v send -X begin-selection
|
||||
bind -T copy-mode-vi 'r' send -X rectangle-toggle # Begin selection in copy mode.
|
||||
bind -T copy-mode-vi 'v' send -X begin-selection # Begin selection in copy mode.
|
||||
bind -T copy-mode-vi 'y' send -X copy-selection # Yank selection in copy mode.
|
||||
bind P paste-buffer
|
||||
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel
|
||||
bind -T root C-c if-shell -F '#{==:#{pane_mode},tree-mode}' 'send-keys Escape' 'send-keys C-c'
|
||||
bind c new-window -c "#{pane_current_path}"
|
||||
bind '"' split-window -c "#{pane_current_path}"
|
||||
bind % split-window -h -c "#{pane_current_path}"
|
||||
|
||||
# bind ctrl-C to escape
|
||||
bind-key -n C-c send-keys Escape
|
||||
set -sg escape-time 10
|
||||
set -g focus-events on
|
||||
set -g default-terminal "screen-256color"
|
||||
set -ga terminal-overrides ',xterm-256color:Tc'
|
||||
set -g history-limit 30000
|
||||
set-window-option -g aggressive-resize
|
||||
# set -ag pane-active-border fg=magenta
|
||||
|
||||
set -g status on
|
||||
set -g status-left ""
|
||||
set -g status-right "#{session_name}"
|
||||
set -g status-style bg=colour17,fg=colour248
|
||||
|
||||
set -g window-status-format ""
|
||||
set -g window-status-current-format ""
|
||||
set -g status-interval 1
|
||||
set -g status-position bottom
|
||||
set -g status-right-length 50
|
||||
set -g display-time 200
|
||||
set -g message-style bg=default,fg=default
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'omerxx/tmux-sessionx'
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
# run-shell ~/clone/path/continuum.tmux
|
||||
|
||||
|
||||
Reference in New Issue
Block a user