From e0e15c3b7928dbebe882b3aca6fa0978b2219391 Mon Sep 17 00:00:00 2001 From: Jeremy Kaplan Date: Fri, 4 Sep 2026 21:56:00 -0400 Subject: [PATCH] helix: Use space.y.* to yank path components --- helix/config.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/helix/config.toml b/helix/config.toml index 218c82c..80ad4ae 100644 --- a/helix/config.toml +++ b/helix/config.toml @@ -81,3 +81,9 @@ tabpad = "‒" [keys.normal.space.t] "w" = ":toggle whitespace.render all none" "W" = ":toggle soft-wrap.enable" + +[keys.normal.space.y] +"y" = "yank_to_clipboard" +"p" = ":noop %sh{printf '%%s' '%{buffer_name}' | cbcopy}" +"d" = ":noop %sh{printf '%%s' $(dirname '%{buffer_name}') | cbcopy}" +"b" = ":noop %sh{printf '%%s' $(basename '%{buffer_name}') | cbcopy}"