diff --git a/nvim/init.lua b/nvim/init.lua index 5a96671..e192a6f 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -1,2 +1,5 @@ +-- setup lazy require("config.lazy") -vim.cmd([[colorscheme habamax]]) + +-- default color scheme +vim.cmd([[colorscheme habamax]]) \ No newline at end of file diff --git a/nvim/lazy-lock.json b/nvim/lazy-lock.json index 850d50f..da35ede 100644 --- a/nvim/lazy-lock.json +++ b/nvim/lazy-lock.json @@ -1,4 +1,6 @@ { - "gruvbox.nvim": { "branch": "main", "commit": "5e0a460d8e0f7f669c158dedd5f9ae2bcac31437" }, - "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" } + "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" }, + "plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" }, + "telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" }, + "toggleterm.nvim": { "branch": "main", "commit": "50ea089fc548917cc3cc16b46a8211833b9e3c7c" } } diff --git a/nvim/lua/config/lazy.lua b/nvim/lua/config/lazy.lua index 5dc86f4..a294d8b 100644 --- a/nvim/lua/config/lazy.lua +++ b/nvim/lua/config/lazy.lua @@ -30,7 +30,6 @@ require("lazy").setup({ -- Configure any other settings here. See the documentation for more details. -- colorscheme that will be used when installing plugins. install = { colorscheme = { "habamax" } }, - { "ellisonleao/gruvbox.nvim", priority = 1000 , config = true, }, -- automatically check for plugin updates checker = { enabled = true }, -}) +}) \ No newline at end of file diff --git a/nvim/lua/plugins/gruvebox.lua b/nvim/lua/plugins/gruvebox.lua deleted file mode 100644 index 5a105db..0000000 --- a/nvim/lua/plugins/gruvebox.lua +++ /dev/null @@ -1 +0,0 @@ -return { "ellisonleao/gruvbox.nvim", priority = 1000 , config = true } diff --git a/nvim/lua/plugins/telescope.lua b/nvim/lua/plugins/telescope.lua new file mode 100644 index 0000000..c7640f2 --- /dev/null +++ b/nvim/lua/plugins/telescope.lua @@ -0,0 +1,9 @@ +return { + 'nvim-telescope/telescope.nvim', + tag = '0.1.8', + dependencies = { 'nvim-lua/plenary.nvim' }, + config = function() + local builtin = require("telescope.builtin") + vim.keymap.set("n", "", builtin.find_files, { desc = "Find files" }) + end, +} diff --git a/nvim/lua/plugins/toggleterm.lua b/nvim/lua/plugins/toggleterm.lua new file mode 100644 index 0000000..e357594 --- /dev/null +++ b/nvim/lua/plugins/toggleterm.lua @@ -0,0 +1,10 @@ +return { + 'akinsho/toggleterm.nvim', + version = "*", + config = function() + require("toggleterm").setup({}) + -- Map to toggle terminal + vim.keymap.set("n", "", "ToggleTerm", { desc = "Toggle terminal" }) + vim.keymap.set("t", "", "ToggleTerm", { desc = "Toggle terminal" }) + end, +}