-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.tmux.conf
More file actions
42 lines (35 loc) · 1.32 KB
/
Copy path.tmux.conf
File metadata and controls
42 lines (35 loc) · 1.32 KB
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
unbind-key r
unbind-key '"'
unbind-key %
unbind-key Left
unbind-key Right
unbind-key Up
unbind-key Left
bind-key r source-file ~/.tmux.conf
bind-key e { new-window vim ~/.tmux.conf }
bind-key v split-window -h -c "#{pane_current_path}"
bind-key h split-window -v -c "#{pane_current_path}"
bind-key c new-window -c "#{pane_current_path}"
# Switch panes using Alt-jkhl without prefix
bind-key -n M-h select-pane -L
bind-key -n M-j select-pane -D
bind-key -n M-k select-pane -U
bind-key -n M-l select-pane -R
set-option -ag terminal-overrides "*:Ss=\E[%p1%d q:Se=\E[ q"
set-option -ag terminal-features ",xterm-256color:RGB"
set-option -g default-terminal "xterm-256color"
set-option -g focus-events on
set-option -g mouse on
set-option -g escape-time 300
set-option -g mode-keys vi
set-option -g status-left " #{session_name} "
set -g base-index 1
set -g status-right " #(cat /sys/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0004:00/PNP0C0A:00/power_supply/BAT1/capacity)% %H:%M %d %b "
setw -g pane-base-index 1
set -s copy-command "| clip.exe"
bind -T copy-mode-vi v send -X begin-selection
# bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "clip.exe"
bind -T copy-mode-vi y send-keys -X copy-pipe "clip.exe"
bind P paste-buffer
# Source tinted tmux color script
source-file ~/.config/tinted-tmux/colors/base16-gruvbox-dark-soft.conf