renamed
This commit is contained in:
parent
3ec8509538
commit
92fda29212
1 changed files with 63 additions and 0 deletions
63
.tmux.conf
Normal file
63
.tmux.conf
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
# command prefix (like screen)
|
||||
set -g prefix C-a
|
||||
bind C-a send-prefix
|
||||
|
||||
# basic settings
|
||||
set-window-option -g mode-keys vi # vi key
|
||||
set-option -g status-keys vi
|
||||
set-window-option -g utf8 on # utf8 support
|
||||
set-window-option -g mode-mouse off # disable mouse
|
||||
|
||||
# set terminal/color mode
|
||||
set -g default-terminal "screen-256color"
|
||||
|
||||
# copy mode to escape key
|
||||
unbind [
|
||||
bind Escape copy-mode
|
||||
|
||||
# splitting and cycling
|
||||
set-option -g mouse-select-pane off
|
||||
unbind %
|
||||
bind + split-window -h # horizontal split
|
||||
unbind '"'
|
||||
bind _ split-window -v # vertical split
|
||||
bind C-j previous-window
|
||||
bind C-k next-window
|
||||
|
||||
# window title
|
||||
set-option -g set-titles on
|
||||
set-option -g set-titles-string '#S:#I.#P #W' # window number,program name,active (or not)
|
||||
set-window-option -g automatic-rename on # auto name
|
||||
|
||||
# messages
|
||||
#set-window-option -g mode-bg magenta
|
||||
#set-window-option -g mode-fg black
|
||||
#set-option -g message-bg magenta
|
||||
#set-option -g message-fg black
|
||||
|
||||
# No visual activity
|
||||
#set -g visual-activity off
|
||||
#set -g visual-bell off
|
||||
|
||||
#next tab
|
||||
bind-key -n C-right next
|
||||
|
||||
#previous tab
|
||||
bind-key -n C-left prev
|
||||
|
||||
# status bar
|
||||
set-option -g status-utf8 on
|
||||
set-option -g status-justify right
|
||||
set-option -g status-bg black
|
||||
set-option -g status-fg cyan
|
||||
set-option -g status-interval 5
|
||||
set-option -g status-left-length 30
|
||||
set-option -g status-left '#[fg=magenta]» #[fg=blue,bold]#T#[default]'
|
||||
set-option -g status-right '#[fg=cyan]»» #[fg=blue,bold]###S #[fg=magenta]%R %m-%d#(uptime | cut -d "," -f2-)#[default]'
|
||||
set-option -g visual-activity off
|
||||
set-window-option -g monitor-activity on
|
||||
set-window-option -g window-status-current-fg white
|
||||
|
||||
# clock
|
||||
set-window-option -g clock-mode-colour cyan
|
||||
set-window-option -g clock-mode-style 24
|
||||
Loading…
Add table
Add a link
Reference in a new issue