-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_tmux.conf
47 lines (36 loc) · 1.16 KB
/
dot_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
set -g default-terminal "screen-256color"
# Set Prefix for tmux commands
# unbind C-b
# set -g prefix C-Space
# bind-key C-Space send-prefix
# Switch mapping needed for splittng windows
unbind %
bind h split-window -h -c "#{pane_current_path}"
unbind '"'
bind v split-window -v -c "#{pane_current_path}"
# Reload source file
unbind r
bind r source-file ~/.tmux.conf
bind -r j resize-pane -D 5
bind -r k resize-pane -U 5
bind -r l resize-pane -R 5
bind -r ";" resize-pane -L 5
bind -r m resize-pane -Z
set -g mouse on
# set vi-mode
set-window-option -g mode-keys vi
# keybindings
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
# tpm plugin
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'christoomey/vim-tmux-navigator'
#set -g @plugin 'catppuccin/tmux'
#set -g @plugin 'dracula/tmux'
set -g @plugin "arcticicestudio/nord-tmux
set -g @dracula-show-powerline true
# Initialize TMUX plugin manager (must be at bottom of file)
run '~/.tmux/plugins/tpm/tpm'