tmux.conf 569 B

123456789101112131415161718192021222324252627
  1. # remap prefix from 'C-b' to 'C-a'
  2. #unbind C-b
  3. #set-option -g prefix C-a
  4. # switch to last window like screen, by holding down Control
  5. bind C-b last-window
  6. bind b send-prefix
  7. # open command prompt with ;
  8. unbind \;
  9. bind \; command-prompt
  10. # split panes using | and -
  11. #unbind '"'
  12. #unbind %
  13. bind | split-window -h
  14. bind - split-window -v
  15. # reload config file with r
  16. bind r source-file ~/.tmux.conf \; display ".tmux.conf reloaded!"
  17. # switch panes using Vim navigation keys
  18. unbind l
  19. bind h select-pane -L
  20. bind j select-pane -D
  21. bind k select-pane -U
  22. bind l select-pane -R