Gentoo installation script
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tmux.conf 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # /etc/tmux.conf
  2. ### General ######################################
  3. ## Force reload of config file
  4. unbind r
  5. bind r source-file ~/.tmux.conf
  6. ## Terminal
  7. set-option -g xterm-keys on
  8. set -g default-terminal "tmux-256color"
  9. ## Keybind preference
  10. setw -g mode-keys vi
  11. set-option -g status-keys vi
  12. set -g mouse on
  13. ## Display
  14. set -s escape-time 0
  15. set-option -g repeat-time 0
  16. set -g base-index 1
  17. setw -g pane-base-index 1
  18. ## Activate inner-most session (when nesting tmux) to send commands
  19. bind a send-prefix
  20. ## History
  21. set -g history-limit 8192
  22. ### Keybinds #####################################
  23. ## Return to previous window when prefix is pressed twice
  24. bind C-a last-window
  25. bind C-b last-window
  26. ## Window cycle/swap
  27. bind e previous-window
  28. bind f next-window
  29. bind E swap-window -t -1
  30. bind F swap-window -t +1
  31. bind -n M-[ previous-window
  32. bind -n M-] next-window
  33. ## Moving between panes
  34. bind h select-pane -L
  35. bind j select-pane -D
  36. bind k select-pane -U
  37. bind l select-pane -R
  38. bind -n M-h select-pane -L
  39. bind -n M-l select-pane -R
  40. bind -n M-k select-pane -U
  41. bind -n M-j select-pane -D
  42. ## Easy split pane commands
  43. unbind '"'
  44. unbind %
  45. bind = split-window -h
  46. bind - split-window -v
  47. bind -n M-= split-window -h
  48. bind -n M-- split-window -v