My home config
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.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Vim keys
  2. # dirty hack for old tmux which doesn't support -c option
  3. bind-key c new-window
  4. bind s split-window -v
  5. bind v split-window -h
  6. # save current path for >=tmux-1.9a
  7. bind-key c new-window -c "#{pane_current_path}"
  8. bind s split-window -v -c "#{pane_current_path}"
  9. bind v split-window -h -c "#{pane_current_path}"
  10. bind h select-pane -L
  11. bind j select-pane -D
  12. bind k select-pane -U
  13. bind l select-pane -R
  14. bind < resize-pane -L 10
  15. bind > resize-pane -R 10
  16. bind - resize-pane -D 10
  17. bind + resize-pane -U 10
  18. bind : command-prompt
  19. # vi-style controls for copy mode
  20. setw -g mode-keys vi
  21. set -g default-terminal "screen-256color"
  22. bind-key R respawn-window
  23. # create a session with a throw-away window
  24. # new true
  25. #
  26. # # for future windows, stay open after the command exits
  27. #set set-remain-on-exit on
  28. #
  29. # # create the windows we really want
  30. # neww -n vim
  31. # splitw -v -p 20 -t 0
  32. #
  33. # # for future windows, revert r-o-e to global value
  34. #set -u set-remain-on-exit
  35. #splitw -v -p 85 -t 0 ls
  36. #selectw -t 1
  37. #selectp -t 0
  38. set-window-option -g xterm-keys on