Advertisement
Guest User

Untitled

a guest
Apr 21st, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. set -g base-index 1
  2. set -g default-terminal "screen-256color"
  3. set -g prefix C-o
  4. set -g xterm-keys on
  5. set -gs escape-time 0
  6. set -gw aggressive-resize on
  7. set -gw mode-keys emacs
  8.  
  9. ## Bindings
  10.  
  11. bind-key C-o send-prefix
  12. bind-key b last-window
  13. bind r source-file ~/.tmux.conf \; display "configuration file reloaded."
  14. bind-key P command-prompt -p 'save history to filename:' -I '~/tmux.history' 'capture-pane -S -32768 ; save-buffer %1 ; delete-buffer'
  15.  
  16. bind-key -n -t emacs-copy M-w copy-pipe "xclip -i -selection clipboard"
  17. bind-key -n C-y run "tmux set-buffer -- \"$(xclip -o -selection clipboard)\"; tmux paste-buffer"
  18.  
  19. # Maximizing and restoring panes.
  20. set -gw allow-rename off
  21. unbind +
  22. bind + new-window -d -n tmp \; swap-pane -s tmp.0 \; select-window -t tmp
  23. unbind -
  24. bind - last-window \; swap-pane -s tmp.0 \; kill-window -t tmp
  25.  
  26. source '.local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement