Compare commits
3 Commits
future
...
94ee8df2f9
| Author | SHA1 | Date | |
|---|---|---|---|
| 94ee8df2f9 | |||
| a180f60a98 | |||
| fdcf4c701c |
@@ -1,15 +1,10 @@
|
||||
---
|
||||
- location: ~/.config/tmux
|
||||
- apt:
|
||||
- libevent-dev
|
||||
- ncurses-dev
|
||||
- tmux
|
||||
- xsel
|
||||
- repo:
|
||||
- url: 'https://github.com/tmux/tmux.git'
|
||||
location: ~/.local/src/tmux
|
||||
branch: 2.6
|
||||
actions:
|
||||
- command: ./configure --prefix=$HOME/.local
|
||||
- command: {install: make -j8 install, remove: make uninstall}
|
||||
- brew:
|
||||
- tmux
|
||||
- reattach-to-user-namespace
|
||||
- symlink:
|
||||
- {src: tmux.conf, dst: ~/.tmux.conf}
|
||||
|
||||
@@ -71,7 +71,8 @@ bind-key C-u copy-mode -u
|
||||
# Begin selection in copy mode with v not Space
|
||||
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
||||
# Yank to the system clipboard in copy mode
|
||||
if -b '[ "`uname`" = "Linux" ]' \
|
||||
if -b '[ "`uname`" = "Darwin" ]' \
|
||||
"bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'reattach-to-user-namespace pbcopy'" \
|
||||
"bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xsel -i -p && xsel -o -p | xsel -i -b'"
|
||||
|
||||
# Left status style
|
||||
|
||||
Reference in New Issue
Block a user