#------------------------------------------------------------------------------ # Modified Calculate Utilities 3.5.5.11 # Processed template files: # /var/lib/layman/calculate/profiles/templates/3.5/2_ac_install_merge/app-misc/tmux/tmux.conf # /var/calculate/templates/3.3/2_ac_install_merge/app-misc/tmux/tmux.conf # For modify this file, create /etc/tmux.conf.clt template. #------------------------------------------------------------------------------ set -g default-terminal "screen-256color" #set -g default-terminal "tmux-256color" set -g history-limit 10000 set-option -sg escape-time 10 # automatically renumber tmux windows set -g renumber-windows on # make window/pane index start with 1 set -g base-index 1 setw -g pane-base-index 1 set -g status-fg white set -g status-bg black set -g status-right-length 99 set -g status-right "#(whoami)@#H" set -g status-left "[#S]" set -g status-position top set -g window-status-format ' #I #W ' set -g window-status-current-format ' #I #W ' set -g window-status-separator ' ' set -g display-panes-time 2000 # on-screen time for display-panes in ms set -g set-titles on # enable wm window titles set -g set-titles-string "[#I]: #T" # wm window title string (uses statusbar variables) set-window-option -g automatic-rename off set -g bell-action any # listen for activity on all windows setw -g monitor-activity on # Notify if other windows have activity set -g visual-activity on # Show status message when activity setw -g aggressive-resize on #bind-key k confirm kill-window # Confirm before killing window #bind-key K confirm kill-server # Confirm before killing server # active window title colors #set-window-option -g window-status-current-attr bright # Keybindings ----------------------------------------------------------------- unbind C-b # Unbinding default combination set -g prefix C-a # Set new default - Ctrl-q unbind-key C-a bind-key C-a send-prefix setw -g mouse on # split window and fix path for tmux 1.9 bind | split-window -h -c "#{pane_current_path}" bind - split-window -v -c "#{pane_current_path}" # synchronize all panes in a window bind y setw synchronize-panes # pane movement shortcuts bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R bind -r C-h select-window -t :- bind -r C-l select-window -t :+ # Resize pane shortcuts bind -r H resize-pane -L 10 bind -r J resize-pane -D 10 bind -r K resize-pane -U 10 bind -r L resize-pane -R 10 # set vi mode for copy mode setw -g mode-keys vi # more settings to make copy-mode more vim-like unbind [ bind Escape copy-mode unbind p bind p paste-buffer bind-key -Tcopy-mode-vi 'v' send -X begin-selection bind-key -Tcopy-mode-vi 'y' send -X copy-selection-and-cancel