-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
62 lines (58 loc) · 1.78 KB
/
.tmux.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
## reload configuration
#bind r source-file ~/.tmux.conf \; display '~/.tmux.conf sourced'
#
##set -g base-index 1 # start windows numbering at 1
#setw -g pane-base-index 1 # make pane numbering consistent with windows
#
#setw -g automatic-rename on # re-name window to reflect current program
##set -g renumber-windows on # re-number windows when a window is closed
set -g set-titles on # set terminal title
#
#setw -g xterm-keys on
set -g default-terminal "st-256color"
#
## Change the prefix key to C-a
unbind C-b
#set -g prefix C-a
set -g prefix `
#bind C-a send-prefix
bind-key ` last-window
bind-key e send-prefix
#
##bind Tab last-window
#bind-key -n C-tab last-window #goal
#
## THEME
set -g status-bg colour234
set -g status-fg colour137
#
## Turn the mouse on, but without copy mode dragging
#set -g mouse on
##unbind -n MouseDrag1Pane
##unbind -Tcopy-mode MouseDrag1Pane
#
## Some tweaks to the status line
#set -g status-right "%H:%M"
##set -g window-status-current-style "underscore"
#
##search mode vi (default is emacs?)
set-window-option -g mode-keys vi #set-window-option == setw ?
# https://github.com/geohot/configuration/blob/master/.tmux.conf
###unbind C-b
###set -g prefix `
###bind-key ` last-window
###bind-key e send-prefix
###
###set -g status-position bottom
###set -g status-bg colour234
###set -g status-fg colour137
set -g status-left ''
set -g status-right '#[fg=colour233,bg=colour241,bold] %a %d/%m #[fg=colour233,bg=colour245,bold]%H:%M:%S'
###set -g status-right-length 50
###set -g status-left-length 20
###setw -g mode-keys vi
###
setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour255]#W#[fg=colour50]#F '
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '
###
###set-option -g history-limit 5000