hl183

tmux.conf

Jul 11th, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. # List of plugins
  2. # set -g @plugin 'tmux-plugins/tpm'
  3. #set -g @plugin 'tmux-plugins/tmux-sensible'
  4. # set -g @plugin 'tmux-plugins/tmux-resurrect'
  5. # set -g @plugin 'tmux-plugins/tmux-continuum'
  6. # set -g @continuum-restore 'on'
  7. # Other examples:
  8. # set -g @plugin 'github_username/plugin_name'
  9. # set -g @plugin '[email protected]/user/plugin'
  10. # set -g @plugin '[email protected]/user/plugin'
  11.  
  12. # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
  13. # run -b '~/.tmux/plugins/tpm/tpm'
  14. ##################################################
  15. set -sg escape-time 0
  16. #TrueColor
  17. set -g default-terminal "xterm-256color"
  18. set -ga terminal-overrides ",*256col*:Tc"
  19. #set-window-option -g window-status-current-bg colour236
  20. set -g status-style 'bg=colour3 fg=colour233 dim'
  21. setw -g window-status-current-style 'fg=colour231 bg=colour234 bold'
  22. set-option -g pane-active-border-fg colour3
  23. # Border style
  24. set-option -g pane-active-border-bg colour3
  25. set-option -g pane-active-border-fg colour3
  26. #Vi mode
  27. setw -g mode-keys vi
  28. # remap prefix from 'C-b' to 'C-a'
  29. unbind C-b
  30. set-option -g prefix C-a
  31. bind-key C-a send-prefix
  32. # split panes using | and -
  33. bind \ split-window -h
  34. bind | split-window -v
  35. unbind '"'
  36. unbind %
  37. # reload config file (change file location to your the tmux.conf you want to use)
  38. bind r source-file ~/.tmux.conf
  39. # switch panes using Alt-arrow without prefix
  40. bind -n M-h select-pane -L
  41. bind -n M-l select-pane -R
  42. bind -n M-k select-pane -U
  43. bind -n M-j select-pane -D
  44. # Resize panes
  45. bind -r -T prefix C-h resize-pane -L 5
  46. bind -r -T prefix C-l resize-pane -R 5
  47. bind -r -T prefix C-k resize-pane -U 2
  48. bind -r -T prefix C-j resize-pane -D 2
  49. # Kill panes, windows
  50. bind -T prefix x kill-pane
  51. bind -T prefix X kill-window
  52. # Enable mouse mode (tmux 2.1 and above)
  53. set -g mouse on
  54. # don't rename windows automatically
  55. set-option -g allow-rename off
  56. # Start windows and panes at 1, not 0
  57. set -g base-index 1
  58. setw -g pane-base-index 1
Advertisement
Add Comment
Please, Sign In to add comment