diff --git a/.config/lvim/config.lua b/.config/lvim/config.lua index 1073203d..0dee284f 100644 --- a/.config/lvim/config.lua +++ b/.config/lvim/config.lua @@ -20,6 +20,7 @@ vim.opt.foldlevelstart = 99 vim.opt.foldexpr = "nvim_treesitter#foldexpr()" lvim.format_on_save = false lvim.line_wrap_cursor_movement = false +lvim.transparent_window = true -- Vimwiki Settings vim.g.vimwiki_ext2syntax = { ['.Rmd'] = 'markdown', ['.rmd'] = 'markdown', ['.md'] = 'markdown', @@ -47,6 +48,14 @@ formatters.setup { { command = "black", filetypes = { "python" } }, } +local linters = require "lvim.lsp.null-ls.linters" +linters.setup { + { + command = "shellcheck", + args = { "--severity", "warning" }, + }, +} + -- Autocommands (https://neovim.io/doc/user/autocmd.html) vim.api.nvim_create_autocmd({ "BufEnter", "FocusGained", "InsertLeave", "WinEnter" }, { pattern = "*", diff --git a/.local/bin/compiler b/.local/bin/compiler index 9127087d..539204b4 100755 --- a/.local/bin/compiler +++ b/.local/bin/compiler @@ -36,7 +36,7 @@ case "$ext" in cs) mcs "$file" && mono "$base".exe ;; go) go run "$file" ;; h) sudo make install ;; - java) javac -d classes "$file" && java -cp classes "${1%.*}" ;; + java) java -d classes "$file" && java -cp classes "${1%.*}" ;; m) octave "$file" ;; md) if [ -x "$(command -v lowdown)" ]; then lowdown --parse-no-intraemph "$file" -Tms | groff -mpdfmark -ms -kept > "$base".pdf diff --git a/.local/bin/remaps b/.local/bin/remaps index 8e1bd7d9..145c7e92 100755 --- a/.local/bin/remaps +++ b/.local/bin/remaps @@ -1,6 +1,6 @@ #!/bin/sh -setxkbmap -layout de,us -variant nodeadkeys,dvp -option caps:super -option terminate:ctrl_alt_bksp +setxkbmap -layout de,us -variant nodeadkeys,dvorak -option caps:super -option terminate:ctrl_alt_bksp xset r rate 300 50 killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape' xset -q | grep "Caps Lock:\s*on" && xdotool key Caps_Lock