Guest User

Untitled

a guest
Jan 19th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. ### UPCATSE - Chris Toomey config
  2. bind -n C-h select-pane -L
  3. bind -n C-j select-pane -D
  4. bind -n C-k select-pane -U
  5. bind -n C-l select-pane -R
  6.  
  7. # To use Ctrl + Up/Down/Left/Right
  8. #set-window-option -g xterm-keys on
  9.  
  10. #bind -n C-Left resize-pane -L 10
  11. #bind -n C-Right resize-pane -R 10
  12. #bind -n C-Down resize-pane -D 5
  13. #bind -n C-Up resize-pane -U 5
  14.  
  15. # Reload conf tmux conf
  16. bind r source-file ~/.tmux.conf \; display-message "~/.tmux.cong reloaded"
  17.  
  18. # Open panes
  19. bind - split-window -v -c "#{pane_current_path}"
  20. bind \ split-window -h -c "#{pane_current_path}"
  21. bind c new-window -c "#{pane_current_path}"
  22.  
  23. # Renumber tabs
  24. set-option -g base-index 1
  25. set-option -g renumber-window on
  26.  
  27. # Break pane into new tab
  28. bind-key b break-pane -d
  29.  
  30. # Copy like in Vim style {
  31. # Use vim keybindings in copy mode
  32. setw -g mode-keys vi
  33.  
  34. # Setup 'v' to begin selection as in Vim
  35. bind-key -T copy-mode-vi v send-keys -X begin-selection
  36. bind-key -T copy-mode-vi y send-keys -X copy-pipe "reattach-to-user-namespace pbcopy"
  37.  
  38. # Update default binding of `Enter` to also use copy-pipe
  39. unbind -T copy-mode-vi Enter
  40. bind-key -T copy-mode-vi Enter send-keys -X copy-pipe "reattach-to-user-namespace pbcopy"
  41. #}
Add Comment
Please, Sign In to add comment