Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # remap prefix from 'C-b' to 'C-a'
- unbind C-b
- set-option -g prefix C-a
- bind-key C-a send-prefix
- # split panes using | and -
- bind \ split-window -h
- bind - split-window -v
- unbind '"'
- unbind %
- # Enable mouse mode (tmux 2.1 and above)
- set -g mouse on
- # panes look
- set -g pane-border-style 'fg=colour19 bg=colour0'
- set -g pane-active-border-style 'bg=colour0 fg=colour9'
- set -g status-style 'bg=colour33 fg=colour0 dim'
- # Do not copy selection and cancel copy mode on drag end event
- # Prefer iTerm style selection: select, then mouse click to copy to buffer
- unbind -T copy-mode-vi MouseDragEnd1Pane
- bind -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip -i -f -selection primary | xclip -i -selection clipboard"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement