Big cleanup for a big commit.

This commit is contained in:
2026-07-15 13:42:14 +02:00
parent 7b642b5868
commit 0b82564494
19 changed files with 556 additions and 753 deletions
+6 -31
View File
@@ -1,6 +1,7 @@
require("vim._core.ui2").enable({})
map = vim.keymap.set
vim.o.termguicolors = true
vim.o.showmode = false
vim.o.nu = true
vim.o.swapfile = false
vim.o.winborder = "single"
@@ -27,6 +28,7 @@ vim.o.completeopt = "menu,menuone,noselect,popup,fuzzy"
vim.o.undofile = true
vim.o.undodir = vim.fn.stdpath("state") .. "/undo"
vim.o.errorformat = "%f(%l:%c) %m,%-G%.%#"
vim.cmd.colorscheme('retrobox')
-- -----------------------------
-- @BINDS
-- -----------------------------
@@ -50,42 +52,15 @@ map("i", "<C-h>", vim.lsp.buf.signature_help)
-- -----------------------------
vim.pack.add({
{ src = 'https://github.com/ibhagwan/fzf-lua' },
{ src = "https://github.com/saghen/blink.lib" },
{ src = "https://github.com/Saghen/blink.cmp" },
{ src = 'https://github.com/neovim/nvim-lspconfig' },
{ src = 'https://github.com/echasnovski/mini.nvim' },
{ src = 'https://github.com/nvim-tree/nvim-tree.lua' },
{ src = 'https://github.com/romus204/tree-sitter-manager.nvim' },
{ src = 'https://github.com/lukas-reineke/indent-blankline.nvim' },
{ src = 'https://github.com/rebelot/kanagawa.nvim' },
{ src = 'https://github.com/xiyaowong/transparent.nvim' },
{ src = "https://github.com/nvim-tree/nvim-tree.lua" },
})
require("terminal")
require("mini.completion").setup()
require('mini.statusline').setup()
require("mini.surround").setup()
require("tree-sitter-manager").setup()
require("ibl").setup({
indent = { char = "" },
scope = { show_start = false, show_end = false },
})
vim.cmd.colorscheme('kanagawa')
vim.api.nvim_set_hl(0, "WinSeparator", { fg = "#54546D" })
-- Lsp specific, uses nvim-lspconfigs with the below
vim.lsp.enable({ "gopls", "ols" })
map("n", "gd", ":lua vim.lsp.buf.definition()<CR>")
map("n", "gr", ":lua vim.lsp.buf.rename()<CR>")
map("n", "ga", ":lua vim.lsp.buf.code_action()<CR>")
require("fzf-lua").setup({})
map("n", "<C-p>", ":FzfLua files<CR>")
map("n", "<C-m>", ":FzfLua buffers<CR>")
map("n", "<C-i>", ":FzfLua diagnostics_workspace<CR>")
map("n", "<C-f>", ":FzfLua live_grep<CR>")
map("n", "<C-b>", ":FzfLua grep_curbuf<CR>")
require("nvim-tree").setup()
map("n", "<C-e>", ":NvimTreeToggle<CR>")
require("plugins")()
-- -----------------------------
-- @AUTOCMDS
-- -----------------------------