Skip to content

Commit

Permalink
[TMUX] now copies to clipboard with xclip
Browse files Browse the repository at this point in the history
  • Loading branch information
mpanarin committed Aug 13, 2019
1 parent 1741feb commit 3463df1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'jbnicolai/tmux-fpp'

# Copy to clipboard please
bind -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip -i -f -selection primary | xclip -i -selection clipboard"

# Vim style pane selection
bind h select-pane -L
bind j select-pane -D
Expand Down
3 changes: 2 additions & 1 deletion setup_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ sudo pacman -S --noconfirm python2-pip \
flameshot \
otf-fira-code \
brave \
yapf
yapf \
xclip

# remove yakuake as it annoys me as well as i don't use it at all.
sudo pacman -R yakuake --noconfirm
Expand Down

0 comments on commit 3463df1

Please sign in to comment.