Update '.tmux.conf'
This commit is contained in:
11
.tmux.conf
11
.tmux.conf
@@ -6,14 +6,14 @@ set-option -g default-shell /bin/bash
|
|||||||
|
|
||||||
# Remap prefix from 'C-b' to 'C-a'
|
# Remap prefix from 'C-b' to 'C-a'
|
||||||
unbind C-b
|
unbind C-b
|
||||||
set-option -g prefix C-a
|
set-option -g prefix C-a
|
||||||
bind-key C-a send-prefix
|
bind-key C-a send-prefix
|
||||||
|
|
||||||
# split panes using | and -
|
# split panes using | and -
|
||||||
unbind '"'
|
unbind '"'
|
||||||
unbind %
|
unbind %
|
||||||
bind | split-window -h -c "#{pane_current_path}" # -c openes it in the current directory
|
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
|
# History limit increase
|
||||||
set -g history-limit 50000
|
set -g history-limit 50000
|
||||||
@@ -49,3 +49,10 @@ set -g renumber-windows on
|
|||||||
# Timeout for display messages (in milliseconds)
|
# Timeout for display messages (in milliseconds)
|
||||||
set -g display-time 1000
|
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'
|
||||||
|
|||||||
Reference in New Issue
Block a user