{"repo":"kutsan/zsh-system-clipboard","free":true,"listed":false,"github":"https://github.com/kutsan/zsh-system-clipboard","clone":"git clone https://github.com/kutsan/zsh-system-clipboard.git","description":"System clipboard key bindings for Zsh Line Editor with vi mode. It is similar to what `set clipboard=unnamed` does for vim.","language":"Shell","stars":182,"topics":["zsh","zsh-plugin"],"license":"GPL-3.0","category":"cli-tools","readme_excerpt":"zsh-system-clipboard Zsh plugin that adds key bindings support for ZLE (Zsh Line Editor) clipboard operations for vi emulation keymaps. It works under Linux, macOS and Android (via Termux). By default, ZLE has its own clipboard buffer. So, using keys like y inside ZLE's normal mode for yanking operations will not send that yanked text to system clipboard. It will live inside ZLE and using C-v won't paste that text in another program. This plugin synchronizes your system clipboard with ZLE buffers while it's not overriding anything. You can still use ZLE's \" register if you want to. It also supports synchronizing to tmux' (or tmate's) clipboard instead of the system's clipboard . See Options section for more details. Installation Using Plugin Managers Use your favorite plugin manager, e.g. zplug: Manually Clone this repository somewhere, Source the zsh-system-clipboard.zsh file in your /.zshrc . The script zsh-system-clipboard.zsh parses the output of bindkey -M vicmd , bindkey -M emacs , bindkey -M visual in order to rebind your keys (along with the default ones) the ZLE widgets functions that copy from and paste to the system clipboard. This means that you should put all of your bindings before sourcing zsh-system-clipboard.zsh in your /.zshrc . Note: widget functions that replace builtin functions for the emacs keymap are not yet written (see #12). Options ZSH SYSTEM CLIPBOARD METHOD Sets the clipboard method to either of these options: method value meaning ------------ ---","default_branch":null,"files":null,"tree":[],"storefront":"/r/kutsan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kutsan/zsh-system-clipboard/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}