Advertisement
Guest User

Untitled

a guest
Mar 27th, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. setw -g clock-mode-style 24
  2. setw -g mode-keys vi
  3. setw -g main-pane-width 120
  4.  
  5. set -g set-clipboard off
  6.  
  7. set -s escape-time 50
  8.  
  9. set -g status-keys vi
  10. set -g base-index 1
  11. set -g pane-base-index 1
  12. set -g history-limit 5000
  13. set -g status-bg green
  14. set -g status-fg black
  15. set -g status-interval 1
  16. set -g status-left "caelum/#S "
  17. set -g status-right "%a %m/%d %H:%M:%S"
  18. set -g renumber-windows on
  19. set -g default-terminal "screen-256color"
  20.  
  21. set -g -q mouse off
  22.  
  23. bind -t vi-copy 'v' begin-selection
  24. bind -t vi-copy 'y' copy-selection
  25. bind -t vi-copy 'C-v' rectangle-toggle
  26. bind -t vi-copy Escape cancel
  27.  
  28. # remove unused default bindings
  29. unbind C-b
  30. unbind '"'
  31. unbind %
  32. unbind l
  33. unbind [
  34. unbind p
  35. unbind ]
  36. unbind v
  37. unbind C-Left
  38. unbind C-Right
  39. unbind C-Up
  40. unbind C-Down
  41.  
  42. # C-a should be the prefix
  43. set -g prefix C-a
  44.  
  45. # changed bindings
  46. bind-key C-a last-window #was l
  47. bind-key - split-window #was "
  48. bind-key | split-window -h #was %
  49. bind-key Escape copy-mode #was [
  50. bind-key p paste-buffer #was ]
  51. bind-key ] swap-pane -D
  52. bind-key [ swap-pane -U
  53. bind-key C-Left select-pane -L
  54. bind-key C-Right select-pane -R
  55. bind-key C-Up select-pane -U
  56. bind-key C-Down select-pane -D
  57. bind-key S-Left resize-pane -L
  58. bind-key S-Right resize-pane -R
  59. bind-key S-Up command-prompt "resize-pane -U %%"
  60. bind-key S-Down command-prompt "resize-pane -D %%"
  61.  
  62. # new bindings
  63. bind-key r source-file ~/.tmux.conf
  64. bind-key a send-prefix
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement