diff --git a/dotfiles/nvim/lua/config/keymaps.lua b/dotfiles/nvim/lua/config/keymaps.lua index 09847a4..f6565e8 100644 --- a/dotfiles/nvim/lua/config/keymaps.lua +++ b/dotfiles/nvim/lua/config/keymaps.lua @@ -1,3 +1,18 @@ -- Keymaps are automatically loaded on the VeryLazy event --- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blo}b/main/lua/lazyvim/config/keymaps.lua +-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua -- Add any additional keymaps here +vim.keymap.set({ "i", "x", "n", "s" }, "", function() + require("harpoon"):list():select(1) +end, { desc = "Harpoon file 1" }) + +vim.keymap.set({ "i", "x", "n", "s" }, "", function() + require("harpoon"):list():select(2) +end, { desc = "Harpoon file 2" }) + +vim.keymap.set({ "i", "x", "n", "s" }, "", function() + require("harpoon"):list():select(3) +end, { desc = "Harpoon file 3" }) + +vim.keymap.set({ "i", "x", "n", "s" }, "", function() + require("harpoon"):list():select(4) +end, { desc = "Harpoon file 4" }) diff --git a/dotfiles/nvim/lua/plugins/mrflos.lua b/dotfiles/nvim/lua/plugins/mrflos.lua index d58b031..0cf60ed 100644 --- a/dotfiles/nvim/lua/plugins/mrflos.lua +++ b/dotfiles/nvim/lua/plugins/mrflos.lua @@ -1,6 +1,29 @@ +function ColorMyPencils(color) + color = color or "rose-pine" + vim.cmd.colorscheme(color) + + vim.api.nvim_set_hl(0, "Normal", { bg = "none" }) + vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" }) +end + return { -- theme Rosé Pine - { "rose-pine/neovim", name = "rose-pine" }, + { + "rose-pine/neovim", + name = "rose-pine", + config = function() + require("rose-pine").setup({ + disable_background = true, + styles = { + italic = false, + }, + }) + + vim.cmd("colorscheme rose-pine") + + ColorMyPencils() + end, + }, -- Configure LazyVim to load theme {