tmux
This commit is contained in:
1
.config/tmux/.gitignore
vendored
Normal file
1
.config/tmux/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
plugins/
|
||||||
42
.config/tmux/tmux.conf
Normal file
42
.config/tmux/tmux.conf
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
set-option -g prefix C-a
|
||||||
|
|
||||||
|
unbind-key C-b
|
||||||
|
|
||||||
|
bind-key C-a send-prefix
|
||||||
|
|
||||||
|
bind-key | split-window -h -c "#{pane_current_path}"
|
||||||
|
bind-key - split-window -v -c "#{pane_current_path}"
|
||||||
|
|
||||||
|
set-option -ga terminal-overrides ",xterm-256color:Tc"
|
||||||
|
set-window-option -g mode-keys vi
|
||||||
|
|
||||||
|
bind h select-pane -L
|
||||||
|
bind j select-pane -D
|
||||||
|
bind k select-pane -U
|
||||||
|
bind l select-pane -R
|
||||||
|
|
||||||
|
bind-key -r C-h resize-pane -L 10
|
||||||
|
bind-key -r C-k resize-pane -U 10
|
||||||
|
bind-key -r C-j resize-pane -D 10
|
||||||
|
bind-key -r C-l resize-pane -R 10
|
||||||
|
|
||||||
|
set -g base-index 1
|
||||||
|
setw -g pane-base-index 1
|
||||||
|
|
||||||
|
set -s escape-time 0
|
||||||
|
|
||||||
|
# List of plugins
|
||||||
|
set -g @tpm_plugins ' \
|
||||||
|
tmux-plugins/tpm \
|
||||||
|
tmux-plugins/tmux-sensible \
|
||||||
|
jimeh/tmux-themepack \
|
||||||
|
tmux-plugins/tmux-resurrect \
|
||||||
|
tmux-plugins/tmux-continuum \
|
||||||
|
tmux-plugins/tmux-yank \
|
||||||
|
'
|
||||||
|
|
||||||
|
set -g @continuum-restore 'on'
|
||||||
|
set -g @continuum-save-interval '60'
|
||||||
|
|
||||||
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||||
|
run '~/.config/tmux/plugins/tpm/tpm'
|
||||||
Reference in New Issue
Block a user