Krolyxon
Commit 80c005b

Branches

Refs →

dotfiles-x11.configtmuxtmux.conf

48 lines · 1.5 KB · nginx

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