Advertisement
ganryu

tmux.conf

Mar 26th, 2018
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. # zsh
  2. set-option -g default-shell /bin/zsh
  3. set -g default-terminal "screen-256color"
  4.  
  5. # utf8
  6. set -g utf8
  7. set-window-option -g utf8 on
  8.  
  9. # remap prefix
  10. unbind C-b
  11. set-option -g prefix C-a
  12. bind-key C-a send-prefix
  13.  
  14. # split panes
  15. bind | split-window -h
  16. bind - split-window -v
  17. unbind '"'
  18. unbind %
  19.  
  20. # reload config
  21. bind r source-file ~/.tmux.conf
  22.  
  23. # switch panes without prefix
  24. bind -n M-Left select-pane -L
  25. bind -n M-Right select-pane -R
  26. bind -n M-Up select-pane -U
  27. bind -n M-Down select-pane -D
  28.  
  29. # mouse control
  30. set -g mouse on
  31.  
  32. # don't rename windows automatically
  33. set-option -g allow-rename off
  34.  
  35. # escape fast (especially for vim)
  36. set -sg escape-time 0
  37.  
  38. # powerline
  39. run-shell "powerline-daemon -q"
  40. source "/home/santiago/.local/lib/python3.5/site-packages/powerline/bindings/tmux/powerline.conf"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement