Update tmux
This commit is contained in:
41
files/tmux/.tmux.conf
Normal file
41
files/tmux/.tmux.conf
Normal file
@@ -0,0 +1,41 @@
|
||||
# tmux.conf
|
||||
# ~ M. Thomas
|
||||
|
||||
# set default terminal
|
||||
set -g default-terminal "tmux-256color"
|
||||
# enable true color terminal
|
||||
set -ga terminal-overrides ",*256col*:Tc"
|
||||
|
||||
# new panes
|
||||
bind-key -n M-v split-window -h
|
||||
bind-key -n M-s split-window -v
|
||||
|
||||
# pane selection
|
||||
bind -n M-h select-pane -L
|
||||
bind -n M-j select-pane -D
|
||||
bind -n M-k select-pane -U
|
||||
bind -n M-l select-pane -R
|
||||
|
||||
# new windows
|
||||
bind-key -n M-c new-window
|
||||
|
||||
# navigate windows
|
||||
bind-key -n M-1 select-window -t 1
|
||||
bind-key -n M-2 select-window -t 2
|
||||
bind-key -n M-3 select-window -t 3
|
||||
bind-key -n M-4 select-window -t 4
|
||||
bind-key -n M-5 select-window -t 5
|
||||
bind-key -n M-6 select-window -t 6
|
||||
bind-key -n M-7 select-window -t 7
|
||||
bind-key -n M-8 select-window -t 8
|
||||
bind-key -n M-9 select-window -t 9
|
||||
|
||||
# make escape bindings of programs work in tmux
|
||||
set -s escape-time 5
|
||||
|
||||
# enable mouse
|
||||
set-option -g mouse on
|
||||
|
||||
# start pane index at 1
|
||||
set -g base-index 1
|
||||
setw -g pane-base-index 1
|
||||
Reference in New Issue
Block a user