1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-26 23:04:49 +03:00
wezterm/docs/config/lua/keyassignment/Copy.md

22 lines
356 B
Markdown

# Copy
Copy the selection to the clipboard.
*since: 20210203-095643-70a364eb*
This action is considered to be deprecated and will be removed in
a future release; please use [CopyTo](CopyTo.md) instead.
## Example
```lua
local wezterm = require 'wezterm'
return {
keys = {
{ key = 'C', mods = 'CTRL', action = wezterm.action.Copy },
},
}
```