Update tmux

This commit is contained in:
Evan Reichard 2021-01-01 21:19:12 -05:00
parent 15119a0e0f
commit efa1f63121

View File

@ -1,7 +1,15 @@
set-option -g default-shell /opt/local/bin/bash set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set-option -g default-shell /Users/evanreichard/.nix-profile/bin/bash
set-option -g prefix C-t set-option -g prefix C-t
set-option -g renumber-windows on set-option -g renumber-windows on
# Open new windows / tabs in same dir
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
# Copy-paste integration # Copy-paste integration
set-option -g default-command "reattach-to-user-namespace -l bash" set-option -g default-command "reattach-to-user-namespace -l bash"
@ -20,5 +28,7 @@ setw -g mode-keys vi
bind ] run "reattach-to-user-namespace pbpaste | tmux load-buffer - && tmux paste-buffer" bind ] run "reattach-to-user-namespace pbpaste | tmux load-buffer - && tmux paste-buffer"
# Powerline # Powerline
source /Users/evanreichard/Library/Python/2.7/lib/python/site-packages/powerline/bindings/tmux/powerline.conf source $HOME/.local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf
set -g default-terminal "screen-256color" set -g default-terminal "screen-256color"
run -b '~/.tmux/plugins/tpm/tpm'