add gitignore and update files
This commit is contained in:
124
tmux/tmux.conf
Normal file
124
tmux/tmux.conf
Normal file
@@ -0,0 +1,124 @@
|
||||
# remap prefix from 'C-b' to 'C-a'
|
||||
unbind C-b
|
||||
set-option -g prefix C-a
|
||||
bind-key C-a send-prefix
|
||||
|
||||
# split panes using | and -
|
||||
bind | split-window -h
|
||||
bind - split-window -v
|
||||
unbind '"'
|
||||
unbind %
|
||||
|
||||
# reload config file (change file location to your the tmux.conf you want to use)
|
||||
bind r source-file ~/.tmux.conf
|
||||
bind -n C-s new-session
|
||||
bind -n M-T new-window
|
||||
unbind -n C-w
|
||||
|
||||
# switch panes using Alt-arrow without prefix
|
||||
bind -n M-j select-pane -L
|
||||
bind -n M-l select-pane -R
|
||||
bind -n M-i select-pane -U
|
||||
bind -n M-k select-pane -D
|
||||
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
|
||||
|
||||
# Enable mouse mode (tmux 2.1 and above)
|
||||
set -g mouse on
|
||||
|
||||
# don't rename windows automatically
|
||||
set-option -g allow-rename off
|
||||
|
||||
# set escape time to 0
|
||||
set -sg escape-time 100
|
||||
|
||||
# set base index from 0 to 1
|
||||
set -g base-index 1
|
||||
set -g pane-base-index 1
|
||||
|
||||
######################
|
||||
### DEFAULT CONFIG ###
|
||||
######################
|
||||
|
||||
#rename-window 'general'
|
||||
#split-window -v 90 -t 0
|
||||
#split-window -h
|
||||
|
||||
######################
|
||||
### DESIGN CHANGES ###
|
||||
######################
|
||||
|
||||
# panes
|
||||
set -g pane-border-style bg=black,fg=brightred
|
||||
|
||||
## Status bar design
|
||||
# status line
|
||||
set -g status-justify left
|
||||
set -g status-bg default
|
||||
set -g status-fg colour12
|
||||
set -g status-interval 2
|
||||
|
||||
# messaging
|
||||
set -g message-style bg=yellow,fg=black
|
||||
set -g message-command-style bg=black,fg=blue
|
||||
|
||||
#window mode
|
||||
setw -g mode-style bg=colour6,fg=colour0
|
||||
|
||||
# window status
|
||||
setw -g window-status-format " #F#I:#W#F "
|
||||
setw -g window-status-current-format " #F#I:#W#F "
|
||||
setw -g window-status-format "#[fg=magenta]#[bg=black] #I #[bg=cyan]#[fg=colour8] #W "
|
||||
setw -g window-status-current-format "#[bg=brightmagenta]#[fg=colour8] #I #[fg=colour8]#[bg=colour14] #W "
|
||||
setw -g window-status-current-style bg=colour0,fg=colour11,dim
|
||||
setw -g window-status-style bg=green,fg=black,reverse
|
||||
|
||||
# Info on left (I don't have a session display for now)
|
||||
set -g status-left ''
|
||||
|
||||
# loud or quiet?
|
||||
set-option -g visual-activity off
|
||||
set-option -g visual-bell off
|
||||
set-option -g visual-silence off
|
||||
set-window-option -g monitor-activity off
|
||||
set-option -g bell-action none
|
||||
|
||||
set -g default-terminal "screen-256color"
|
||||
|
||||
# The modes {
|
||||
setw -g clock-mode-colour colour135
|
||||
setw -g mode-style bg=colour238,fg=colour196,bold
|
||||
|
||||
# }
|
||||
# The panes {
|
||||
|
||||
set -g pane-border-style bg=colour235,fg=colour238
|
||||
set -g pane-active-border-style bg=colour236,fg=colour51
|
||||
|
||||
# }
|
||||
# The statusbar {
|
||||
|
||||
set -g status-position bottom
|
||||
set -g status-style bg=colour234,fg=colour137,dim
|
||||
set -g status-left ''
|
||||
set -g status-right '#[fg=colour233,bg=colour241,bold] %d/%m #[fg=colour233,bg=colour245,bold] %H:%M:%S '
|
||||
set -g status-right-length 50
|
||||
set -g status-left-length 20
|
||||
|
||||
setw -g window-status-current-style bg=colour238,fg=colour81,bold
|
||||
setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour255]#W#[fg=colour50]#F '
|
||||
|
||||
setw -g window-status-style bg=colour235,fg=colour138
|
||||
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '
|
||||
|
||||
setw -g window-status-bell-style bg=colour1,fg=colour255,bold
|
||||
|
||||
# }
|
||||
# The messages {
|
||||
|
||||
set -g message-style bg=colour166,fg=colour232,bold
|
||||
|
||||
# }
|
||||
|
||||
Reference in New Issue
Block a user