From 2ffc18d4855694f723a86d5bbf53dea95e9a0251 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Sun, 9 Mar 2025 14:45:03 -0400 Subject: [PATCH] AutoYADM commit: 2025-03-09 14:45:03 --- .config/helix/config.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.config/helix/config.toml b/.config/helix/config.toml index 6b233c73..76828076 100644 --- a/.config/helix/config.toml +++ b/.config/helix/config.toml @@ -133,6 +133,15 @@ C-u = ["page_cursor_half_up", "align_view_center"] [keys.normal."["] x = "extend_line_above" [keys.normal.space] +# yazi integration +space = [ + ':sh rm -f /tmp/yazi-path', + ':insert-output yazi %{buffer_name} --chooser-file=/tmp/yazi-path', + ':open %sh{cat /tmp/yazi-path}', + ':redraw', + ':set mouse false', + ':set mouse true', +] 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''' P = '''