From e9d286d705a0ee6423e0807468dee3d2339b2f39 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Sun, 12 Jul 2026 15:55:46 -0400 Subject: [PATCH] feat(plugins): add keymaps for Supermaven and Yazi integrations --- lua/plugins/astrocore.lua | 1 + lua/plugins/yazi.lua | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/lua/plugins/astrocore.lua b/lua/plugins/astrocore.lua index 719db37..dbdcce6 100644 --- a/lua/plugins/astrocore.lua +++ b/lua/plugins/astrocore.lua @@ -313,6 +313,7 @@ return { function() with_trouble("lsp_workspace_symbols") end, desc = "Search LSP workspace symbols ( sends to Trouble)", }, + [""] = { "SupermavenToggle", desc = "Toggle Supermaven" }, ["u"] = { desc = "UI Toggles" }, ["ud"] = { diff --git a/lua/plugins/yazi.lua b/lua/plugins/yazi.lua index f4d3e24..e8a10fc 100644 --- a/lua/plugins/yazi.lua +++ b/lua/plugins/yazi.lua @@ -57,6 +57,17 @@ return { yazi_floating_window_border = "none", keymaps = { show_help = "", + -- Open the hovered/selected file(s) as nvim splits. These are + -- buffer-local terminal-mode keymaps on the yazi buffer, so nvim + -- intercepts the chord before the yazi process ever sees it -- + -- nothing is needed in ~/.config/yazi/keymap.toml. Chords match + -- the telescope/snacks picker convention (//). + open_file_in_vertical_split = "", + open_file_in_horizontal_split = "", + -- NOTE: the default (open in tab) shadows the yazi-side + -- "plugin tv" bind from keymap.toml while inside nvim; + -- set open_file_in_tab = false to let reach yazi/tv instead + open_file_in_tab = "", -- ~/.config/yazi/keymap.toml binds to quit inside yazi; -- don't hijack it for the quickfix list (multi-select still goes -- to the quickfix list via the default yazi_opened_multiple_files)