mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 17:36:19 +04:00
a2b8cfca34
This commit adds six new commands to interact with system clipboard: - clipboard-yank - clipboard-yank-join - clipboard-paste-after - clipboard-paste-before - clipboard-paste-replace - show-clipboard-provider System clipboard provider is detected by checking a few environment variables and executables. Currently only built-in detection is supported. `clipboard-yank` will only yank the "main" selection, which is currently the first one. This will need to be revisited later. Closes https://github.com/helix-editor/helix/issues/76
40 lines
1.1 KiB
TOML
40 lines
1.1 KiB
TOML
[package]
|
|
name = "helix-view"
|
|
version = "0.2.0"
|
|
authors = ["Blaž Hrastnik <blaz@mxxn.io>"]
|
|
edition = "2018"
|
|
license = "MPL-2.0"
|
|
description = "UI abstractions for use in backends"
|
|
categories = ["editor"]
|
|
repository = "https://github.com/helix-editor/helix"
|
|
homepage = "https://helix-editor.com"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[features]
|
|
term = ["tui", "crossterm"]
|
|
default = ["term"]
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
helix-core = { version = "0.2", path = "../helix-core" }
|
|
helix-lsp = { version = "0.2", path = "../helix-lsp"}
|
|
|
|
# Conversion traits
|
|
tui = { path = "../helix-tui", package = "helix-tui", default-features = false, features = ["crossterm"], optional = true }
|
|
crossterm = { version = "0.20", features = ["event-stream"], optional = true }
|
|
once_cell = "1.8"
|
|
url = "2"
|
|
|
|
tokio = { version = "1", features = ["full"] }
|
|
futures-util = { version = "0.3", features = ["std", "async-await"], default-features = false }
|
|
|
|
slotmap = "1"
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
toml = "0.5"
|
|
log = "~0.4"
|
|
|
|
which = "4.1"
|
|
|