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, +}