Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #-------~---~----------~----------~----
- # .---..-.-.-..-..-..-..-.
- # `| |'| | | || || | > <
- # `-' `-'-'-'`----''-''-'
- #-------~---~----------~----------~----
- # file: $HOME/.tmux.conf
- #-------~---~----------~----------~----
- #
- #-------~---~----------~----------~----
- unbind r
- bind r source-file ~/.tmux.conf \; display "Reloaded!"
- ## General Settings
- set -g set-remain-on-exit on
- set -g status-keys vi
- set -g mode-keys vi
- set -g base-index 1
- # Sin actividad visual
- #set -g visual-activity on
- #set -g visual-bell off
- #set-window-option -g monitor-activity on
- #-------~---~----------~----------~----
- # MISC SETTINGS
- #-------~---~----------~----------~----
- # Use ZSH
- set -g default-shell /bin/zsh
- set -g default-command /bin/zsh
- # Set Window Title
- set -g automatic-rename on
- set -g set-titles on
- set -g set-titles-string '[#S:#I #H] #W'
- set -g alternate-screen on
- # set 256 Colors
- set -g default-terminal "screen-256color"
- #if [[ $TERM = "rxvt-256color" ]]; then export TERM="rxvt-256color"; fi
- # UTF8
- set -g utf8 on
- set-window-option -g utf8 on
- # Don't close windows
- set -g set-remain-on-exit on
- #-------~---~----------~----------~----
- # STATUS & MESSAGE
- #-------~---~----------~----------~----
- set -g history-limit 10000
- set -g status on
- set -g status-utf8 on
- set -g status-bg default
- set -g status-fg black
- set -g status-left-length 100
- set -g status-left " #[fg=red]tmux #[fg=black]#H#[fg=red] >> #[fg=cyan]#(cat /proc/loadavg | cut -c 1-14) #[fg=red]>> #[fg=cyan]%d/%m/%Y %H:%M "
- set -g status-right-length 0
- set -g status-right ""
- set -g status-justify right
- set -g message-attr underscore
- set -g message-fg black
- set -g message-bg red
- # Window list
- set -g window-status-format '#[fg=white]#I #[fg=black]#W'
- set -g window-status-current-format '#[fg=cyan]#I #[fg=red]#W'
- set-window-option -g window-status-current-fg red
- ## Panes
- set -g pane-border-fg black
- set -g pane-active-border-fg black
- set -g automatic-rename on
- # ----------------------
- # set some pretty colors
- # ----------------------
- # set pane colors - hilight the active pane
- set-option -g pane-border-fg colour235 #base02
- set-option -g pane-active-border-fg colour240 #base01
- #set-option -g status-attr dim
- # colorize messages in the command line
- set-option -g message-bg black #base02
- set-option -g message-fg brightred #orange
- ## Automatic layouting
- bind-key -n M-c kill-pane \; select-layout
- bind-key -n M-n split-window \; select-layout
- ## Binds
- set -g prefix C-a
- unbind c
- bind c new-window
- bind C-c new-window
- unbind &
- unbind q
- bind q kill-window
- bind C-q kill-window
- bind x kill-pane
- bind C-x kill-pane
- unbind l
- bind C-a last-window
- unbind C-b
- bind a send-prefix
- unbind n
- bind n next-window
- bind C-n next-window
- unbind p
- bind p previous-window
- bind C-p previous-window
- unbind d
- bind d detach
- bind C-d detach
- set-option escape-time 0
- unbind [
- bind Escape copy-mode
- unbind %
- bind a split-window -h
- bind C-a split-window -h
- unbind "'"
- bind e split-window -v
- bind C-e split-window -v
- 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 / command-prompt "split-window 'exec man %%'"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement