From 7665b17e28493769c6b26e04e9783a46940ae986 Mon Sep 17 00:00:00 2001 From: tiyn Date: Thu, 29 Jan 2026 08:39:26 +0100 Subject: [PATCH 1/8] vifm: correctly open aac in vifm as audio --- .config/vifm/vifmrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/vifm/vifmrc b/.config/vifm/vifmrc index edc491f..1515149 100644 --- a/.config/vifm/vifmrc +++ b/.config/vifm/vifmrc @@ -223,7 +223,7 @@ filextype *.svg \ inkview %f, " Audio -filetype *.wav,*.mp3,*.flac,*.m4a,*.wma,*.ape,*.ac3,*.og[agx],*.spx,*.opus +filetype *.wav,*.mp3,*.flac,*.m4a,*.wma,*.ape,*.ac3,*.og[agx],*.spx,*.opus,*.aac \ {Play using mpv} \ mpv %c, \ {Play using ffplay} @@ -438,9 +438,9 @@ set classify+=' ::../::, ::*.sh::, ::*.[hc]pp::, ::*.[hc]::, " archives set classify+=' ::*.7z,,*.ace,,*.arj,,*.bz2,,*.cpio,,*.deb,,*.dz,,*.gz,,*.jar,,*.lzh,,*.lzma,,*.rar,,*.rpm,,*.rz,,*.tar,,*.taz,,*.tb2,,*.tbz,,*.tbz2,,*.tgz,,*.tlz,,*.trz,,*.txz,,*.tz,,*.tz2,,*.xz,,*.z,,*.zip,,*.zoo::' " images -set classify+=' ::*.bmp,,*.gif,,*.jpeg,,*.jpg,,*.ico,,*.png,,*.ppm,,*.svg,,*.svgz,,*.tga,,*.tif,,*.tiff,,*.xbm,,*.xcf,,*.xpm,,*.xspf,,*.xwd::' +set classify+=' ::*.bmp,,*.gif,,*.jpeg,,*.jpg,,*.ico,,*.png,,*.ppm,,*.svg,,*.svgz,,*.tga,,*.tif,,*.tiff,,*.xbm,,*.xcf,,*.xpm,,*.xspf,,*.xwd,,*.webp::' " audio -set classify+=' ::*.aac,,*.anx,,*.asf,,*.au,,*.axa,,*.flac,,*.m2a,,*.m4a,,*.mid,,*.midi,,*.mp3,,*.mpc,,*.oga,,*.ogg,,*.ogx,,*.ra,,*.ram,,*.rm,,*.spx,,*.wav,,*.wma,,*.ac3::' +set classify+=' ::*.aac,,*.anx,,*.asf,,*.au,,*.axa,,*.flac,,*.m2a,,*.m4a,,*.mid,,*.midi,,*.mp3,,*.mpc,,*.oga,,*.ogg,,*.ogx,,*.ra,,*.ram,,*.rm,,*.spx,,*.wav,,*.wma,,*.ac3,,*.opus,,*.aac::' " media set classify+=' ::*.avi,,*.ts,,*.axv,,*.divx,,*.m2v,,*.m4p,,*.m4v,,.mka,,*.mkv,,*.mov,,*.mp4,,*.flv,,*.mp4v,,*.mpeg,,*.mpg,,*.nuv,,*.ogv,,*.pbm,,*.pgm,,*.qt,,*.vob,,*.wmv,,*.xvid::' " office files From 8c6178418bd9d4cb977b2b6766c36d6851bb1861 Mon Sep 17 00:00:00 2001 From: tiyn Date: Sat, 31 Jan 2026 07:48:24 +0100 Subject: [PATCH 2/8] nvim: added type- and javascript lsp --- .config/nvim/lua/plugins/nvim-lspconfig.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nvim/lua/plugins/nvim-lspconfig.lua b/.config/nvim/lua/plugins/nvim-lspconfig.lua index 8a2d8fd..7a2bf07 100644 --- a/.config/nvim/lua/plugins/nvim-lspconfig.lua +++ b/.config/nvim/lua/plugins/nvim-lspconfig.lua @@ -39,7 +39,7 @@ return { "r_language_server", "sqlls", "texlab", - -- "tsserver", + "ts_ls", "yamlls", }, }) From 4e8a537c329a53aa4b5fb847b6f14122b7fd5096 Mon Sep 17 00:00:00 2001 From: tiyn Date: Sat, 31 Jan 2026 09:14:04 +0100 Subject: [PATCH 3/8] nvim: updated formatters --- .config/nvim/lua/plugins/conform.lua | 17 ++--------- .config/nvim/lua/plugins/mason.lua | 30 +++++++++---------- .config/nvim/lua/plugins/nvim-lspconfig.lua | 32 ++++++++++++++++----- 3 files changed, 43 insertions(+), 36 deletions(-) diff --git a/.config/nvim/lua/plugins/conform.lua b/.config/nvim/lua/plugins/conform.lua index 0ceb713..e26f28b 100644 --- a/.config/nvim/lua/plugins/conform.lua +++ b/.config/nvim/lua/plugins/conform.lua @@ -8,24 +8,13 @@ return { lua = { "stylua" }, markdown = { "mdformat" }, python = { "isort", "yapf" }, - sh = { "beautysh" }, - shell = { "beautysh" }, + sh = { "shfmt" }, + bash = { "shfmt" }, + zsh = { "shfmt" }, tex = { "latexindent" }, yaml = { "yamlfmt" }, }, }) - require("conform").formatters.latexindent = { - args = require("conform.util").extend_args( - require("conform.formatters.latexindent").args, - { "-y=defaultIndent: ' '" } - ), - } - require("conform").formatters.beautysh = { - args = require("conform.util").extend_args( - require("conform.formatters.beautysh").args, - { "--indent-size=2", "--force-function-style=fnpar" } - ), - } end, }, } diff --git a/.config/nvim/lua/plugins/mason.lua b/.config/nvim/lua/plugins/mason.lua index fa1beda..2c7a280 100644 --- a/.config/nvim/lua/plugins/mason.lua +++ b/.config/nvim/lua/plugins/mason.lua @@ -1,15 +1,15 @@ return { -- lang server installations { - 'williamboman/mason.nvim', + "williamboman/mason.nvim", dependencies = { { - 'nvimtools/none-ls.nvim', + "nvimtools/none-ls.nvim", config = function() require("null-ls").setup({ sources = { - -- latex - -- require("null-ls").builtins.formatting.latexindent, + -- assembler + require("null-ls").builtins.formatting.asmfmt, -- lua require("null-ls").builtins.formatting.stylua, -- markdown @@ -18,20 +18,20 @@ return { require("null-ls").builtins.formatting.isort, require("null-ls").builtins.formatting.yapf, -- shell - -- require("null-ls").builtins.formatting.beautysh, + require("null-ls").builtins.formatting.shfmt, -- yaml require("null-ls").builtins.formatting.yamlfmt, - } + }, }) - end + end, }, { - 'jay-babu/mason-null-ls.nvim', + "jay-babu/mason-null-ls.nvim", opts = { automatic_installation = true, ensure_installed = { - -- latex - "latexindent", + -- assembler + "asmfmt", -- lua "stylua", -- markdown @@ -40,13 +40,13 @@ return { "isort", "yapf", -- shell - "beautysh", + "shfmt", -- yaml "yamlfmt", - } - } + }, + }, }, }, - opts = { ui = { icons = Install_signs } } - } + opts = { ui = { icons = Install_signs } }, + }, } diff --git a/.config/nvim/lua/plugins/nvim-lspconfig.lua b/.config/nvim/lua/plugins/nvim-lspconfig.lua index 7a2bf07..92657a2 100644 --- a/.config/nvim/lua/plugins/nvim-lspconfig.lua +++ b/.config/nvim/lua/plugins/nvim-lspconfig.lua @@ -24,22 +24,40 @@ return { require("mason-lspconfig").setup({ automatic_setup = true, ensure_installed = { - "bashls", + -- assembler + "asm_lsp", + -- c "clangd", + -- docker "dockerls", + -- go "gopls", + -- html "html", + -- json "jsonls", + -- xml "lemminx", + -- latex "ltex", - "lua_ls", - "marksman", - "nimls", - "pyright", - "r_language_server", - "sqlls", "texlab", + -- lua + "lua_ls", + -- markdown + "marksman", + -- nim + "nimls", + -- python + "pyright", + -- r + "r_language_server", + -- shell + "bashls", + -- sql + "sqlls", + -- typescript / javascript "ts_ls", + -- yaml "yamlls", }, }) From 0103b382adeab705dd51ec0d8284c21f5cebb607 Mon Sep 17 00:00:00 2001 From: tiyn Date: Sat, 31 Jan 2026 09:16:22 +0100 Subject: [PATCH 4/8] nvim: added go shells to compiler script --- .local/bin/etc/nvim/compiler | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/.local/bin/etc/nvim/compiler b/.local/bin/etc/nvim/compiler index 690216e..d779785 100755 --- a/.local/bin/etc/nvim/compiler +++ b/.local/bin/etc/nvim/compiler @@ -26,27 +26,28 @@ textype() { \ } case "$file" in - *\.vpr) $vipercmd "$file" ;; - *\.ms) refer -PS -e "$file" | groff -me -ms -kept -T pdf > "$base".pdf ;; - *\.mom) refer -PS -e "$file" | groff -mom -kept -T pdf > "$base".pdf ;; *\.[0-9]) refer -PS -e "$file" | groff -mandoc -T pdf > "$base".pdf ;; - *\.rmd) echo "require(rmarkdown); render('$file')" | R -q --vanilla ;; - *\.m) octave -qW "$file" ;; - *\.md) pandoc "$file" --pdf-engine=xelatex -o "$base".pdf ;; - *config.h) sudo make install ;; - *\.tex) textype "$file" ;; - *\.java) java "$file" ;; - *\.js) node "$file" ;; - *\.c) if [ -f Makefile ]; then make run; else cc "$file" -o "$base" && "$base"; fi ;; - *\.nim) nim c -r -d:noColors "$file" ;; - *\.py) python3 "$file" ;; *\.go) go run "$file" ;; *\.lua) lua "$file" ;; + *\.md) pandoc "$file" --pdf-engine=xelatex -o "$base".pdf ;; + *\.mom) refer -PS -e "$file" | groff -mom -kept -T pdf > "$base".pdf ;; + *\.ms) refer -PS -e "$file" | groff -me -ms -kept -T pdf > "$base".pdf ;; + *\.py) python3 "$file" ;; + *\.rmd) echo "require(rmarkdown); render('$file')" | R -q --vanilla ;; *\.sent) setsid sent "$file" 2>/dev/null & ;; + *config.h) sudo make install ;; + *\.c) if [ -f Makefile ]; then make run; else cc "$file" -o "$base" && "$base"; fi ;; + *\.java) java "$file" ;; + *\.js) node "$file" ;; + *\.m) octave -qW "$file" ;; + *\.nim) nim c -r -d:noColors "$file" ;; *\.r|*\.R) Rscript "$file" ;; - *\.smt2) z3 "$file" ;; *\.rs) (cd "$dir" && cargo locate-project >/dev/null 2>&1) \ && (cd "$(dirname "$(cd "$dir" && cargo locate-project --message-format plain)")" && cargo run) \ || (rustc "$file" && "./$(basename "${file%.rs}")") ;; + *\.sh) dash "$file" ;; + *\.smt2) z3 "$file" ;; + *\.tex) textype "$file" ;; + *\.vpr) $vipercmd "$file" ;; *) sed 1q "$file" | grep "^#!/" | sed "s/^#!//" | xargs -r -I % "$file" ;; esac From dd90bae2b0a3e4eaf6afcf77b69e72719a90a5b1 Mon Sep 17 00:00:00 2001 From: tiyn Date: Sat, 31 Jan 2026 09:16:31 +0100 Subject: [PATCH 5/8] nvim: added go shells to compiler script --- .local/bin/etc/nvim/compiler | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.local/bin/etc/nvim/compiler b/.local/bin/etc/nvim/compiler index d779785..e70ca77 100755 --- a/.local/bin/etc/nvim/compiler +++ b/.local/bin/etc/nvim/compiler @@ -27,6 +27,7 @@ textype() { \ case "$file" in *\.[0-9]) refer -PS -e "$file" | groff -mandoc -T pdf > "$base".pdf ;; + *\.bash) bash "$file" ;; *\.go) go run "$file" ;; *\.lua) lua "$file" ;; *\.md) pandoc "$file" --pdf-engine=xelatex -o "$base".pdf ;; @@ -49,5 +50,6 @@ case "$file" in *\.smt2) z3 "$file" ;; *\.tex) textype "$file" ;; *\.vpr) $vipercmd "$file" ;; + *\.zsh) zsh "$file" ;; *) sed 1q "$file" | grep "^#!/" | sed "s/^#!//" | xargs -r -I % "$file" ;; esac From 377d0db8d800c6c99df340016d7466d50e7e3548 Mon Sep 17 00:00:00 2001 From: tiyn Date: Sat, 31 Jan 2026 09:16:56 +0100 Subject: [PATCH 6/8] nvim: added latexindent configs --- .config/latexindent/mysettings.yaml | 20 ++++++++++++++++++++ .indentconfig.yaml | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 .config/latexindent/mysettings.yaml create mode 100644 .indentconfig.yaml diff --git a/.config/latexindent/mysettings.yaml b/.config/latexindent/mysettings.yaml new file mode 100644 index 0000000..37c6ff6 --- /dev/null +++ b/.config/latexindent/mysettings.yaml @@ -0,0 +1,20 @@ +defaultIndent: ' ' +indentAfterItems: + itemize: 1 + itemize*: 1 + enumerate: 1 + enumerate*: 1 +indentRules: + item: 1 +noAdditionalIndentGlobal: + item: 1 +indentAfterHeadings: + textit: + indentAfterThisHeading: 1 + level: 1 + footnote: + indentAfterThisHeading: 1 + level: 1 +noAdditionalIndent: + textit: 1 + footnote: 1 diff --git a/.indentconfig.yaml b/.indentconfig.yaml new file mode 100644 index 0000000..9349e75 --- /dev/null +++ b/.indentconfig.yaml @@ -0,0 +1,2 @@ +paths: + - /home/user/.config/latexindent/mysettings.yaml From f52cd361d47645ccf21d19ac5dde0c73227bf611 Mon Sep 17 00:00:00 2001 From: tiyn Date: Sat, 31 Jan 2026 09:30:52 +0100 Subject: [PATCH 7/8] nvim: expanded config for latexindent --- .config/latexindent/{mysettings.yaml => latexindent.yaml} | 4 ++++ .indentconfig.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) rename .config/latexindent/{mysettings.yaml => latexindent.yaml} (79%) diff --git a/.config/latexindent/mysettings.yaml b/.config/latexindent/latexindent.yaml similarity index 79% rename from .config/latexindent/mysettings.yaml rename to .config/latexindent/latexindent.yaml index 37c6ff6..355458e 100644 --- a/.config/latexindent/mysettings.yaml +++ b/.config/latexindent/latexindent.yaml @@ -18,3 +18,7 @@ indentAfterHeadings: noAdditionalIndent: textit: 1 footnote: 1 +removeTrailingWhitespace: + beforeProcessing: 0 + afterProcessing: 1 +indentPreamble: 1 diff --git a/.indentconfig.yaml b/.indentconfig.yaml index 9349e75..a3b710f 100644 --- a/.indentconfig.yaml +++ b/.indentconfig.yaml @@ -1,2 +1,2 @@ paths: - - /home/user/.config/latexindent/mysettings.yaml + - /home/user/.config/latexindent/latexindent.yaml From 270b104be5476cd8fb88a3642673825aefb32a07 Mon Sep 17 00:00:00 2001 From: tiyn Date: Sat, 31 Jan 2026 10:22:29 +0100 Subject: [PATCH 8/8] nvim: updated dictionaries --- .config/nvim/lua/dictionaries/dictionary_de-de.txt | 1 + .config/nvim/lua/dictionaries/dictionary_names.txt | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.config/nvim/lua/dictionaries/dictionary_de-de.txt b/.config/nvim/lua/dictionaries/dictionary_de-de.txt index 91e81dd..dd5b6dd 100644 --- a/.config/nvim/lua/dictionaries/dictionary_de-de.txt +++ b/.config/nvim/lua/dictionaries/dictionary_de-de.txt @@ -5,6 +5,7 @@ Crowd-Interaction Destruction Dictation Entlebucher Sennenhund +Formatter Französischvokabeln Gym Homeserver diff --git a/.config/nvim/lua/dictionaries/dictionary_names.txt b/.config/nvim/lua/dictionaries/dictionary_names.txt index 68ca3eb..4fcba39 100644 --- a/.config/nvim/lua/dictionaries/dictionary_names.txt +++ b/.config/nvim/lua/dictionaries/dictionary_names.txt @@ -27,6 +27,7 @@ Eyal Forest Frevert Freverts +GrapheneOS Greater Grixis Gump @@ -38,6 +39,7 @@ Higgers IFAM IFAMs IMRaD +Ikigai Ira Jeanine Kratom @@ -54,10 +56,12 @@ Matvey MiiMii Mint Nate +NeoVIM Númenor Oberweseler Overwatch Papis +PfingstAka Pluribus PopOS Precon @@ -73,6 +77,7 @@ Stina TCAV Thinkpad Tjark +VIM Weizman Willenborg WinterAka