#+TITLE: xclipboard layer
* Table of Contents :TOC_4_gh:noexport:
- [[#description][Description]]
- [[#requirements][Requirements]]
- [[#features][Features:]]
- [[#key-bindings][Key bindings]]
* Description
=xclipboard= integration layer.
** Requirements
This layer depends on a few platform-specific command-line tools:
- on OSX, this layer calls =pbcopy=
- on Windows, this layer calls =clip.exe=
- on GNU/Linux systems, this layer relies on =xsel= to be available.
Note that =xsel= might not be installed by default on e.g. Ubuntu systems.
** Features:
- adds copy support to the X-clipboard from the terminal.
- adds paste support to the X-clipboard from the terminal.
* Key bindings
| Key binding | Description |
|-------------+---------------------------------------------|
| ~SPC x p~ | Paste clipboard contents at cursor position |
| ~SPC x y~ | Copy selection to clipboard |