Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set -g default-terminal "screen-256color"
- # keybindings
- set-window-option -g mode-keys vi
- bind-key -T copy-mode-vi 'v' send -X begin-selection
- bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel
- unbind C-b
- set-option -g prefix `
- bind-key ` send-prefix
- bind r source-file ~/.tmux.conf
- bind | split-window -h
- bind - split-window -v
- bind -n M-Left select-pane -L
- bind -n M-Right select-pane -R
- bind -n M-Up select-pane -U
- bind -n M-Down select-pane -D
- bind l select-pane -R
- bind h select-pane -L
- # plugins
- set -g @plugin 'tmux-plugins/tpm'
- set -g @plugin 'tmux-plugins/tmux-sensible'
- set -g @plugin 'tmux-plugins/tmux-resurrect'
- set -g @plugin 'tmux-plugins/tmux-continuum'
- # auto restore sessions
- set -g @continuum-restore 'on'
- # NOTE: keep at the bottom of the file
- # init tmux plugin manager
- run -b '~/.tmux/plugins/tpm/tpm'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement