summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtmux/.tmux.conf79
1 files changed, 38 insertions, 41 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf
index f2c781a..175df16 100755
--- a/tmux/.tmux.conf
+++ b/tmux/.tmux.conf
@@ -1,43 +1,40 @@
1set -g prefix C-a 1set -g default-terminal "tmux-256color"
2unbind-key C-b
3bind-key C-a send-prefix
4
5# start with window 1 (instead of 0)
6set -g base-index 1 2set -g base-index 1
7 3set -s escape-time 0
8# start with pane 1
9set -g pane-base-index 1
10
11# history
12set -g history-limit 4096
13
14# mouse
15set -g mouse on 4set -g mouse on
16 5set-option -g prefix C-a
17# allow terminal scrolling 6unbind-key C-b
18set-option -g terminal-overrides 'xterm*:smcup@:rmcup@' 7bind-key C-a send-prefix
19 8bind h select-pane -L
20# resizing 9bind j select-pane -D
21setw -g aggressive-resize on 10bind k select-pane -U
22 11bind l select-pane -R
23# window status 12bind r source-file ~/.tmux.conf
24set-option -g status-position bottom 13# Enable vi keys.
25set -g status-bg default 14setw -g mode-keys vi
26 15
27# info on right (no session display) 16# Escape turns on copy mode
28set-option -g status-right "" 17bind Escape copy-mode
29set-option -g status-left "" 18
30 19# v in copy mode starts making selection
31# toggle status bar visibility 20bind-key -T copy-mode v send -X begin-selection
32bind t set status 21bind-key -T copy-mode y send -X copy-selection
33 22
34# navigate throught windows 23# make Prefix p paste the buffer.
35bind-key -n S-Left previous-window 24unbind p
36bind-key -n S-Right next-window 25bind p paste-buffer
37 26
38# colors 27set-option -g status-position top
39setw -g window-status-format "#[fg=colour8]#W " 28set -g pane-border-style fg=colour15
40setw -g window-status-current-format "#[fg=colour6]#W " 29set -g pane-active-border-style fg=colour8
41# set -g pane-border-fg colour0 30
42# set -g pane-active-border-fg colour0 31set -g status-justify right
43 32set -g status-right ""
33set -g status-style "bg=colour0"
34set -ag status-style "fg=colour7"
35
36set -g window-status-current-format "#[fg=colour15] #W"
37set -g window-status-format "#[fg=colour8] #W"
38
39set -g status-left-length 100
40set -ag status-left "#[fg=colour8]bat #[fg=colour15]#(~/.bin/bat) "