Compare commits

..

3 Commits

4 changed files with 27 additions and 10 deletions

View File

@@ -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}

21
layouts/session-work Normal file
View File

@@ -0,0 +1,21 @@
rename-session work
rename-window home
new-window -c ~/Projects/ComputeAorta/ComputeAorta
rename-window ComputeAorta
split-window -v -p 34 -c ~/Projects/ComputeAorta/ComputeAorta
new-window -c ~/Projects/ComputeAorta/LLVM
rename-window LLVM
split-window -v -p 34 -c ~/Projects/ComputeAorta/LLVM
new-window -c ~/Projects/ComputeAorta/alternate/ComputeAorta
rename-window ComputeAorta
split-window -v -p 34 -c ~/Projects/ComputeAorta/alternate/ComputeAorta
new-window -c ~/Projects/ComputeAorta/Jenkins
rename-window Jenkins
split-window -v -p 34 -c ~/Projects/ComputeAorta/Jenkins
move-window -s work:Jenkins -t 9
# vim: filetype=conf

View File

@@ -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