Tmux, change copy command

This commit is contained in:
Thomas Dehaeze 2019-07-20 16:29:27 +02:00
parent b789d8b516
commit 8270a91ad0
2 changed files with 5 additions and 2 deletions

View File

@ -126,7 +126,7 @@
# Setup 'v' to begin selection as in Vim and 'y' to yank
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "xsel -i -p && xsel -o -p | xsel -i -b"
bind-key -T copy-mode-vi 'Escape' send -X cancel
bind-key -T copy-mode-vi 'C-v' send-keys -X rectangle-toggle
#+END_SRC

View File

@ -60,7 +60,10 @@ sudo pacman -S yay
| =yay -S <package>= | Install |
| =yay -Si <package>= | Get informations |
| =yay -Rs <package>= | Uninstall |
| =yay -Yc <package>= | Clean unneeded dependencies |
| =yay -Yc= | Clean unneeded dependencies |
To check all installed packages:
=pacman -Qq | fzf --preview 'pacman -Qil {}' --layout=reverse --bind 'enter:execute(pacman -Qil {} | less)'=
* Git Setup
https://git-scm.com/