Compare commits
3 Commits
future
...
94ee8df2f9
| Author | SHA1 | Date | |
|---|---|---|---|
| 94ee8df2f9 | |||
| a180f60a98 | |||
| fdcf4c701c |
@@ -1,15 +1,10 @@
|
|||||||
---
|
---
|
||||||
- location: ~/.config/tmux
|
- location: ~/.config/tmux
|
||||||
- apt:
|
- apt:
|
||||||
- libevent-dev
|
- tmux
|
||||||
- ncurses-dev
|
|
||||||
- xsel
|
- xsel
|
||||||
- repo:
|
- brew:
|
||||||
- url: 'https://github.com/tmux/tmux.git'
|
- tmux
|
||||||
location: ~/.local/src/tmux
|
- reattach-to-user-namespace
|
||||||
branch: 2.6
|
|
||||||
actions:
|
|
||||||
- command: ./configure --prefix=$HOME/.local
|
|
||||||
- command: {install: make -j8 install, remove: make uninstall}
|
|
||||||
- symlink:
|
- symlink:
|
||||||
- {src: tmux.conf, dst: ~/.tmux.conf}
|
- {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
|
# Begin selection in copy mode with v not Space
|
||||||
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
||||||
# Yank to the system clipboard in copy mode
|
# 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'"
|
"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
|
# Left status style
|
||||||
|
|||||||
Reference in New Issue
Block a user