forked from shelldandy/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
93 lines (75 loc) · 3.32 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# ███ ▄▄▄▄███▄▄▄▄ ███ █▄ ▀████ ▐████▀
# ▀█████████▄ ▄██▀▀▀███▀▀▀██▄ ███ ███ ███▌ ████▀
# ▀███▀▀██ ███ ███ ███ ███ ███ ███ ▐███
# ███ ▀ ███ ███ ███ ███ ███ ▀███▄███▀
# ███ ███ ███ ███ ███ ███ ████▀██▄
# ███ ███ ███ ███ ███ ███ ▐███ ▀███
# ███ ███ ███ ███ ███ ███ ▄███ ███▄
# ▄████▀ ▀█ ███ █▀ ████████▀ ████ ███▄
# Colors Everywhere
set -g default-terminal "xterm-256color-italic"
set-option -ga terminal-overrides ",xterm-256color-italic:Tc"
# Use vim keybindings in copy mode
setw -g mode-keys vi
# Panes fix for tmuxinator
set -g base-index 1
set -g pane-base-index 1
# renumber windows after a change
set-option -g renumber-windows on
# Make PREFIX = 'ç'
unbind C-b
set-option -g prefix ç
bind-key ç send prefix
# Set mouse mode
set -g mouse on
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# removes esc delay
set -sg escape-time 0
# ==================================================================================================
# Theme (Oceanic Next)
# ==================================================================================================
set-option -g status-position top
# status bar
set -g status "on"
set -g status-attr "none"
set -g status-justify "left"
set -g status-bg "#343d46"
# status left
set -g status-left-attr "none"
set -g status-left-length "100"
# status right
set -g status-right-attr "none"
set -g status-right-length "100"
# window
setw -g window-status-attr "none"
setw -g window-status-separator ""
setw -g window-status-format "#[fg=#d8dee9,bg=#65737e] #I | #W "
# active window
setw -g window-status-activity-attr "none"
setw -g window-status-current-format "#[fg=#282828,bg=#fabd2f] #I | #W "
# panes
set -g pane-active-border-fg "#fabd2f"
set -g pane-border-fg "#65737e"
# command bar
set -g message-command-fg "#d8dee9"
set -g message-command-bg "#1b2b34"
set -g message-fg "#d8dee9"
set -g message-bg "#1b2b34"
# Neovim Cursor shape
set -g -a terminal-overrides ',*:Ss=\E[%p1%d q:Se=\E[2 q'
# ==================================================================================================
# Status line
# ==================================================================================================
set-option -g status-left "#(~/.tmux/status.sh left)"
set-option -g status-right "#(~/.tmux/status.sh right)"
# ==================================================================================================
# Plugins
# ==================================================================================================
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'christoomey/vim-tmux-navigator'
run '~/.tmux/plugins/tpm/tpm'