Add README and fix dir for copybuffer

This commit is contained in:
Brad Urani 2016-09-21 17:02:11 -07:00
commit d509d42895
2 changed files with 15 additions and 1 deletions

View file

@ -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 |

View file

@ -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
}