From dcdb0d35273c50088461be4cfef92ada3ccc8925 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Mon, 5 Oct 2026 11:38:12 -0400 Subject: [PATCH] feat(plugins): add omp.nvim plugin and toggle keybinding --- lua/plugins/astrocore.lua | 1 + lua/plugins/omp.lua | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 lua/plugins/omp.lua diff --git a/lua/plugins/astrocore.lua b/lua/plugins/astrocore.lua index b6bb6bc..d1fdc4b 100644 --- a/lua/plugins/astrocore.lua +++ b/lua/plugins/astrocore.lua @@ -482,6 +482,7 @@ return { desc = "Search diagnostics ( sends to Trouble)", }, [""] = { "SupermavenToggle", desc = "Toggle Supermaven" }, + [""] = { function() require("config.omp_term").toggle() end, desc = "Toggle Oh My Pi" }, -- u toggles are mapped through Snacks.toggle in -- config.toggles (called from polish.lua) so which-key renders their diff --git a/lua/plugins/omp.lua b/lua/plugins/omp.lua new file mode 100644 index 0000000..c0c72fc --- /dev/null +++ b/lua/plugins/omp.lua @@ -0,0 +1,8 @@ +-- omp.nvim: streams the active file / cursor line / visual selection to a +-- running Oh My Pi session over a unix socket. Needs the OMP-side extension +-- (`omp plugin install omp.nvim`). Toggle bind: in astrocore.lua. +return { + "rauls-kjarners/omp.nvim", + event = "VeryLazy", + config = function() require("omp").setup() end, +}