dotfiles/vim/.vim/blog/Tmux_workflow.md

35 lines
971 B
Markdown
Raw Normal View History

2022-06-07 13:17:19 -04:00
tmux popup containing how2
tmux popup and close
tmux popup containing interpreter for language being edited
tmux jira popup
tmux tig popup?
tmux choose session in a popup
[popups video](https://www.youtube.com/watch?v=2I8fB28zfB4&list=PLTRNG6WIHETB4reAxbWza3CZeP9KL6Bkr&index=1)
[floating popups](https://www.youtube.com/watch?v=2ZqFDsJywt8&list=PLTRNG6WIHETB4reAxbWza3CZeP9KL6Bkr&index=2)
bind small popup, large popup
bind popups in new session to have access across projects
```
# open a popup scratchpad
bind -n M-g display-popup -E "tmux new-session -A -s scratch"
# open my blog in a scratchpad
bind -n M-I popup -E -h 95% -w 95% -x 100% "tmux new-session -A -s waylonwalker_com 'cd ~/git/waylonwalker.com/ && nvim'"
```
use ctrl+caps (alt?) bindings for tmux
```
# Next / prev session
bind -n M-P switch-client -p
bind -n M-N switch-client -n
```
# Copy mode
- `prefix + [`
- start/end selection with space, enter to copy
# Session Selection
- `prefix + s`