feat(plugins): add omp.nvim plugin and toggle keybinding
This commit is contained in:
1 parent
d3cc8043d1
commit
dcdb0d3527
2 files changed
+9
No files matched your search
@@ -482,6 +482,7 @@ return {
|
|||||||
desc = "Search diagnostics (<C-t> sends to Trouble)",
|
desc = "Search diagnostics (<C-t> sends to Trouble)",
|
||||||
},
|
},
|
||||||
["<C-a><C-s>"] = { "<Cmd>SupermavenToggle<CR>", desc = "Toggle Supermaven" },
|
["<C-a><C-s>"] = { "<Cmd>SupermavenToggle<CR>", desc = "Toggle Supermaven" },
|
||||||
|
["<C-a><C-a>"] = { function() require("config.omp_term").toggle() end, desc = "Toggle Oh My Pi" },
|
||||||
|
|
||||||
-- <Leader>u toggles are mapped through Snacks.toggle in
|
-- <Leader>u toggles are mapped through Snacks.toggle in
|
||||||
-- config.toggles (called from polish.lua) so which-key renders their
|
-- config.toggles (called from polish.lua) so which-key renders their
|
||||||
|
|||||||
@@ -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: <C-a><C-a> in astrocore.lua.
|
||||||
|
return {
|
||||||
|
"rauls-kjarners/omp.nvim",
|
||||||
|
event = "VeryLazy",
|
||||||
|
config = function() require("omp").setup() end,
|
||||||
|
}
|
||||||
Reference in new issue
Block a user