-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
78 lines (59 loc) · 2.05 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
set -g prefix C-a
# for nested tmux, C-a a
bind-key a send-prefix
# Set that stupid Esc-Wait off, so VI works again
# from http://tonkersten.com/2011/07/104-switching-to-tmux/
set-option -sg escape-time 0
# base for numbering is 1, not 0
set -g base-index 1
set -g history-limit 20000
set -g bell-action any
unbind l
bind C-a last-window
setw -g mode-keys vi
setw -g mode-mouse off
setw -g aggressive-resize on
unbind %
bind | split-window -h
unbind '"'
bind - split-window -v
unbind [
bind Escape copy-mode
# join pane to and join pane from
bind-key j command-prompt -p "join pane from:" "join-pane -s '%%'"
bind-key J command-prompt -p "send pane to:" "join-pane -t '%%'"
# toggle monitor activity
bind m setw monitor-activity
bind M command-prompt -p "monitor for string:" "setw monitor-content '%%'"
## From: https://wiki.archlinux.org/index.php/Tmux#ICCCM_Selection_Integration
##CLIPBOARD selection integration
###Requires prefix key before the command key
##Copy tmux paste buffer to CLIPBOARD
bind C-c send-keys 'Enter' \; run "tmux show-buffer | xclip -i -selection clipboard"
##Copy CLIPBOARD to tmux paste buffer and paste tmux paste buffer
bind C-v run "tmux set-buffer \"$(xclip -o -selection clipboard)\"; tmux paste-buffer"
unbind o
set -g default-terminal "screen-256color-s"
set -g set-titles on
set -g set-titles-string '#S:#I.#P #W'
setw -g monitor-activity on
set -g visual-activity on
set status-interval 2
set -g status-right '#(cut -d " " -f 1 /proc/loadavg)#[default] %d/%m/%y %H:%M:%S#[default]'
new-session -s media -n mocp mocp
set-window-option monitor-activity off
new-window -n mixer alsamixer
set-window-option monitor-activity off
new-session -s main -n im irssi
split-window mutt
split-window "elinks http:/onyon.net/"
split-window "vim /home/rs/my.otl"
select-layout main-horizontal
resize-pane -D 3
selectp -t 0
set-window-option monitor-activity off
source-file ~/.tmuxcolors_solarized.conf
setw -g window-status-current-attr bold,reverse
setw -g window-status-current-format " #I:#W#F "
select-window -t main:1
attach-session -t main