feat: Initial nvim configs

This commit is contained in:
2026-08-18 21:47:15 +01:00
commit 6bc5875bad
12 changed files with 124 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
vim.keymap.set("n", "<Leader>tt", function()
require("nvim-tree.api").tree.toggle()
end, { desc = "Open directory tree" })
+17
View File
@@ -0,0 +1,17 @@
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
vim.opt.number = true
vim.opt.relativenumber = true
vim.opt.undofile = true
vim.g.mapleader = " "
vim.opt.expandtab = true
vim.opt.tabstop = 4
vim.opt.shiftwidth = 0
vim.o.scrolloff = 20
vim.opt.signcolumn = 'yes'
+6
View File
@@ -0,0 +1,6 @@
return {
{
"saecki/crates.nvim",
ft = { "toml" },
}
}
+3
View File
@@ -0,0 +1,3 @@
return {
{ "ellisonleao/gruvbox.nvim", priority = 1000 , config = function() vim.cmd([[colorscheme gruvbox]]) end, opts = ...},
}
+3
View File
@@ -0,0 +1,3 @@
return {
{ "neovim/nvim-lspconfig" },
}
+9
View File
@@ -0,0 +1,9 @@
return {
{
"https://github.com/nvim-lualine/lualine.nvim",
event = "VeryLazy",
config = function()
require("lualine").setup()
end,
},
}
+9
View File
@@ -0,0 +1,9 @@
return {
{
"https://github.com/windwp/nvim-autopairs",
event = "InsertEnter",
config = function()
require("nvim-autopairs").setup()
end,
},
}
+13
View File
@@ -0,0 +1,13 @@
return {
{
"nvim-tree/nvim-tree.lua",
dependencies = { "nvim-tree/nvim-web-devicons" },
config = function()
require("nvim-tree").setup({
filters = {
dotfiles = true,
},
})
end
},
}
+18
View File
@@ -0,0 +1,18 @@
return {
{
"saghen/blink.cmp",
dependencies = {
"saghen/blink.lib",
},
build = function()
require("blink.cmp").build():pwait()
end,
opts = {
keymap = { preset = "default" },
}
},
{
"mrcjkb/rustaceanvim",
ft = { "rust" },
}
}
+6
View File
@@ -0,0 +1,6 @@
return {
{
"https://github.com/farmergreg/vim-lastplace",
event = "BufReadPost",
},
}