Krolyxon
Commit de76520

Branches

Refs →

dotfiles-x11.configtmuxtmux.conf

45 lines · 1.5 KB · nginx

1set -ga terminal-overrides ",st-256color*:Tc"
2set-option -g default-terminal "screen-256color"
3set -s escape-time 0
4
5set -g prefix2 C-s
6unbind C-b
7set -g prefix2 C-Space
8
9set -g status-style 'bg=#16161E fg=#ffffff'
10set-option -g history-limit 5000
11
12# Numbering Windows and panes
13set -g base-index 1
14setw -g pane-base-index 1
15set -g renumber-windows on
16
17bind r source-file ~/.config/tmux/tmux.conf; display "Reloaded!!"
18
19# vim keys
20# setw -g mode-keys vi
21set-window-option -g mode-keys vi
22bind -T copy-mode-vi v send-keys -X begin-selection
23bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
24
25# # Remapping movement keys
26bind h select-pane -L # Move focus to pane on the left
27bind j select-pane -D # Move focus to pane above the current one
28bind k select-pane -U # Move focus to pane below the current one
29bind l select-pane -R # Move focus to pane on the right
30bind Space last-window # Toggle between previously focused window
31
32bind-key -r i run-shell "tmux neww tms"
33
34# Resizing panes (notes that is using the uppercase here and resize by 5 chars)
35bind -r C-h resize-pane -L 5
36bind -r C-j resize-pane -D 5
37bind -r C-k resize-pane -U 5
38bind -r C-l resize-pane -R 5
39
40# TPM
41## Setup: git clone https://github.com/tmux-plugins/tpm plugins/tpm
42set -g @plugin 'tmux-plugins/tpm'
43# set -g @plugin 'dracula/tmux'
44set -g @plugin 'fabioluciano/tmux-tokyo-night'
45run '~/.config/tmux/plugins/tpm/tpm'