Update '.tmux.conf'

This commit is contained in:
2022-12-04 00:40:55 +01:00
parent 09066c03fa
commit 248ac2d294

View File

@@ -6,14 +6,14 @@ set-option -g default-shell /bin/bash
# Remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
set-option -g prefix C-a
bind-key C-a send-prefix
# split panes using | and -
unbind '"'
unbind %
bind | split-window -h -c "#{pane_current_path}" # -c openes it in the current directory
bind - split-window -v -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
# History limit increase
set -g history-limit 50000
@@ -49,3 +49,10 @@ set -g renumber-windows on
# Timeout for display messages (in milliseconds)
set -g display-time 1000
# Plugins
set -g @plugin 'tmux-plugins/tpm'
#set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
## init tpm
run '~/.tmux/plugins/tpm/tpm'