From 4997ff118702a112450c42e7c971f33645ad2d5e Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Sat, 12 Apr 2025 15:45:05 -0400 Subject: [PATCH] AutoYADM commit: 2025-04-12 15:45:05 --- .config/helix/config.toml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.config/helix/config.toml b/.config/helix/config.toml index ce731047..222d55fb 100644 --- a/.config/helix/config.toml +++ b/.config/helix/config.toml @@ -158,6 +158,14 @@ o = ":sh ~/.config/helix/scripts/get_git_provider_url.fish %{buffer_name} %{curs [keys.normal."["] x = "extend_line_above" + +[keys.normal.space.m] +m = '@ks*' +t = '@:insert-output cat % | markdown-toc --bullets - --no-firsth1 -' +[keys.select.space.m] +m = '@ks*' +t = '@:insert-output cat % | markdown-toc --bullets - --no-firsth1 -' + [keys.normal.space] # yazi integration space = [ @@ -170,7 +178,6 @@ space = [ ] # insert markdown toc :) -m = {t = {o = {c = '@:insert-output cat % | markdown-toc --bullets - --no-firsth1 -'}}} p = ''' :append-output clipcat-menu --finder custom --custom-finder-program-path fuzzel --custom-finder-arguments=--dmenu,--placeholder=Clipboard --config <(printf "[log]\nemit_stdout = true\n") | grep -q 'Nothing is selected' && exit 1 || wl-paste'''