aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKutsan Kaplan <me@kutsankaplan.com>2017-10-27 20:46:19 +0300
committerKutsan Kaplan <me@kutsankaplan.com>2017-10-27 20:46:19 +0300
commite0f5e9d0c004c6f5e88429328880c2c3c3aa2041 (patch)
treefcab3091816671584dc601c36cfad70a5bff2b61
parent9c1474d670785023c3ee988f6f377e3135a1464c (diff)
downloadzsh-system-clipboard.zsh-e0f5e9d0c004c6f5e88429328880c2c3c3aa2041.tar.xz
zsh-system-clipboard.zsh-e0f5e9d0c004c6f5e88429328880c2c3c3aa2041.zip
Add demonstration GIF
Diffstat (limited to '')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index b7c96b0..336bebf 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,8 @@
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).
+![Demonstration](https://i.imgur.com/LyL0GfQ.gif)
+
By default, ZLE has its own clipboard buffer. So, using keys like <kbd>y</kbd> when ZLE's normal mode for yanking operations will not send that yanked text to system clipboard. It will live inside ZLE and using <kbd>C-v</kbd> won't paste that text in another program. This plugin synchronize your system clipboard with ZLE buffers while it's not overriding anything. You can still use ZLE's <kbd>"</kbd> register if you want to.
It also synchronize [tmux](https://github.com/tmux/tmux) clipboard buffers if tmux available and the `ZSH_SYSTEM_CLIPBOARD_TMUX_SUPPORT` variable is set to `'true'`. See "Options" section for more details.