Tmux config tweaks
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
# easy reload config
|
||||
bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded."
|
||||
|
||||
# Enable full colors
|
||||
set-option -sa terminal-overrides ",xterm*:Tc"
|
||||
|
||||
# set window split
|
||||
bind-key v split-window -h
|
||||
bind-key b split-window
|
||||
bind-key v split-window -h -c "#{pane_current_path}"
|
||||
bind-key b split-window -v -c "#{pane_current_path}"
|
||||
|
||||
# default window title colors
|
||||
set-window-option -g window-status-style fg=colour244,bg=default,dim
|
||||
@@ -31,16 +34,19 @@ bind-key C-a last-window
|
||||
|
||||
# Start index at 1
|
||||
set -g base-index 1
|
||||
set -g pane-base-index 1
|
||||
set-window-option -g pane-base-index 1
|
||||
set-option -g renumber-windows on
|
||||
|
||||
# Allows for faster key repetition
|
||||
set -s escape-time 50
|
||||
|
||||
# Rather than constraining window size to the maximum size of any client
|
||||
# connected to the *session*, constrain window size to the maximum size of any
|
||||
# Rather than constraining window size to the maximum size of any client
|
||||
# connected to the *session*, constrain window size to the maximum size of any
|
||||
# client connected to *that window*. Much more reasonable.
|
||||
setw -g aggressive-resize on
|
||||
|
||||
# Allows us to use C-a a <command> to send commands to a TMUX session inside
|
||||
# Allows us to use C-a a <command> to send commands to a TMUX session inside
|
||||
# another TMUX session
|
||||
bind-key a send-prefix
|
||||
|
||||
@@ -82,3 +88,6 @@ set -g mouse on
|
||||
set-option -g focus-events on
|
||||
set-option -sa terminal-features ',foot:RGB'
|
||||
|
||||
# Remove confirm prompts
|
||||
bind-key x kill-pane
|
||||
bind-key & kill-window
|
||||
|
||||
Reference in New Issue
Block a user