Add nvim config

This commit is contained in:
2026-09-25 11:17:06 +10:00
parent f92bc95a5a
commit 5d4fd4f526
3 changed files with 69 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
return {
"yuukiflow/Arduino-Nvim",
ft = "arduino",
opts = {
use_default_keymaps = false,
keymaps = {
{ mode = "n", key = "<Leader>mc", func = ":InoCheck<CR>" },
{ mode = "n", key = "<Leader>mu", func = ":InoUpload<CR>" },
{ mode = "n", key = "<Leader>ms", func = ":InoStatus<CR>" },
{ mode = "n", key = "<Leader>mg", func = ":InoGUI<CR>" },
{ mode = "n", key = "<Leader>mm", func = ":InoMonitor<CR>" },
{ mode = "n", key = "<Leader>ml", func = ":InoLib<CR>" },
{ mode = "n", key = "<Leader>mb", func = ":InoSelectBoard<CR>" },
{ mode = "n", key = "<Leader>mp", func = ":InoSelectPort<CR>" },
{ mode = "n", key = "<Leader>mr", func = ":InoUploadReset<CR>" },
},
},
dependencies = {
"nvim-telescope/telescope.nvim",
-- optional: remove if you use Neovim's built-in LSP (>= 0.11)
"neovim/nvim-lspconfig",
},
}