Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### UPCATSE - Chris Toomey config
- bind -n C-h select-pane -L
- bind -n C-j select-pane -D
- bind -n C-k select-pane -U
- bind -n C-l select-pane -R
- # To use Ctrl + Up/Down/Left/Right
- #set-window-option -g xterm-keys on
- #bind -n C-Left resize-pane -L 10
- #bind -n C-Right resize-pane -R 10
- #bind -n C-Down resize-pane -D 5
- #bind -n C-Up resize-pane -U 5
- # Reload conf tmux conf
- bind r source-file ~/.tmux.conf \; display-message "~/.tmux.cong reloaded"
- # Open panes
- bind - split-window -v -c "#{pane_current_path}"
- bind \ split-window -h -c "#{pane_current_path}"
- bind c new-window -c "#{pane_current_path}"
- # Renumber tabs
- set-option -g base-index 1
- set-option -g renumber-window on
- # Break pane into new tab
- bind-key b break-pane -d
- # Copy like in Vim style {
- # Use vim keybindings in copy mode
- setw -g mode-keys vi
- # Setup 'v' to begin selection as in Vim
- bind-key -T copy-mode-vi v send-keys -X begin-selection
- bind-key -T copy-mode-vi y send-keys -X copy-pipe "reattach-to-user-namespace pbcopy"
- # Update default binding of `Enter` to also use copy-pipe
- unbind -T copy-mode-vi Enter
- bind-key -T copy-mode-vi Enter send-keys -X copy-pipe "reattach-to-user-namespace pbcopy"
- #}
Add Comment
Please, Sign In to add comment