update tmux conf
This commit is contained in:
parent
d13e0d4ac2
commit
aeaf641596
31
tmux.conf
31
tmux.conf
@ -1,27 +1,28 @@
|
|||||||
|
# Set Options
|
||||||
|
set-option -g default-shell /bin/zsh
|
||||||
set-option -sa terminal-overrides ',screen-256color:RGB'
|
set-option -sa terminal-overrides ',screen-256color:RGB'
|
||||||
|
|
||||||
# map H and V to horizontal and vertical splits
|
|
||||||
bind-key V split-window -h
|
|
||||||
bind-key H split-window -v
|
|
||||||
|
|
||||||
# map r to forcae a reload of the config file
|
|
||||||
unbind r
|
|
||||||
bind r source-file ~/.tmux.conf \; display "Reloading Config"
|
|
||||||
|
|
||||||
# set base windows index to 1
|
|
||||||
set -g base-index 1
|
|
||||||
|
|
||||||
# set screen options
|
|
||||||
set-option -sg escape-time 10
|
set-option -sg escape-time 10
|
||||||
set-option -g default-terminal "screen-256color"
|
set-option -g default-terminal "screen-256color"
|
||||||
|
|
||||||
|
# Source powerline (should come from somewhere other than a versoined python)
|
||||||
|
source "/usr/lib/python3.10/site-packages/powerline/bindings/tmux/powerline.conf"
|
||||||
|
|
||||||
# map Ctrl + a to prefix and unbind Ctrl + b
|
# map Ctrl + a to prefix and unbind Ctrl + b
|
||||||
set -g prefix C-a
|
set -g prefix C-a
|
||||||
unbind C-b
|
unbind C-b
|
||||||
bind C-a send-prefix
|
bind C-a send-prefix
|
||||||
|
|
||||||
|
# map H and V to horizontal and vertical splits
|
||||||
|
bind-key V split-window -h
|
||||||
|
bind-key H split-window -v
|
||||||
|
|
||||||
|
# map r to force a reload of the config file
|
||||||
|
unbind r
|
||||||
|
bind r source-file ~/.tmux.conf \; display "Reloading Config"
|
||||||
|
|
||||||
|
# set base windows index to 1
|
||||||
|
set -g base-index 1
|
||||||
|
|
||||||
# quick pane cycling
|
# quick pane cycling
|
||||||
unbind ^A
|
unbind ^A
|
||||||
bind ^A select-pane -t :.+
|
bind ^A select-pane -t :.+
|
||||||
|
|
||||||
source "/usr/share/tmux/powerline.conf"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user