From 4edbe8fe935c7ba806e209642895c8f550307de1 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Wed, 26 Mar 2025 17:56:19 -0500 Subject: [PATCH] cmd+j to search --- app/views/terminals/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/terminals/show.html.erb b/app/views/terminals/show.html.erb index 26eb4a583..58a7f663d 100644 --- a/app/views/terminals/show.html.erb +++ b/app/views/terminals/show.html.erb @@ -5,7 +5,7 @@ <%= turbo_frame_tag "terminal_form" do %> - <%= link_to edit_terminal_path, class: "terminal__link flex align-center gap-half min-width" do %> + <%= link_to edit_terminal_path, class: "terminal__link flex align-center gap-half min-width", data: { action: "keydown.meta+j@document->hotkey#click", controller: "hotkey" } do %> Fizzy do > Search or type commands… <% end %>