Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Software used ATOC:
- # `-> tmux => 1.4-3
- #-------~---~----------~----------~----
- # KEYBINDS
- #-------~---~----------~----------~----
- # remap prefix to Control + a
- set -g prefix C-a
- unbind C-b
- bind C-a send-prefix
- # force a reload of the config file
- unbind r
- bind r source-file ~/.tmux.conf
- # quick pane cycling
- unbind ^A
- bind ^A select-pane -t :.+
- #Prefix Key
- #set -g prefix Mod1Mask-a
- #set -g prefix C-a
- set -g status-keys vi
- setw -g mode-keys vi
- setw -g mode-mouse on
- # Unbinds
- # `-> these are part of the default mappings
- # and will get new functionality
- #unbind c
- unbind i
- unbind l
- unbind s
- unbind w
- # Reload Config File
- #bind F12 source-file ~/.tmux.conf
- # New Window
- bind n neww
- # Choose Window
- bind m choose-window
- # Choose Session
- bind a choose-session
- # Close Pane
- #bind c kill-pane
- # 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 -n ^F12 select-window -t 12
- 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 F12 select-pane -t 12
- bind i split-window -h
- bind s split-window
- # Sessions
- #bind t attach -d -t tmux
- #bind i attach -d -t irc
- #bind r attach -d -t rails
- #-------~---~----------~----------~----
- # 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
- #-------~---~----------~----------~----
- # MISC SETTINGS
- #-------~---~----------~----------~----
- # Use ZSH
- set -g default-shell /bin/bash
- set -g default-command /bin/bash
- # 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
- # 256 Colors note - rxvt stuff breaks ncmpcpp
- #set -g default-terminal "rxvt-unicode-256color"
- set -g default-terminal "screen-256color"
- #if [[ $TERM = "rxvt-256color" ]]; then export TERM="rxvt-unicode-256color"; fi
- # Border Colors
- set -g pane-border-fg black
- set -g pane-active-border-fg blue
- set -g display-panes-colour white
- set -g display-panes-active-colour red
- # UTF8
- setw -g utf8 on
- set -g status-utf8 on
- # Don't close windows
- #set -g set-remain-on-exit on
- #-------~---~----------~----------~----
- # STATUS & MESSAGE
- #-------~---~----------~----------~----
- set -g status-justify right
- set -g status-bg default
- set -g status-fg default
- set -g status-interval 5
- set -g message-attr bold
- set -g message-fg black
- set -g message-bg yellow
- # Window list
- setw -g window-status-current-fg red
- setw -g window-status-current-attr none
- #setw -g window-status-alert-attr bright
- setw -g window-status-format '#[fg=black]#W#F'
- setw -g window-status-current-format '#[fg=red] #W#F'
- # Left
- set -g status-left '#[fg=red]tmux#[fg=black]#H #[fg=red]>>#[fg=black,bold] #T'
- set -g status-left-length 100
- set -g status-left-fg black
- # Right
- set -g status-right '#[fg=black,bold]|%l:%M'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement