-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
60 lines (50 loc) · 1.8 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
set -g mouse on #For tmux version 2.1 and up
unbind C-b # remove bind for C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Create Panes: window splitting
# Split vertically
unbind %
bind | split-window -h # Prefix | to create vertical split
# Split horizontally
unbind '"'
bind - split-window -v # Prefix - to create horizontal split
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf
### dracula theme ###
# available plugins: battery, cpu-usage, git, gpu-usage, ram-usage, network, network-bandwidth, weather, time
set -g @dracula-plugins "git"
set -g @dracula-show-powerline true
# source "/usr/share/powerline/bindings/tmux/powerline.conf"
set -g @dracula-show-flags true
# git
# default is ✓. Avoid using non unicode characters that bash uses like $, * and !
set -g @dracula-git-show-current-symbol ✓
# default is unicode !. Avoid bash special characters
set -g @dracula-git-show-diff-symbol !
# weather
set -g @dracula-show-fahrenheit false
# copy to clipboard on selection
set -g @yank_selection_mouse 'clipboard'.
###########################
# Plugins
###########################
# To install plugins
# 1) Add plugin down here
# 2) Prefix + I to install plugin
# To update plugins:
# 1) Prefix + U
# To remove plugins:
# 1) Remove line down here
# 2) Prefix + ALT + U
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'dracula/tmux'
set -g @plugin 'tmux-plugins/tmux-yank'
#set -g status-right "#(/bin/bash $HOME/.tmux/kube-tmux/kube.tmux 250 red cyan)"
# Run Tmux Plugin Manager
run '~/.tmux/plugins/tpm/tpm'