fix: Tmux changes:
Adding ctrl to the pane movement shortcuts to keep them distinct from other operations. Adding the previous/next window shortcuts. Adding the tmux plugin manager, yank style copying and styling to tmux.
This commit is contained in:
parent
84109ae916
commit
d6d46cd467
28
tmux.conf
28
tmux.conf
@ -15,19 +15,33 @@ set-option -g allow-rename off
|
||||
## More comfortable prefix binding
|
||||
unbind C-b
|
||||
set-option -g prefix C-Space
|
||||
bind-key C-a send-prefix
|
||||
|
||||
## More natural window splits
|
||||
bind \\ split-window -h
|
||||
bind - split-window -v
|
||||
bind \\ split-window -h -c "#{pane_current_path}"
|
||||
bind - split-window -v -c "#{pane_current_path}"
|
||||
unbind '"'
|
||||
unbind %
|
||||
|
||||
## Better pane navigation
|
||||
bind -n M-h select-pane -L
|
||||
bind -n M-j select-pane -D
|
||||
bind -n M-k select-pane -U
|
||||
bind -n M-l select-pane -R
|
||||
bind -n C-M-h select-pane -L
|
||||
bind -n C-M-j select-pane -D
|
||||
bind -n C-M-k select-pane -U
|
||||
bind -n C-M-l select-pane -R
|
||||
|
||||
## Quick jump between windows like buffers in nvim
|
||||
bind -n M-H previous-window
|
||||
bind -n M-L next-window
|
||||
|
||||
## Reload the config while inside of tmux
|
||||
bind r source-file ~/.tmux.conf
|
||||
|
||||
# Plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
set -g @plugin 'egel/tmux-gruvbox'
|
||||
|
||||
# Plugin settings
|
||||
set -g @tmux-gruvbox 'dark-transparent'
|
||||
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user