feat: real improvements on remaps + organization

This commit is contained in:
2026-07-11 00:54:33 +02:00
parent 2c15d04597
commit 06e6665f52
8 changed files with 374 additions and 385 deletions

View File

@@ -25,7 +25,7 @@ vim.o.sessionoptions = "blank,buffers,curdir,folds,help,tabpages,winsize,winpos,
-- ╭─────────────╮
-- │ Colorscheme │
-- ╰─────────────╯
vim.cmd("colorscheme komau") -- rose-pine, gruvbox, koda-{dark/light/moss/glade}, komau
vim.cmd("colorscheme rose-pine") -- rose-pine, gruvbox, koda-{dark/light/moss/glade}, komau
vim.o.background = "dark" -- "dark" or "light"
-- ╭───────────────────╮
@@ -36,12 +36,12 @@ vim.cmd("set clipboard=unnamedplus")
-- ╭───────╮
-- │ Chars │
-- ╰───────╯
-- vim.opt.fillchars = {
-- horiz = "-",
-- vert = "▏", -- │ ▎▍▌▋▊▉█
-- stl = " ",
-- eob = " ",
-- }
vim.opt.fillchars = {
-- horiz = "-",
-- vert = "▏", -- │ ▎▍▌▋▊▉█
stl = " ",
eob = " ",
}
vim.opt.listchars = {
tab = "> ",
trail = " ",
@@ -52,8 +52,21 @@ vim.fn.sign_define("DiagnosticSignWarn", { text = " ", texthl = "DiagnosticSi
vim.fn.sign_define("DiagnosticSignInfo", { text = "", texthl = "DiagnosticSignInfo" })
vim.fn.sign_define("DiagnosticSignHint", { text = "󰌵", texthl = "DiagnosticSignHint" })
-- ╭─────────────────────╮
-- │ IA initial disables │
-- ╰─────────────────────╯
vim.b.copilot_enabled = false
vim.g.copilot_enabled = false
vim.diagnostic.config({
virtual_text = false, -- floating text next to code is too noisy
underline = true,
signs = {
text = {
[vim.diagnostic.severity.ERROR] = "",
[vim.diagnostic.severity.WARN] = "",
[vim.diagnostic.severity.INFO] = "",
[vim.diagnostic.severity.HINT] = "󰌵",
},
linehl = {
[vim.diagnostic.severity.ERROR] = "ErrorMsg",
},
numhl = {
[vim.diagnostic.severity.WARN] = "WarningMsg",
},
},
})