Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.66 KB | None | 0 0
  1. # remap prefix from 'C-b' to 'C-a' │·····································································
  2. unbind C-b │·····································································
  3. set-option -g prefix C-a │·····································································
  4. bind-key C-a send-prefix │·····································································
  5. # split panes using | and - │·····································································
  6. bind | split-window -h │·····································································
  7. bind - split-window -v │·····································································
  8. unbind '"' │·····································································
  9. unbind % │·····································································
  10. # Put status bar at the top │·····································································
  11. set-option -g status-position top │·····································································
  12. # More space for session name in status bar │·····································································
  13. set-option -g status-left-length 40 │·····································································
  14. # Make escape key start scrollback mode │·····································································
  15. unbind [ │·····································································
  16. bind Escape copy-mode │·····································································
  17. # More scrollback buffer │·····································································
  18. set-option -g history-limit 5000 │·····································································
  19. # Set VI mode for scrollback │·····································································
  20. setw -g mode-keys vi │·····································································
  21. # Make space be "list of sessions" │·····································································
  22. # Move next-layout to R │·····································································
  23. unbind Space │·····································································
  24. bind -r R next-layout │·····································································
  25. bind Space choose-tree │·····································································
  26. # Make "n" and "p" next/previous session instead of window │·····································································
  27. unbind n │·····································································
  28. unbind p │·····································································
  29. bind -r n switch-client -n │·····································································
  30. bind -r p switch-client -p │·····································································
  31. # Reload config from .tmux.conf file │·····································································
  32. bind r source-file ~/.tmux.conf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement