-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
37 lines (30 loc) · 1.25 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
# Damien Dart's tmux configuration file.
#
# This file was written by Damien Dart, <damiendart@pobox.com>. This is
# free and unencumbered software released into the public domain. For
# more information, please refer to the accompanying "UNLICENCE file.
bind C-a send-prefix
if-shell "type 'xsel'" \
"bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel 'xsel -i --clipboard'"
if-shell "infocmp -x tmux-256color" "set -g default-terminal 'tmux-256color'"
# Pass-through escape sequences, used to fix some Vim-in-tmux
# colour-related funkiness (see "$TOOLBOX_ROOT/.vimrc" for more
# information), must be explicitly allowed in tmux 3.3 and later.
set -gq allow-passthrough on
set -g base-index 1
set -g history-limit 10000
set -g pane-active-border-style bg=green,fg=black
set -g pane-base-index 1
set -g prefix C-a
set -g renumber-windows on
set -g set-titles on
set -g set-titles-string "tmux #{?#{==:#S,0},,(#S) }— #I: #W"
set -g status-style bg=black,fg=white
set -g window-status-activity-style bg=black,fg=yellow
set -g window-status-current-format " #I:#W#F "
set -g window-status-current-style bg=green,fg=black
set -g window-status-format " #I:#W#F "
set -g window-status-separator ""
setw -g mode-keys vi
set-window-option -g mode-keys vi
unbind C-b