Zsh plugin that synchronizes ZLE clipboard operations with the system clipboard for vi mode key bindings.
zsh-system-clipboard is a Zsh plugin that adds system clipboard support to the Zsh Line Editor (ZLE) for vi mode key bindings. It synchronizes ZLE's internal clipboard buffer with the system clipboard, allowing users to copy and paste text between the terminal and other applications seamlessly. The plugin solves the limitation where ZLE's yank and paste operations are isolated from the system clipboard.
Zsh users who work with vi mode key bindings and want to integrate their terminal's clipboard with the system clipboard for improved productivity. It is particularly useful for developers and system administrators who frequently copy-paste between the terminal and other tools.
Developers choose zsh-system-clipboard because it provides a lightweight, non-invasive solution to a common Zsh limitation. Unlike manual workarounds, it offers configurable clipboard backends, cross-platform support, and seamless integration with existing vi key bindings without breaking ZLE's native functionality.
System clipboard key bindings for Zsh Line Editor with vi mode. It is similar to what set clipboard=unnamed does for vim.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports Linux, macOS, and Android via configurable backends like xsel, xclip, and pbcopy, as detailed in the README's options table for flexible clipboard handling.
Does not override ZLE's native registers, allowing users to retain existing workflows while adding clipboard sync, ensuring backward compatibility.
Can synchronize with tmux or tmate buffers instead of the system clipboard, useful for remote sessions where GUI clipboard access is limited, as explained in the options section.
Exposes zsh-system-clipboard-set and -get functions for external use, providing a standalone cross-platform clipboard API for automation in Zsh scripts.
The README explicitly states that widget functions for the emacs keymap are not yet written (see issue #12), limiting functionality for users who prefer emacs bindings.
Requires manual key binding management and backend selection, with potential for conflicts if custom bindings are not set before sourcing the plugin, as noted in the installation instructions.
Depends on separate tools like xsel or xclip for Linux systems, which must be installed independently, adding setup overhead and potential compatibility issues.