diff --git a/plugins/copybuffer/README.md b/plugins/copybuffer/README.md new file mode 100644 index 000000000..ddb740405 --- /dev/null +++ b/plugins/copybuffer/README.md @@ -0,0 +1,14 @@ +# `copybuffer` plugin + +This plugin adds a keybinding that copies the command line buffer contents to +the system clipboard. + +```zsh +plugins=(... copybuffer) +``` + +## Features + +| Keybinding | Command | Description | +|------------|----------------|----------------------------------------------------| +| `ctrl-o` | `copybuffer` | Copies the command line buffer to system clipboard | diff --git a/plugins/copybuffer.zsh b/plugins/copybuffer/copybuffer.plugin.zsh similarity index 71% rename from plugins/copybuffer.zsh rename to plugins/copybuffer/copybuffer.plugin.zsh index 8545c189d..cc205d40f 100644 --- a/plugins/copybuffer.zsh +++ b/plugins/copybuffer/copybuffer.plugin.zsh @@ -5,7 +5,7 @@ copybuffer () { if which clipcopy &>/dev/null; then echo $BUFFER | clipcopy else - echo "you must install clipcopy to use this keybinding" + echo "clipcopy function not found. Please make sure you have Oh My Zsh installed correctly." fi }