1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-01 09:13:10 +03:00
wezterm/docs/config/lua
Wez Furlong 8dad34fa61 more configuration options for Copy/Paste
* Adds `CopyTo` and `PasteFrom` assignments that specify the
  destination/source.
* Adds `default_clipboard_copy_destination` and `default_paste_source`
  config options that specify the default destination/source for
  existing `Copy` and `Paste` operations (for @bew)
* Deprecating `PastePrimarySelection` in favor of `PasteFrom`.
* Added `CTRL-Insert` -> `Copy` (for @Babar)

Aside from the new key assignment, these changes shouldn't change
the default behavior, but do make it easier to consider changing
that in a later commit.

They should allow for example:

* Set `default_clipboard_copy_destination = "PrimarySelection"` to
  prevent populating the clipboard by default when using the mouse.
* Overriding the CTRL-Insert, CTRL-SHIFT-C to explicitly populate
  the clipboard
* Set `default_paste_source = "PrimarySelection"` for middle click
  to paste the selection.
* Overriding SHIFT-Insert, CTRL-SHIFT-V to explicitly paste from
  the clipboard.

refs: #417
2021-01-27 10:20:17 -08:00
..
config more configuration options for Copy/Paste 2021-01-27 10:20:17 -08:00
keyassignment more configuration options for Copy/Paste 2021-01-27 10:20:17 -08:00
pane docs: update for 20201031-154415-9614e117 release 2020-10-31 15:51:08 -07:00
wezterm docs: fix custom event example 2021-01-01 20:07:46 -08:00
window docs: update for 20201031-154415-9614e117 release 2020-10-31 15:51:08 -07:00
general.md docs: start adding a reference section for Config 2021-01-18 17:31:39 -08:00
SpawnCommand.md docs: more pane related docs 2020-10-10 10:49:36 -07:00