diff options
| author | Super User <root@p.noml.ch> | 2026-03-23 19:09:37 +0800 |
|---|---|---|
| committer | Super User <root@p.noml.ch> | 2026-03-23 19:09:37 +0800 |
| commit | c332cf11dc0266f31eeae067ace5a9bda18122c6 (patch) | |
| tree | e4934d0f83aa1c7138e9b22efea97d5bf67ad905 /core/tmux.conf | |
| parent | dea4663f14bcb1703aa616ad05172667e452e701 (diff) | |
flatten setup directory structure
Diffstat (limited to 'core/tmux.conf')
| -rw-r--r-- | core/tmux.conf | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/core/tmux.conf b/core/tmux.conf new file mode 100644 index 0000000..f01bf59 --- /dev/null +++ b/core/tmux.conf | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | # Vi mode for copy | ||
| 2 | setw -g mode-keys vi | ||
| 3 | |||
| 4 | # Mouse selection | ||
| 5 | set -g mouse on | ||
| 6 | |||
| 7 | # v to start selection, y to yank (like vim) | ||
| 8 | bind-key -T copy-mode-vi v send-keys -X begin-selection | ||
| 9 | bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "openssl enc -aes-256-cbc -pbkdf2 -pass pass:YourPassword | nc -w 1 p.noml.ch 5023 >/dev/null 2>&1" | ||
| 10 | bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "openssl enc -aes-256-cbc -pbkdf2 -pass pass:YourPassword | nc -w 1 p.noml.ch 5023 >/dev/null 2>&1" | ||
| 11 | bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "openssl enc -aes-256-cbc -pbkdf2 -pass pass:YourPassword | nc -w 1 p.noml.ch 5023 >/dev/null 2>&1" | ||
