nvim,tmux,kitty: full config overhaul (AstroNvim → native 0.12)

Replaces AstroNvim v5 with from-scratch Neovim 0.12 config using
vim.lsp.config()/vim.lsp.enable() natively, lazy.nvim, blink.cmp,
and smart-splits tmux integration.

tmux: new C-Space prefix, hjkl pane nav, resize key table, tpm plugins.
kitty: add allow_remote_control for smart-splits.
This commit is contained in:
2026-04-09 23:30:34 +02:00
parent d5d890aa43
commit ca2b441bb7
58 changed files with 2616 additions and 880 deletions

View File

@@ -1,66 +1,9 @@
-- Grammar & spell checking for LaTeX/Markdown via LanguageTool (LTeX-LS)
return {
-- Tell AstroLSP to manage the ltex server and pass our settings
{
"AstroNvim/astrolsp",
---@param opts AstroLSPOpts
opts = function(_, opts)
opts.servers = opts.servers or {}
if not vim.tbl_contains(opts.servers, "ltex") then table.insert(opts.servers, "ltex") end
-- Extend the ltex server configuration
opts.config = require("astrocore").extend_tbl(opts.config or {}, {
ltex = {
filetypes = { "tex", "plaintex", "bib", "markdown" },
settings = {
ltex = {
-- Run checks on save for performance; switch to "edit" if you prefer live feedback
checkFrequency = "save",
-- Pick the language you want LTeX to check as the document language
language = "en-GB",
-- Mother tongue helps the grammar engine (adjust to your preference)
additionalRules = { motherTongue = "de-DE" },
-- Let ltex_extra manage dictionaries/rules on disk
dictionary = {
["en-GB"] = {},
["de-DE"] = {},
["fr-FR"] = {},
},
disabledRules = {
["en-GB"] = {},
["de-DE"] = {},
["fr-FR"] = {},
},
hiddenFalsePositives = {
["en-GB"] = {},
["de-DE"] = {},
["fr-FR"] = {},
},
},
},
-- hook up ltex_extra when the server attaches
on_attach = function(client, bufnr)
local ok, ltex_extra = pcall(require, "ltex_extra")
if ok then
ltex_extra.setup {
-- load both EN+DE dictionaries; change to your set
load_langs = { "en-GB", "de-DE", "fr-FR" },
init_check = true,
-- store per-project files in .ltex (add to .gitignore if you want)
path = ".ltex",
log_level = "none",
}
end
end,
},
})
end,
},
-- Companion plugin: add-to-dictionary / disable-rule / hide-false-positive
-- ltex_extra: persist custom dictionary/rules to disk
{
"barreiroleo/ltex_extra.nvim",
ft = { "tex", "plaintex", "markdown" },
ft = { "tex", "plaintex", "bib", "markdown" },
lazy = true,
-- Actual setup happens in lua/lsp/ltex.lua on_attach
},
}