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'''