Neovim (LaTeX): - Add TeX ftplugin: spell (en_US,de_DE), soft-wrap + linebreak, conceal=2, no hard wrap - Add plugins: vimtex (zathura; latexmk with LuaLaTeX + shell-escape), LTeX language server via astrolsp + ltex_extra (check on save; motherTongue=de-DE), blink.cmp integration (cmp-vimtex, cmp-latex-symbols → insert macros), LuaSnip LaTeX snippets, Treesitter “latex”, nabla.nvim (inline/popup math; <leader>mp/<leader>mv) Hyprland: - Set master.orientation=left; comment out center_master_* options Counter-Strike autoexec: - Rebind +lookatweapon → MOUSE5; map R → lastinv; radio on Y/U/I/H; J → +radialradio - Crosshair tweaks: size 2.5, gap -3, no outline, alpha off - Mouse: sensitivity 0.619; zoom_sensitivity_ratio 1.0 - Viewmodel: offset_x -2; cl_prefer_lefthanded 0 - Video/perf: gamma 1.6; set fps_max/fps_max_ui 0; drop legacy perf/network cvars (mat_queue_mode, cl_forcepreload, rate/interp*) - HUD cleanup: disable target ID; remove +cl_show_team_equipment GTK: - Add bookmark: Documents/ttrpg/dsa5
25 lines
710 B
Lua
25 lines
710 B
Lua
return {
|
|
"lervag/vimtex",
|
|
lazy = false, -- load immediately (recommended by astrocommunity)
|
|
init = function()
|
|
-- Viewer
|
|
vim.g.vimtex_view_method = "zathura"
|
|
|
|
-- Compiler: latexmk + LuaLaTeX
|
|
vim.g.vimtex_compiler_method = "latexmk"
|
|
-- Option A: pass -lualatex explicitly to latexmk
|
|
vim.g.vimtex_compiler_latexmk = {
|
|
options = {
|
|
"-lualatex",
|
|
"-synctex=1",
|
|
"-interaction=nonstopmode",
|
|
"-file-line-error",
|
|
-- remove if you don't need shell-escape:
|
|
"-shell-escape",
|
|
},
|
|
}
|
|
-- Option B (also helpful): make LuaLaTeX the default engine for latexmk
|
|
vim.g.vimtex_compiler_latexmk_engines = { _ = "-lualatex" }
|
|
end,
|
|
}
|