-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
executable file
·61 lines (48 loc) · 2.04 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
#scrollback size
set -g history-limit 10000
#Allow mouse interaction
set -g mouse on
set -g focus-events on
set -g base-index 1
setw -g pane-base-index 1
set-option -g set-titles on
## Use vim keybindings in copy mode
setw -g mode-keys vi
set -s set-clipboard on
#set-option -s set-clipboard off
#bind P paste-buffer
#bind-key -T copy-mode-vi v send-keys -X begin-selection
#bind-key -T copy-mode-vi y send-keys -X rectangle-toggle
#unbind -T copy-mode-vi Enter
#bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel 'xclip -se c -i'
#bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel 'xclip -se c -i'
#bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xclip -i -f -selection primary | xclip -i -selection clipboard"
#for copying to sys clipboard
#bind -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip -i -f -selection primary | xclip -i -selection clipboard"
#bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -i -f -selection primary | xclip -i -selection clipboard"
#bind -T copy-mode-vi C-j send-keys -X copy-pipe-and-cancel "xclip -i -f -selection primary | xclip -i -selection clipboard"
####################
### DESIGNING ####
####################
#improve colors
#set -g default-terminal "xterm-256color"
#set -g default-terminal "screen.xterm-256color"
set -g default-terminal 'tmux-256color'
#set -ga terminal-overrides ',*-256color:Tc'
set -ag terminal-overrides ",xterm-256color:RGB"
#dracula
#set -g @dracula-show-battery false
#set -g @dracula-show-network false
#set -g @dracula-show-fahrenheit false
#set -g @dracula-show-weather false
#set -g @dracula-show-powerline true
set -g @catppuccin_flavour 'macchiato' # latte, frappe, macchiato, mocha
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank'
#theme
set -g @plugin 'catppuccin/tmux'
#set -g @plugin 'dracula/tmux'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run -b '~/.tmux/plugins/tpm/tpm'