all repos — dotfiles @ 2706a909731d1bd0fffa9200b5f5f6153f31a96b

my *nix dotfiles

tmux/.tmux.conf (view raw)

 1set -g prefix C-a
 2unbind-key C-b
 3bind-key C-a send-prefix
 4
 5bind r source-file ~/.tmux.conf
 6
 7set-option -g default-terminal xterm-256color-italic
 8set escape-time 20
 9
10set -g mouse on
11
12set -g base-index 1
13setw -g pane-base-index 1
14
15set-option -g status-position top
16
17# pane binds
18bind -n M-j select-pane -D 
19bind -n M-k select-pane -U
20
21# window binds
22bind -n M-h  previous-window
23bind -n M-l next-window
24bind-key v split-window -h
25bind-key s choose-session
26bind-key ) swap-window -t +1
27bind-key ( swap-window -t -1
28bind-key [ copy-mode
29
30# statusline hide / unhide
31bind -n M-down set -q status off
32bind -n M-up set -q status on
33bind P paste-buffer
34
35bind-key -T copy-mode-vi v send-keys -X begin-selection
36bind-key -T copy-mode-vi y send-keys -X copy-selection
37bind-key -T copy-mode-vi r send-keys -X rectangle-toggle
38
39bind E command-prompt -p "cmd:" \
40         "run \"tmux list-panes -a -F '##{session_name}:##{window_index}.##{pane_index}' \
41         | xargs -I PANE tmux send-keys -t PANE '%1' Enter\""
42
43set-window-option -g allow-rename off
44
45set -g pane-border-style fg=colour11
46set -g pane-active-border-style fg=colour8
47
48set -g status-justify right
49set -g status-right ""
50set -g status-style "bg=colour0"
51set -ag status-style "fg=colour7"
52
53set -g window-status-current-format "#[fg=colour15]    #W"
54set -g window-status-format "#[fg=colour8]    #W"
55
56set -g status-left-length 100
57set -g status-left "#[fg=colour8]time #[fg=colour15]#(date +%I:%M)   "
58set -ag status-left "#[fg=colour8]date #[fg=colour15]#(~/bin/time.sh -n)   "
59set -ag status-left "#[fg=colour8]vol #[fg=colour15]#(~/bin/vol.sh -n)   "
60set -ag status-left "#[fg=colour8] bat #[fg=colour15]#(~/bin/bat.sh -n)%   "