Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set -g default-terminal "xterm-256color"
- set -ag terminal-overrides "*:Tc"
- set -g mouse on
- set -s escape-time 0
- # set -g editor /usr/bin/nvim
- # set -g display-panes-time 0
- # setw -g clock-mode-colour colour1
- # setw -g mode-style 'fg=colour1 bg=colour18 bold'
- set -g status-position bottom
- set -g status-justify left
- set -g status-style "bg=black fg=white"
- set -g status-left " #S "
- set -g status-left-style "bg=colour173 fg=black"
- # set -g status-right '%Y-%m-%d %H:%M '
- set -g status-right-style "bg=yellow fg=black"
- set -g pane-border-lines 'single'
- set -g pane-border-style "fg=white"
- set -g pane-active-border-style "fg=green"
- # set -g pane-border-style 'fg=colour2'
- # set -g pane-active-border-style 'fg=colour3'
- set -g popup-border-style "fg=blue"
- set -g popup-border-lines rounded
- set -g window-status-current-style "bg=blue fg=black bold"
- setw -g window-status-current-format ' #I #W #F '
- setw -g window-status-format ' #I #[fg=colour7]#W #[fg=colour1]#F '
- set -g window-status-last-style "bg=colour234 fg=blue nounderscore"
- # set -g window-status-separator "| "
- set -g window-status-separator ""
- # TODO: C-s for prefix
- # or C-Space
- set -g prefix C-a
- bind C-a send-prefix
- # set -g prefix2 C-a
- # bind C-a send-prefix -2
- # bind r source-file ~/.config/tmux/tmux.conf \; display "tmux config reloaded"
- bind r {
- source-file ~/.config/tmux/tmux.conf
- display "tmux config reloaded"
- }
- # set-option -g status-position top
- set -g base-index 1
- set -g pane-base-index 1
- set-window-option -g pane-base-index 1
- setw -g automatic-rename on
- set-option -g renumber-windows on
- set-window-option -g mode-keys vi
- bind-key h select-pane -L
- bind-key j select-pane -D
- bind-key k select-pane -U
- bind-key l select-pane -R
- bind -n M-Left select-pane -L
- bind -n M-Right select-pane -R
- bind -n M-Up select-pane -U
- bind -n M-Down select-pane -D
- # copy mode
- 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
- bind -T copy-mode-vi Escape send -X cancel
- bind -T copy-mode-vi H send -X start-of-line
- bind -T copy-mode-vi L send -X end-of-line
- # copy to Wayland clipboard
- if -b '[ "$XDG_SESSION_TYPE" = "wayland" ] && command -v wl-copy > /dev/null 2>&1' 'bind y run -b "\"\$TMUX_PROGRAM\" \${TMUX_SOCKET:+-S \"\$TMUX_SOCKET\"} save-buffer - | wl-copy"'
- bind '"' split-window -v -c "#{pane_current_path}"
- bind % split-window -h -c "#{pane_current_path}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement