Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # List of plugins
- # set -g @plugin 'tmux-plugins/tpm'
- #set -g @plugin 'tmux-plugins/tmux-sensible'
- # set -g @plugin 'tmux-plugins/tmux-resurrect'
- # set -g @plugin 'tmux-plugins/tmux-continuum'
- # set -g @continuum-restore 'on'
- # Other examples:
- # set -g @plugin 'github_username/plugin_name'
- # set -g @plugin '[email protected]/user/plugin'
- # set -g @plugin '[email protected]/user/plugin'
- # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
- # run -b '~/.tmux/plugins/tpm/tpm'
- ##################################################
- set -sg escape-time 0
- #TrueColor
- set -g default-terminal "xterm-256color"
- set -ga terminal-overrides ",*256col*:Tc"
- #set-window-option -g window-status-current-bg colour236
- set -g status-style 'bg=colour3 fg=colour233 dim'
- setw -g window-status-current-style 'fg=colour231 bg=colour234 bold'
- set-option -g pane-active-border-fg colour3
- # Border style
- set-option -g pane-active-border-bg colour3
- set-option -g pane-active-border-fg colour3
- #Vi mode
- setw -g mode-keys vi
- # remap prefix from 'C-b' to 'C-a'
- unbind C-b
- set-option -g prefix C-a
- bind-key C-a send-prefix
- # split panes using | and -
- bind \ split-window -h
- bind | split-window -v
- unbind '"'
- unbind %
- # reload config file (change file location to your the tmux.conf you want to use)
- bind r source-file ~/.tmux.conf
- # switch panes using Alt-arrow without prefix
- bind -n M-h select-pane -L
- bind -n M-l select-pane -R
- bind -n M-k select-pane -U
- bind -n M-j select-pane -D
- # Resize panes
- bind -r -T prefix C-h resize-pane -L 5
- bind -r -T prefix C-l resize-pane -R 5
- bind -r -T prefix C-k resize-pane -U 2
- bind -r -T prefix C-j resize-pane -D 2
- # Kill panes, windows
- bind -T prefix x kill-pane
- bind -T prefix X kill-window
- # Enable mouse mode (tmux 2.1 and above)
- set -g mouse on
- # don't rename windows automatically
- set-option -g allow-rename off
- # Start windows and panes at 1, not 0
- set -g base-index 1
- setw -g pane-base-index 1
Advertisement
Add Comment
Please, Sign In to add comment