[TMUX] Add config file
This commit is contained in:
parent
c10193bd13
commit
a6909decc7
1 changed files with 53 additions and 0 deletions
53
.tmux.conf
Normal file
53
.tmux.conf
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
# set new panes to open in current directory
|
||||||
|
bind c new-window -c "#{pane_current_path}"
|
||||||
|
|
||||||
|
# split panes using | and -
|
||||||
|
bind | split-window -h -c "#{pane_current_path}"
|
||||||
|
bind - split-window -v -c "#{pane_current_path}"
|
||||||
|
unbind '"'
|
||||||
|
unbind %
|
||||||
|
|
||||||
|
# switch panes using Alt-arrow without prefix
|
||||||
|
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
|
||||||
|
|
||||||
|
# don't rename windows automatically
|
||||||
|
set-option -g allow-rename off
|
||||||
|
|
||||||
|
######################
|
||||||
|
### DESIGN CHANGES ###
|
||||||
|
######################
|
||||||
|
|
||||||
|
# loud or quiet?
|
||||||
|
set -g visual-activity off
|
||||||
|
set -g visual-bell off
|
||||||
|
set -g visual-silence off
|
||||||
|
setw -g monitor-activity off
|
||||||
|
set -g bell-action none
|
||||||
|
|
||||||
|
|
||||||
|
# panes
|
||||||
|
set -g pane-border-style 'fg=colour1'
|
||||||
|
set -g pane-active-border-style 'fg=colour3'
|
||||||
|
|
||||||
|
# statusbar
|
||||||
|
set -g status-position bottom
|
||||||
|
set -g status-justify left
|
||||||
|
set -g status-style 'fg=colour6'
|
||||||
|
set -g status-left ''
|
||||||
|
set -g status-right '%Y-%m-%d %H:%M '
|
||||||
|
set -g status-right-length 50
|
||||||
|
set -g status-left-length 10
|
||||||
|
|
||||||
|
setw -g window-status-current-style 'fg=colour0 bg=colour6 bold'
|
||||||
|
setw -g window-status-current-format ' #I #W #F '
|
||||||
|
|
||||||
|
setw -g window-status-style 'fg=colour6 dim'
|
||||||
|
setw -g window-status-format ' #I #[fg=colour7]#W #[fg=colour6]#F '
|
||||||
|
|
||||||
|
setw -g window-status-bell-style 'fg=colour2 bg=colour1 bold'
|
||||||
|
|
||||||
|
# messages
|
||||||
|
set -g message-style 'fg=colour2 bg=colour0 bold'
|
Loading…
Reference in a new issue