diff options
| -rw-r--r-- | .tmux.conf | 58 |
1 files changed, 18 insertions, 40 deletions
@@ -1,9 +1,7 @@ # -> git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm # -> tmux source .tmux.conf # prefix + I to install plugins - -# ========================================== -# General settings +bind r source-file ~/.tmux.conf \; display-message "Config reloaded" set -g mouse on set -s escape-time 0 @@ -12,14 +10,12 @@ set -g pane-base-index 1 set-window-option -g pane-base-index 1 set-option -g renumber-windows on + setw -g mode-keys vi bind-key -T copy-mode-vi v send-keys -X begin-selection bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel -# ========================================== -# Keybindings - bind '"' split-window -v -c "#{pane_current_path}" bind % split-window -h -c "#{pane_current_path}" @@ -31,8 +27,19 @@ bind -n M-Down select-pane -D bind -n S-Left previous-window bind -n S-Right next-window -# ========================================== -# bddeab + +set -g @continuum-restore 'on' +set -g @resurrect-capture-pane-contents 'on' + +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' +set -g @plugin 'christoomey/vim-tmux-navigator' +set -g @plugin 'tmux-plugins/tmux-yank' +set -g @plugin 'tmux-plugins/tmux-resurrect' +set -g @plugin 'tmux-plugins/tmux-continuum' +set -g @plugin 'jaclu/tmux-menus' + + set -g status-style bg="#121212",fg="#888888" set -g status-justify left @@ -47,38 +54,9 @@ setw -g window-status-current-format "#[fg=#c9de95,bg=#333333,bold] #I:#W " set -g pane-border-style fg="#333333" set -g pane-active-border-style fg="#c9de95" -# ========================================== -# Plugins options - -# SessionX -# --- Personalizacja SessionX --- -set -g @sessionx-window-mode 'on' -set -g @sessionx-bind 'w' -set -g @sessionx-window-height '75%' -set -g @sessionx-window-width '65%' - -set -g @sessionx-pointer-color '#c9de95' -set -g @sessionx-prompt-color '#c9de95' -set -g @sessionx-highlight-location-color '#c9de95' - -set -g @sessionx-preview-enabled 'true' -set -g @sessionx-preview-location 'right' -set -g @sessionx-preview-ratio '45%' -set -g @sessionx-filter-smart 'on' - -# Resurrect Continuum -set -g @continuum-restore 'on' -set -g @resurrect-capture-pane-contents 'on' - -# ========================================== -# TPM +set -g message-style bg="#c9de95",fg="#121212",bold +set -g mode-style bg="#c9de95",fg="#121212",bold -set -g @plugin 'tmux-plugins/tpm' -set -g @plugin 'tmux-plugins/tmux-sensible' -set -g @plugin 'christoomey/vim-tmux-navigator' -set -g @plugin 'tmux-plugins/tmux-yank' -set -g @plugin 'tmux-plugins/tmux-resurrect' -set -g @plugin 'tmux-plugins/tmux-continuum' -set -g @plugin 'omerxx/tmux-sessionx' +# set -g menu-selection-style bg="#c9de95",fg="#121212" run '~/.tmux/plugins/tpm/tpm' |