文章列表: 1 篇
2025-10-23
2025-10-23 ~ 2026-01-01
The note is generated by ChatGPT.
This note explains how to:
- Synchronize text copied in a remote Neovim session with your local clipboard via tmux.
- Implement a
cpwdcommand to copy the current working directory of your shell to the local clipboard. - Understand the underlying principle of how tmux buffers bridge remote Neovim and local clipboard.
1. Prerequisites
- tmux 3.3a+ (supports
load-buffer -w) - Neovim installed on the remote server
2. Principle: How tmux Buffers Bridge Remote and Local Clipboard
tmux Buffers as an Intermediate Clipboard