diff options
Diffstat (limited to '')
| -rw-r--r-- | .tmux.conf | 49 |
1 files changed, 33 insertions, 16 deletions
@@ -1,34 +1,51 @@ -set -s escape-time 0 -set -g history-limit 50000 -set -g display-time 4000 +set -sg escape-time 20 +set -g history-limit 10000 + set -g status-interval 5 set -g default-terminal "screen-256color" set -g focus-events on -set -g @plugin 'o0th/tmux-nova' +set -g base-index 1 +set -g pane-base-index 1 +set-window-option -g pane-base-index 1 +set-option -g renumber-windows on + +set-option -g detach-on-destroy off -bind R source-file '/home/compromyse/.tmux.conf' +set -g @plugin 'christoomey/vim-tmux-navigator' +set -g @plugin 'tmux-plugins/tmux-yank' unbind C-b +unbind '"' +unbind % + set-option -g prefix C-x bind-key C-x send-prefix -bind | split-window -h -bind - split-window -v -unbind '"' -unbind % +bind -n M-h previous-window +bind -n M-l next-window -set -g mouse on -set-option -s set-clipboard off -bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -selection clipboard -i" +set-window-option -g mode-keys vi +bind-key -T copy-mode-vi v send-keys -X begin-selection -bind-key r command-prompt -I "#W" "rename-window '%%'" +bind | split-window -h -c "#{pane_current_path}" +bind - split-window -v -c "#{pane_current_path}" +bind-key r command-prompt -I "#W" "rename-window '%%'" bind-key b attach-session -c "#{pane_current_path}" - bind-key x kill-pane -set -g @nova-rows 0 -set -g @nova-pane "#I: #W" +unbind f +bind f split-pane "tmux-sessionizer" + +bg="#698DDA" + +set -g status-position "bottom" +set -g status-style bg=default,fg=default +set -g status-justify "centre" +set -g status-left " #[bg=${bg},fg=#ffffff] tmux " +set -g status-right "compromyse " +set -g window-status-format " #I:#W " +set -g window-status-current-format "#[bg=${bg},fg=#000000] #I:#W " run '~/.tmux/plugins/tpm/tpm' |
