[TMUX] make copy-paste to system available
This commit is contained in:
parent
76b127f268
commit
dffc42cf4a
1 changed files with 12 additions and 0 deletions
12
.tmux.conf
12
.tmux.conf
|
@ -1,3 +1,8 @@
|
|||
######################
|
||||
### PLUGINS ###
|
||||
######################
|
||||
#set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
|
||||
# set new panes to open in current directory
|
||||
bind c new-window -c "#{pane_current_path}"
|
||||
|
||||
|
@ -53,3 +58,10 @@ setw -g window-status-bell-style 'fg=colour207 bg=colour1 bold'
|
|||
|
||||
# messages
|
||||
set -g message-style 'fg=colour207 bg=colour0 bold'
|
||||
|
||||
setw -g mode-keys vi
|
||||
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -sel clip -i'
|
||||
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel 'xclip -sel clip -i'
|
||||
|
||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
|
Loading…
Reference in a new issue