Squashed commit of the following:

commit 7322bc0f73
Author: anth64 <anth64@protonmail.com>
Date:   Tue Apr 15 22:21:09 2025 +0200

    use lspconfig

commit 5577628a22
Author: anth64 <anth64@protonmail.com>
Date:   Tue Apr 15 20:08:14 2025 +0200

    reorderd lazy and config

commit 7f1a3b82da
Author: anth64 <anth64@protonmail.com>
Date:   Tue Apr 15 19:29:43 2025 +0200

    add colorschemes, default to moonfly

commit 466c8cf410
Author: anth64 <anth64@protonmail.com>
Date:   Tue Apr 15 18:51:56 2025 +0200

    make it work on windows as well

commit a9d9c2199d
Author: anth64 <anth64@protonmail.com>
Date:   Fri Apr 11 07:26:54 2025 +0200

    added jdtls and newline to end of files

commit 4db9e65e6f
Author: anth64 <anth64@protonmail.com>
Date:   Thu Apr 10 22:33:16 2025 +0200

    remove redundant remap of mapleader

commit bb0ad9af1b
Author: anth64 <anth64@protonmail.com>
Date:   Thu Apr 10 22:28:45 2025 +0200

    readd telescope and harpoon

commit 1a56e26e6b
Author: anth64 <anth64@protonmail.com>
Date:   Thu Apr 10 22:20:12 2025 +0200

    redid mapping, set and util, also readded nvim-cmp and cmp-nvim-lsp

commit 690e575c03
Author: anth64 <anth64@protonmail.com>
Date:   Wed Apr 9 23:23:51 2025 +0200

    make sure that colorscheme is not touched

commit 0ab0b593f2
Author: anth64 <anth64@protonmail.com>
Date:   Wed Apr 9 22:56:58 2025 +0200

    add lazy.nvim and lualine plugin

commit a8dd286e39
Author: anth64 <anth64@protonmail.com>
Date:   Wed Apr 9 07:59:00 2025 +0200

    initial configuration
This commit is contained in:
2025-04-16 07:41:42 +02:00
parent b7e3d43782
commit 6c9250d1da
9 changed files with 83 additions and 153 deletions
+38 -37
View File
@@ -1,41 +1,42 @@
return {
{
"theprimeagen/harpoon",
config = function()
local mark = require("harpoon.mark")
local ui = require("harpoon.ui")
{
"mbbill/undotree",
config = function()
vim.keymap.set("n", "<leader>u", vim.cmd.UndotreeToggle)
end,
},
{
"tpope/vim-fugitive",
config = function()
vim.keymap.set("n", "<leader>gs", vim.cmd.Git)
end,
},
{
"nvim-telescope/telescope.nvim",
dependencies = {"nvim-lua/plenary.nvim"},
config = function()
local builtin = require('telescope.builtin')
vim.keymap.set('n', '<leader>pf', builtin.find_files, {})
vim.keymap.set('n', '<C-p>', builtin.git_files, {})
vim.keymap.set('n', '<leader>ps', function()
builtin.grep_string({ search = vim.fn.input("Grep > ") });
end)
end,
},
{
"theprimeagen/harpoon",
config = function()
local mark = require("harpoon.mark")
local ui = require("harpoon.ui")
vim.keymap.set("n", "<leader>a", mark.add_file)
vim.keymap.set("n", "<C-e>", ui.toggle_quick_menu)
vim.keymap.set("n", "<leader>a", mark.add_file)
vim.keymap.set("n", "<C-e>", ui.toggle_quick_menu)
vim.keymap.set("n", "<C-h>", function() ui.nav_file(1) end)
vim.keymap.set("n", "<C-t>", function() ui.nav_file(2) end)
vim.keymap.set("n", "<C-n>", function() ui.nav_file(3) end)
vim.keymap.set("n", "<C-s>", function() ui.nav_file(4) end)
end,
},
{
"mbbill/undotree",
config = function()
vim.keymap.set("n", "<leader>u", vim.cmd.UndotreeToggle)
end,
},
{
"tpope/vim-fugitive",
config = function()
vim.keymap.set("n", "<leader>gs", vim.cmd.Git)
end,
},
{
"nvim-telescope/telescope.nvim",
dependencies = {"nvim-lua/plenary.nvim"},
config = function()
local builtin = require('telescope.builtin')
vim.keymap.set('n', '<leader>pf', builtin.find_files, {})
vim.keymap.set('n', '<C-p>', builtin.git_files, {})
vim.keymap.set('n', '<leader>ps', function()
builtin.grep_string({ search = vim.fn.input("Grep > ") });
end)
end,
}
vim.keymap.set("n", "<C-h>", function() ui.nav_file(1) end)
vim.keymap.set("n", "<C-t>", function() ui.nav_file(2) end)
vim.keymap.set("n", "<C-n>", function() ui.nav_file(3) end)
vim.keymap.set("n", "<C-s>", function() ui.nav_file(4) end)
end
}
}