feat(util): re-source autosave, re-add remote-nvim, and remap icon-picker key

Use a better provider for auto-save plugin. Re-implement the remote-nvim plugin. Re-map the icon-picker key in insert mode to <C-.>
This commit is contained in:
2024-08-06 02:40:00 -04:00
parent a850e33415
commit c2935cabff
+20 -3
View File
@@ -56,8 +56,14 @@ return {
config = true, config = true,
}, },
{ -- Auto-save { -- Auto-save
"Pocco81/auto-save.nvim", "okuuva/auto-save.nvim",
event = "BufEnter", cmd = "ASToggle",
event = { "InsertLeave", "TextChanged" },
opts = {
execution_message = {
enabled = false,
},
},
}, },
{ -- Ripgrep substitute { -- Ripgrep substitute
"chrisgrieser/nvim-rip-substitute", "chrisgrieser/nvim-rip-substitute",
@@ -121,7 +127,7 @@ return {
desc = "Yank Icon", desc = "Yank Icon",
}, },
{ -- Insert Icon in insert mode { -- Insert Icon in insert mode
"<C-i>", "<C-.>",
"<cmd>IconPickerInsert<cr>", "<cmd>IconPickerInsert<cr>",
desc = "Insert Icon", desc = "Insert Icon",
mode = "i", mode = "i",
@@ -296,4 +302,15 @@ return {
set_ft = "qalc", set_ft = "qalc",
}, },
}, },
{ -- Remote-nvim
"amitds1997/remote-nvim.nvim",
lazy = true,
version = "*", -- Pin to GitHub releases
dependencies = {
"nvim-lua/plenary.nvim", -- For standard functions
"MunifTanjim/nui.nvim", -- To build the plugin UI
"nvim-telescope/telescope.nvim", -- For picking b/w different remote methods
},
config = true,
},
} }