From ebf9ea33d315dd3ab69e92c01bea7fedd5d47cdf Mon Sep 17 00:00:00 2001 From: Matthias Puchstein Date: Mon, 17 Nov 2025 09:56:39 +0100 Subject: [PATCH] [nvim] fixed tex, [cs2] fixed sens, [zsh, profile] fixed pyenv --- .config/hypr/hyprland.conf | 1 - .config/nvim/ftplugin/tex.lua | 2 +- .config/nvim/lua/community.lua | 2 -- .config/nvim/lua/plugins/ltex.lua | 22 ++++++++++++++----- .config/nvim/lua/plugins/luasnip.lua | 1 + .config/zsh/.zshrc | 5 ----- .../game/csgo/cfg/autoexec.cfg | 2 +- .profile##hostname.owlenpc00 | 4 ---- 8 files changed, 20 insertions(+), 19 deletions(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 66859d4..0395085 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -205,7 +205,6 @@ device { name = "Logitech Gaming Mouse G502" sensitivity = 0.0 accel_profile = flat - #force_no_accel = true } diff --git a/.config/nvim/ftplugin/tex.lua b/.config/nvim/ftplugin/tex.lua index 562393f..79b7a74 100644 --- a/.config/nvim/ftplugin/tex.lua +++ b/.config/nvim/ftplugin/tex.lua @@ -1,6 +1,6 @@ -- Spell-check (tweak languages to your needs) vim.opt_local.spell = true -vim.opt_local.spelllang = { "en_gb", "de_de", "fr_fr" } +vim.opt_local.spelllang = { "en_gb", "de_de", "fr" } -- Niceties for prose/math vim.opt_local.wrap = true diff --git a/.config/nvim/lua/community.lua b/.config/nvim/lua/community.lua index b046de3..388879c 100644 --- a/.config/nvim/lua/community.lua +++ b/.config/nvim/lua/community.lua @@ -27,7 +27,5 @@ return { { import = "astrocommunity.pack.php" }, { import = "astrocommunity.markdown-and-latex.vimtex" }, - - { import = "astrocommunity.keybinding.nvcheatsheet-nvim" }, -- import/override with your plugins folder } diff --git a/.config/nvim/lua/plugins/ltex.lua b/.config/nvim/lua/plugins/ltex.lua index e0c2609..4a5eed4 100644 --- a/.config/nvim/lua/plugins/ltex.lua +++ b/.config/nvim/lua/plugins/ltex.lua @@ -17,13 +17,25 @@ return { -- 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-US", + 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 = {}, - disabledRules = {}, - hiddenFalsePositives = {}, + 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 @@ -32,7 +44,7 @@ return { if ok then ltex_extra.setup { -- load both EN+DE dictionaries; change to your set - load_langs = { "en-US", "de-DE" }, + 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", diff --git a/.config/nvim/lua/plugins/luasnip.lua b/.config/nvim/lua/plugins/luasnip.lua index 2025f8e..678a33d 100644 --- a/.config/nvim/lua/plugins/luasnip.lua +++ b/.config/nvim/lua/plugins/luasnip.lua @@ -1,5 +1,6 @@ return { "L3MON4D3/LuaSnip", + enabled = true, version = "v2.*", build = "make install_jsregexp", event = "InsertEnter", diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 7ee943b..b79dca8 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -34,10 +34,5 @@ bindkey "^[OB" history-substring-search-down bindkey -M vicmd 'k' history-substring-search-up bindkey -M vicmd 'j' history-substring-search-down -# Load pyenv automatically by appending the following to ~/.zprofile (for login shells) and ~/.zshrc (for interactive shells) : -export PYENV_ROOT="$HOME/.pyenv" -[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" -eval "$(pyenv init - zsh)" - # To customize prompt, run `p10k configure` or edit ~/.config/zsh/.p10k.zsh. [[ ! -f ~/.config/zsh/.p10k.zsh ]] || source ~/.config/zsh/.p10k.zsh diff --git a/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/cfg/autoexec.cfg b/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/cfg/autoexec.cfg index ea5fd2c..9a60b58 100644 --- a/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/cfg/autoexec.cfg +++ b/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/cfg/autoexec.cfg @@ -49,7 +49,7 @@ cl_crosshair_sniper_width 1 cl_crosshair_friendly_warning 1 // Mouse -sensitivity "0.619" +sensitivity "0.495" zoom_sensitivity_ratio "1.0" // Radar diff --git a/.profile##hostname.owlenpc00 b/.profile##hostname.owlenpc00 index 9510765..ca7949a 100644 --- a/.profile##hostname.owlenpc00 +++ b/.profile##hostname.owlenpc00 @@ -38,7 +38,3 @@ export ROCM_PATH=/opt/rocm export HSA_OVERRIDE_GFX_VERSION=10.3.0 export HIP_VISIBLE_DEVICES=1 export LD_LIBRARY_PATH=/opt/rocm/lib:$LD_LIBRARY_PATH - -export PYENV_ROOT="$HOME/.pyenv" -[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" -eval "$(pyenv init - zsh)"