Update .tmux.conf
parent
15505a0c6a
commit
310ce3b59f
|
|
@ -13,7 +13,7 @@ set -g default-command "/bin/bash"
|
|||
set -g default-shell "/bin/bash"
|
||||
|
||||
# enable pbcopy and pbpaste support with reattach-to-user-namespace
|
||||
#set-option -g default-command "reattach-to-user-namespace -l bash --login"
|
||||
set-option -g default-command "reattach-to-user-namespace -l bash --login"
|
||||
bind C-c run "tmux save-buffer - | reattach-to-user-namespace pbcopy"
|
||||
bind C-v run "tmux set-buffer \"$(reattach-to-user-namespace pbpaste)\"; tmux paste-buffer"
|
||||
|
||||
|
|
@ -22,7 +22,7 @@ set -g default-terminal screen-256color
|
|||
# set esc-wait off, so vim works
|
||||
set-option -sg escape-time 0
|
||||
|
||||
#set prefix to alt-a
|
||||
#set prefix to ctrl-a
|
||||
set-option -g prefix C-a
|
||||
bind-key C-a send-prefix
|
||||
|
||||
|
|
@ -101,7 +101,7 @@ bind -t vi-copy 'v' begin-selection
|
|||
bind -t vi-copy 'y' copy-selection
|
||||
|
||||
#vim airline integration
|
||||
source ~/Tools/vim/.vimrc
|
||||
#source ~/Tools/vim/.vimrc
|
||||
|
||||
#unbind-key ^A-c ; bind-key -n ^A-c copy-mode
|
||||
#unbind-key ^A-NPage ; bind-key -n ^A-NPage copy-mode
|
||||
|
|
@ -109,4 +109,4 @@ source ~/Tools/vim/.vimrc
|
|||
#unbind-key ^A-i ; bind-key -n ^A-i paste-buffer
|
||||
#unbind-key ^A-P ; bind-key -n ^A-P paste-buffer
|
||||
|
||||
source ~/Tools/modules/powerline/bindings/tmux/powerline.conf
|
||||
#source ~/Tools/modules/powerline/bindings/tmux/powerline.conf
|
||||
|
|
|
|||
Loading…
Reference in New Issue