diff options
| author | Naz <ndpm13@ch-naseem.com> | 2025-02-08 12:00:48 +0100 |
|---|---|---|
| committer | Naz <ndpm13@ch-naseem.com> | 2025-02-08 12:00:48 +0100 |
| commit | b4d992ea03164a1277427d4b2bd643424f28cb0c (patch) | |
| tree | 13b20f4b2bcc0ff74690cc3c4f1c9f2b7a90f6a9 | |
| parent | 835d362d272bacd38eaa8f0077aeb3ad0d81effc (diff) | |
✨feat: add michaelrommel/nvim-silicon plugin
| -rw-r--r-- | lua/config/mappings.lua | 4 | ||||
| -rw-r--r-- | lua/plugins/silicon.lua | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/lua/config/mappings.lua b/lua/config/mappings.lua index 35963ec..0367d2b 100644 --- a/lua/config/mappings.lua +++ b/lua/config/mappings.lua @@ -61,3 +61,7 @@ end, { desc = "Harpoon Next" }) vim.keymap.set("n", "<C-n>", ":Neotree filesystem toggle float<CR>", { desc = "Toggle Neotree Filesystem" }) vim.keymap.set("n", "<C-b>", ":Neotree buffers toggle float<CR>", { desc = "Toggle Neotree Buffers" }) + +-- silicon keymaps + +vim.api.nvim_set_keymap("v", "<leader>s", ":'<,'>Silicon<CR>", { noremap = true, silent = true, desc = "Silicon" }) diff --git a/lua/plugins/silicon.lua b/lua/plugins/silicon.lua new file mode 100644 index 0000000..444576e --- /dev/null +++ b/lua/plugins/silicon.lua @@ -0,0 +1,11 @@ +return { + "michaelrommel/nvim-silicon", + lazy = true, + cmd = "Silicon", + config = function() + require("silicon").setup({ + font = "CaskaydiaCove NF=34;Noto Color Emoji=34", + background = "#d79921", + }) + end +} |
