From f7df41c8eb6dcd7fc546f725ea4808ca8c32d00a Mon Sep 17 00:00:00 2001 From: Jeremy Kaplan Date: Fri, 18 Sep 2026 10:58:14 -0400 Subject: [PATCH] helix: Add bracket shortcuts for function definitions --- helix/config.toml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/helix/config.toml b/helix/config.toml index 324882a..583dfd4 100644 --- a/helix/config.toml +++ b/helix/config.toml @@ -119,7 +119,19 @@ tabpad = "‒" "b" = ":noop %sh{printf '%%s' $(basename '%{buffer_name}') | cbcopy}" [keys.normal.space] -'*' = [":set-register / %sh{coil fuzzy %{selection}}", "global_search"] +"*" = [":set-register / %sh{coil fuzzy %{selection}}", "global_search"] [keys.select.space] -'*' = [":set-register / %sh{coil fuzzy %{selection}}", "global_search"] +"*" = [":set-register / %sh{coil fuzzy %{selection}}", "global_search"] + +[keys.normal."["] +"F" = "@maf;" + +[keys.select."["] +"F" = "@maf" + +[keys.normal."]"] +"F" = "@maf;" + +[keys.select."]"] +"F" = "@maf"