Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Unbinds
- # `-> these are part of the default mappings
- # and will get new functionality
- unbind i
- unbind l
- unbind s
- unbind w
- # New Window
- bind n neww
- # Choose Window
- bind m choose-window
- # Toggle Statusbar
- bind t set status
- # Select Windows Ctrl-[1-0]
- bind -n ^F1 select-window -t 1
- bind -n ^F2 select-window -t 2
- bind -n ^F3 select-window -t 3
- bind -n ^F4 select-window -t 4
- bind -n ^F5 select-window -t 5
- bind -n ^F6 select-window -t 6
- bind -n ^F7 select-window -t 7
- bind -n ^F8 select-window -t 8
- bind -n ^F9 select-window -t 9
- bind -n ^F10 select-window -t 10
- bind -n ^F11 select-window -t 11
- bind ^h select-pane -L
- bind ^j select-pane -D
- bind ^k select-pane -U
- bind ^l select-pane -R
- bind h resize-pane -L
- bind j resize-pane -D
- bind k resize-pane -U
- bind l resize-pane -R
- bind F1 select-pane -t 1
- bind F2 select-pane -t 2
- bind F3 select-pane -t 3
- bind F4 select-pane -t 4
- bind F5 select-pane -t 5
- bind F6 select-pane -t 6
- bind F7 select-pane -t 7
- bind F8 select-pane -t 8
- bind F9 select-pane -t 9
- bind F10 select-pane -t 10
- bind F11 select-pane -t 11
- bind i split-window -h
- bind s split-window
- #-------~---~----------~----------~----
- # WINDOWS & PANES
- #-------~---~----------~----------~----
- # Start counting at 1
- set -g base-index 1
- set -g mouse-select-pane on
- setw -g automatic-rename on
- set -g display-panes-time 1000
- # Set Window Title
- set-window-option -g automatic-rename on
- set -g set-titles on
- set -g set-titles-string 'tmux: #T'
- # Repeat time
- set -g repeat-time 100
- # Monitor and highlight window acitvity
- setw -g monitor-activity on
- # UTF8
- setw -g utf8 on
- set -g status-utf8 on
- #------------
- set -g prefix C-a
- unbind C-b
- bind C-a send-prefix
- setw -g mode-mouse on
- # History
- set-option -g history-limit 10000
- # Terminal emulator window title
- setw -g automatic-rename on
- set-option -g set-titles on
- set-option -g set-titles-string 'tmux: #W'
- # Status bar
- set-option -g status on
- set-option -g status-position bottom
- set-option -g status-justify centre
- set-option -g status-bg default
- set-option -g status-fg black
- set-option -g status-interval 5
- setw -g window-status-format "#[bg=black,fg=white] #I #[bg=#1B1B1B,fg=black]⮀ #[bg=#1B1B1B,fg=white]#W "
- setw -g window-status-current-format "#[bg=blue,fg=black] #I #[bg=default,fg=blue]⮀ #[bg=default,fg=brightblue]#W "
- set -g status-justify left
- set-option -g status-left ''
- set-option -g status-right ''
- set -g base-index 1
- set -g utf8 on
- set -g pane-border-fg white
- set -g pane-active-border-fg brightwhite
- # Notifications
- set-option -g visual-activity off
- set-window-option -g monitor-activity off
- # Clock
- set-window-option -g clock-mode-colour blue
- set-window-option -g clock-mode-style 24
- # Terminal and shell options
- set -g default-terminal "screen-256color"
- set -g default-shell /bin/bash
- set -g default-command /bin/bash
- # Allow xterm titles in terminal window, terminal scrolling with scrollbar, and setting overrides of C-Up, C-Down, C-Left, C-Right
- set -g terminal-overrides "xterm*:XT:smcup@:rmcup@:kUP5=\eOA:kDN5=\eOB:kLFT5=\eOD:kRIT5=\eOC"
- # Mouse options
- set-window-option -g mode-mouse on
- set -g mouse-select-pane on
- set -g mouse-resize-pane on
- set -g mouse-select-window on
- # Message
- set -g message-bg white
- set -g message-fg brightblack
- # Toggle status line
- bind-key Space set status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement