blob: 77197aaa7560cb4e0e49e35ce9f4eb70447424b6 (
plain)
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
|
# Limit history to 100.000 lines
set-option -g history-limit 100000
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",alacritty:RGB"
# Remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# VI-mode
set-window-option -g mode-keys vi
# Remove ESC delay
set -s escape-time 0
set -g set-titles on
set -g set-titles-string "#T"
# Move between panes with Shift
bind -n S-Left select-window -p
bind -n S-Right select-window -n
bind -n S-Down new-window
bind -n S-Up command-prompt "rename-window %%"
# Create new windows shortcut
bind -n C-b split-window -v
bind -n C-h split-window -h
# Enable mouse mode (tmux 2.1 and above)
set -g mouse on
# Don't rename windows automatically
setw -g automatic-rename off
# Renumber windows when a window is closed
set -g renumber-windows on
# Set status bar to top
#set-option -g status-position top
# Load theme
if '[ -f ~/.tmux.theme.conf ]' 'source ~/.tmux.theme.conf'
|