[nvim] fixed tex, [cs2] fixed sens, [zsh, profile] fixed pyenv

This commit is contained in:
2025-11-17 09:56:39 +01:00
parent c7b4ad7b25
commit ebf9ea33d3
8 changed files with 20 additions and 19 deletions

View File

@@ -205,7 +205,6 @@ device {
name = "Logitech Gaming Mouse G502" name = "Logitech Gaming Mouse G502"
sensitivity = 0.0 sensitivity = 0.0
accel_profile = flat accel_profile = flat
#force_no_accel = true
} }

View File

@@ -1,6 +1,6 @@
-- Spell-check (tweak languages to your needs) -- Spell-check (tweak languages to your needs)
vim.opt_local.spell = true 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 -- Niceties for prose/math
vim.opt_local.wrap = true vim.opt_local.wrap = true

View File

@@ -27,7 +27,5 @@ return {
{ import = "astrocommunity.pack.php" }, { import = "astrocommunity.pack.php" },
{ import = "astrocommunity.markdown-and-latex.vimtex" }, { import = "astrocommunity.markdown-and-latex.vimtex" },
{ import = "astrocommunity.keybinding.nvcheatsheet-nvim" },
-- import/override with your plugins folder -- import/override with your plugins folder
} }

View File

@@ -17,13 +17,25 @@ return {
-- Run checks on save for performance; switch to "edit" if you prefer live feedback -- Run checks on save for performance; switch to "edit" if you prefer live feedback
checkFrequency = "save", checkFrequency = "save",
-- Pick the language you want LTeX to check as the document language -- 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) -- Mother tongue helps the grammar engine (adjust to your preference)
additionalRules = { motherTongue = "de-DE" }, additionalRules = { motherTongue = "de-DE" },
-- Let ltex_extra manage dictionaries/rules on disk -- Let ltex_extra manage dictionaries/rules on disk
dictionary = {}, dictionary = {
disabledRules = {}, ["en-GB"] = {},
hiddenFalsePositives = {}, ["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 -- hook up ltex_extra when the server attaches
@@ -32,7 +44,7 @@ return {
if ok then if ok then
ltex_extra.setup { ltex_extra.setup {
-- load both EN+DE dictionaries; change to your set -- 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, init_check = true,
-- store per-project files in .ltex (add to .gitignore if you want) -- store per-project files in .ltex (add to .gitignore if you want)
path = ".ltex", path = ".ltex",

View File

@@ -1,5 +1,6 @@
return { return {
"L3MON4D3/LuaSnip", "L3MON4D3/LuaSnip",
enabled = true,
version = "v2.*", version = "v2.*",
build = "make install_jsregexp", build = "make install_jsregexp",
event = "InsertEnter", event = "InsertEnter",

View File

@@ -34,10 +34,5 @@ bindkey "^[OB" history-substring-search-down
bindkey -M vicmd 'k' history-substring-search-up bindkey -M vicmd 'k' history-substring-search-up
bindkey -M vicmd 'j' history-substring-search-down 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. # To customize prompt, run `p10k configure` or edit ~/.config/zsh/.p10k.zsh.
[[ ! -f ~/.config/zsh/.p10k.zsh ]] || source ~/.config/zsh/.p10k.zsh [[ ! -f ~/.config/zsh/.p10k.zsh ]] || source ~/.config/zsh/.p10k.zsh

View File

@@ -49,7 +49,7 @@ cl_crosshair_sniper_width 1
cl_crosshair_friendly_warning 1 cl_crosshair_friendly_warning 1
// Mouse // Mouse
sensitivity "0.619" sensitivity "0.495"
zoom_sensitivity_ratio "1.0" zoom_sensitivity_ratio "1.0"
// Radar // Radar

View File

@@ -38,7 +38,3 @@ export ROCM_PATH=/opt/rocm
export HSA_OVERRIDE_GFX_VERSION=10.3.0 export HSA_OVERRIDE_GFX_VERSION=10.3.0
export HIP_VISIBLE_DEVICES=1 export HIP_VISIBLE_DEVICES=1
export LD_LIBRARY_PATH=/opt/rocm/lib:$LD_LIBRARY_PATH 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)"