Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -- general
- set -g prefix C-t
- set -g mode-keys emacs
- set -q -g status-utf8 on
- set -g history-limit 5000
- set -g repeat-time 1000
- # -- configure truecolor
- set -g default-terminal "screen-24bit" # true color
- bind r source-file ~/.tmux.conf \; display 'tmux conf sourced'
- # -- display
- setw -g automatic-rename on
- set -g set-titles on
- set -g display-panes-time 800 # slightly longer pane indicators display time
- set -g display-time 1000 # slightly longer status messages display time
- set -g status-interval 1 # redraw status every 10 seconds
- set -g monitor-activity on
- set -g visual-activity off
- # -- navigation
- bind - split-window -v
- bind | split-window -h
- bind n new-window
- bind k kill-pane
- bind h select-window -t 0 # go to "home" window
- # Enable mouse control (clickable windows, panes, resizable panes)
- set -g mouse on
- bind S-Left previous-window
- bind S-Right next-window
- bind C-f command-prompt -p "find window" "find-window %%"
- # coarse resizing
- bind -r C-S-Up resize-pane -U 10
- bind -r C-S-Down resize-pane -D 10
- bind -r C-S-Left resize-pane -L 10
- bind -r C-S-Right resize-pane -R 10
- # fine resizing
- bind -r C-M-S-Up resize-pane -U 2
- bind -r C-M-S-Down resize-pane -D 2
- bind -r C-M-S-Left resize-pane -L 2
- bind -r C-M-S-Right resize-pane -R 2
- # ssh
- set -g visual-activity off
- set -g visual-bell off
- set -g visual-silence off
- set -g bell-action none
- # modes
- setw -g clock-mode-colour colour5
- setw -g mode-style 'fg=colour1 bg=colour18 bold'
- # panes
- set -g pane-border-style 'fg=colour19 bg=colour0'
- set -g pane-active-border-style 'bg=colour0 fg=colour10'
- # statusbar
- set -g status-position bottom
- set -g status-justify left
- set -g status-style 'bg=colour18 fg=colour137 dim'
- set -g status-left ''
- set -g status-right '#H #[fg=colour233,bg=colour19] %m/%d #[fg=colour233,bg=colour8] %l:%M:%S %p '
- set -g status-right-length 50
- set -g status-left-length 20
- setw -g window-status-current-style 'fg=colour33 bg=colour19 bold'
- setw -g window-status-current-format ' #I#[fg=colour249]:#[fg=colour255]#W#[fg=colour249]#F '
- setw -g window-status-style 'fg=colour9 bg=colour18'
- setw -g window-status-format ' #I#[fg=colour249]:#[fg=colour250]#W#[fg=colour244]#F '
- setw -g window-status-bell-style 'fg=colour255 bg=colour1 bold'
- # messages
- set -g message-style 'fg=colour232 bg=colour6 bold'
- # git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
- # List of plugins
- set -g @plugin 'tmux-plugins/tpm'
- set -g @plugin 'tmux-plugins/tmux-sensible'
- # requires "sudo apt install fzf"
- set -g @plugin 'wfxr/tmux-fzf-url'
- set -g @fzf-url-bind 'u'
- # local settings
- run '~/.tmux/local'
- # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
- run '~/.tmux/plugins/tpm/tpm'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement