diff options
Diffstat (limited to 'tmux/.config')
| -rw-r--r-- | tmux/.config/tmux/tmux.conf | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf new file mode 100644 index 0000000..fc74218 --- /dev/null +++ b/tmux/.config/tmux/tmux.conf @@ -0,0 +1,45 @@ +set -g mouse on + +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 + +unbind '%' +unbind '"' + +bind s split-window -v -c "#{pane_current_path}" +bind v split-window -h -c "#{pane_current_path}" + +set-option -as terminal-overrides ",xterm*:RGB" + +set -g status-position top + +unbind C-b +set -g prefix C-Space + +bind-key -T copy-mode-vi v send-keys -X begin-selection +bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle + +bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard' + +bind S choose-session + +set-window-option -g mode-keys vi + +bind l next-window +bind h previous-window + +bind -n M-k resize-pane -U 1 +bind -n M-j resize-pane -D 1 +bind -n M-h resize-pane -L 2 +bind -n M-l resize-pane -R 2 + +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' +set -g @plugin 'christoomey/vim-tmux-navigator' +set -g @plugin 'tmux-plugins/tmux-yank' +set -g @plugin 'ndpm13/tmux-gruvbox-truecolor' + +# Initialize TMUX plugin manager. +run '~/.tmux/plugins/tpm/tpm' |
