Advertisement
Guest User

Untitled

a guest
Feb 27th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.92 KB | None | 0 0
  1. # Change the prefix to C-a from C-b │dev-dsk-mjdillon-2b-cc6b2074 % goodmorning
  2. set -g prefix C-a │Password for mjdillon@ANT.AMAZON.COM:
  3. unbind C-b │
  4. │(17-02-27 17:48:00) <0> [~]
  5. # Set the delay between prefix and command │dev-dsk-mjdillon-2b-cc6b2074 %
  6. set -s escape-time 1 │
  7. # Set the base index for windows to 1 instead of 0 │
  8. set -g base-index 1 │
  9. # Set the base index for panes to 1 instead of 0 │
  10. setw -g pane-base-index 1 │
  11. # Reload .tmux.conf │
  12. bind r source-file ~/.tmux.conf \; display "~/.tmux.conf reloaded!" │
  13. # Ensure that we can send C-a to other apps │
  14. bind C-a send-prefix │
  15. # Splitting panes with | and - │
  16. bind | split-window -h │
  17. bind - split-window -v │
  18. # Ahhh, vimmy │
  19. bind h select-pane -L │
  20. bind j select-pane -D │
  21. bind k select-pane -U │
  22. bind l select-pane -R │
  23. # Move between windows │
  24. bind -r C-h select-window -t :- │
  25. bind -r C-l select-window -t :+ │
  26. # Resizing panes │
  27. bind -r H resize-pane -L 5 │
  28. bind -r J resize-pane -D 5 │
  29. bind -r K resize-pane -U 5 │
  30. bind -r L resize-pane -R 5 │
  31. # Turn on the mouse │
  32. set -g mouse off
  33.  
  34. # Set the default terminal │
  35. set -g default-terminal "screen-256color" │
  36. # Set the status line's colors │
  37. set -g status-style fg=colour231,bg=colour238 │
  38. # enable vi keys. │
  39. setw -g mode-keys vi │
  40. # map copy/paste to vim keys │
  41. bind Escape copy-mode │
  42. bind -t vi-copy 'v' begin-selection │
  43. bind -t vi-copy 'y' copy-selection │
  44. unbind p │
  45. bind p paste-buffer
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement