Update tmux
This commit is contained in:
parent
15119a0e0f
commit
efa1f63121
14
.tmux.conf
14
.tmux.conf
@ -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 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
|
||||
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"
|
||||
|
||||
# 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"
|
||||
run -b '~/.tmux/plugins/tpm/tpm'
|
||||
|
Loading…
Reference in New Issue
Block a user