8 Commits

Author SHA1 Message Date
agresdominik cae9e03002 chore 2026-06-07 21:02:30 +02:00
agresdominik a332c64a6f Merge remote-tracking branch 'refs/remotes/origin/main' 2026-06-05 08:34:05 +02:00
agresdominik 6dc3d5bbce kube 2026-06-05 08:34:06 +02:00
agresdominik cc7e03dc90 Merge remote-tracking branch 'refs/remotes/origin/main' 2026-05-20 18:24:01 +02:00
agresdominik bc1434638f Merge agresdominik/cleanup
update
2026-05-20 18:23:19 +02:00
agresdominik 3cf19f0ca1 removed lockfile 2026-05-20 18:22:08 +02:00
agresdominik 35d98db928 Remove lazy-lock.json, add nvim/.gitignore to prevent it returning
Symlinking a shared lockfile across devices causes lazy.nvim on one
device to overwrite plugin pins for the other. Each device should
manage its own plugin state.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 18:21:16 +02:00
agresdominik 8989c7927c updated a bunch 2026-05-20 18:14:15 +02:00
29 changed files with 849 additions and 235 deletions
+4 -1
View File
@@ -1,5 +1,5 @@
[font]
size = 8.0
size = 10.0
[font.bold]
family = "MesloLGL Nerd Font Mono"
@@ -12,3 +12,6 @@ style = "Italic"
[font.normal]
family = "MesloLGL Nerd Font Mono"
style = "Regular"
[window]
opacity = 1.0
+371
View File
@@ -0,0 +1,371 @@
## Base directory for Atuin data files (databases, keys, session, etc.)
## All data file paths default to being relative to this directory.
## linux/mac: ~/.local/share/atuin (or XDG_DATA_HOME/atuin)
## windows: %USERPROFILE%/.local/share/atuin
# data_dir = "~/.local/share/atuin"
## where to store your database, default is your system data directory
## linux/mac: ~/.local/share/atuin/history.db
## windows: %USERPROFILE%/.local/share/atuin/history.db
# db_path = "~/.history.db"
## where to store your encryption key, default is your system data directory
## linux/mac: ~/.local/share/atuin/key
## windows: %USERPROFILE%/.local/share/atuin/key
# key_path = "~/.key"
## where to store your auth session token, default is your system data directory
## linux/mac: ~/.local/share/atuin/session
## windows: %USERPROFILE%/.local/share/atuin/session
# session_path = "~/.session"
## date format used, either "us" or "uk"
# dialect = "us"
## default timezone to use when displaying time
## either "l", "local" to use the system's current local timezone, or an offset
## from UTC in the format of "<+|->H[H][:M[M][:S[S]]]"
## for example: "+9", "-05", "+03:30", "-01:23:45", etc.
# timezone = "local"
## enable or disable automatic sync
# auto_sync = true
## enable or disable automatic update checks
# update_check = true
## address of the sync server
# sync_address = "https://api.atuin.sh"
## how often to sync history. note that this is only triggered when a command
## is ran, so sync intervals may well be longer
## set it to 0 to sync after every command
# sync_frequency = "10m"
## which search mode to use
## possible values: prefix, fulltext, fuzzy, skim
# search_mode = "fuzzy"
## which filter mode to use by default
## possible values: "global", "host", "session", "session-preload", "directory", "workspace"
## consider using search.filters to customize the enablement and order of filter modes
# filter_mode = "global"
## With workspace filtering enabled, Atuin will filter for commands executed
## in any directory within a git repository tree (default: false).
##
## To use workspace mode by default when available, set this to true and
## set filter_mode to "workspace" or leave it unspecified and
## set search.filters to include "workspace" before other filter modes.
# workspaces = false
## which filter mode to use when atuin is invoked from a shell up-key binding
## the accepted values are identical to those of "filter_mode"
## leave unspecified to use same mode set in "filter_mode"
# filter_mode_shell_up_key_binding = "global"
## which search mode to use when atuin is invoked from a shell up-key binding
## the accepted values are identical to those of "search_mode"
## leave unspecified to use same mode set in "search_mode"
# search_mode_shell_up_key_binding = "fuzzy"
## which style to use
## possible values: auto, full, compact
style = "compact"
## the maximum number of lines the interface should take up
## set it to 0 to always go full screen
inline_height = 15
## the maximum number of lines the interface should take up
## when atuin is invoked from a shell up-key binding
## the accepted values are identical to those of "inline_height"
# inline_height_shell_up_key_binding = 0
## Invert the UI - put the search bar at the top , Default to `false`
invert = false
## enable or disable showing a preview of the selected command
## useful when the command is longer than the terminal width and is cut off
# show_preview = true
## what to do when the escape key is pressed when searching
## possible values: return-original, return-query
# exit_mode = "return-original"
## possible values: emacs, subl
# word_jump_mode = "emacs"
## characters that count as a part of a word
# word_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
## number of context lines to show when scrolling by pages
# scroll_context_lines = 1
## use ctrl instead of alt as the shortcut modifier key for numerical UI shortcuts
## alt-0 .. alt-9
# ctrl_n_shortcuts = false
## Show numeric shortcuts (1..9) beside list items in the TUI
## set to false to hide the moving numbers if you find them distracting
# show_numeric_shortcuts = true
## default history list format - can also be specified with the --format arg
# history_format = "{time}\t{command}\t{duration}"
## Defaults to true. If enabled, strip trailing spaces and tabs from commands
## before saving them to history.
## Escaped trailing spaces (for example `printf foo\\ `) are preserved.
# strip_trailing_whitespace = true
## prevent commands matching any of these regexes from being written to history.
## Note that these regular expressions are unanchored, i.e. if they don't start
## with ^ or end with $, they'll match anywhere in the command.
## For details on the supported regular expression syntax, see
## https://docs.rs/regex/latest/regex/#syntax
# history_filter = [
# "^secret-cmd",
# "^innocuous-cmd .*--secret=.+",
# ]
## prevent commands run with cwd matching any of these regexes from being written
## to history. Note that these regular expressions are unanchored, i.e. if they don't
## start with ^ or end with $, they'll match anywhere in CWD.
## For details on the supported regular expression syntax, see
## https://docs.rs/regex/latest/regex/#syntax
# cwd_filter = [
# "^/very/secret/area",
# ]
## Configure the maximum height of the preview to show.
## Useful when you have long scripts in your history that you want to distinguish
## by more than the first few lines.
# max_preview_height = 4
## Configure whether or not to show the help row, which includes the current Atuin
## version (and whether an update is available), a keymap hint, and the total
## amount of commands in your history.
# show_help = true
## Configure whether or not to show tabs for search and inspect
# show_tabs = true
## Configure whether or not the tabs row may be auto-hidden, which includes the current Atuin
## tab, such as Search or Inspector, and other tabs you may wish to see. This will
## only be hidden if there are fewer than this count of lines available, and does not affect the use
## of keyboard shortcuts to switch tab. 0 to never auto-hide, default is 8 (lines).
## This is ignored except in `compact` mode.
# auto_hide_height = 8
## Defaults to true. This matches history against a set of default regex, and will not save it if we get a match. Defaults include
## 1. AWS key id
## 2. Github pat (old and new)
## 3. Slack oauth tokens (bot, user)
## 4. Slack webhooks
## 5. Stripe live/test keys
# secrets_filter = true
## Defaults to true. If enabled, upon hitting enter Atuin will immediately execute the command,
## whereas tab will put the command in the prompt for editing.
## If set to false, both enter and tab will place the command in the prompt for editing.
## This applies for new installs. Old installs will keep the old behaviour unless configured otherwise.
enter_accept = true
## Defaults to false. If enabled, when triggered after &&, || or |, Atuin will complete commands to chain rather than replace the current line.
command_chaining = true
## Defaults to "emacs". This specifies the keymap on the startup of `atuin
## search`. If this is set to "auto", the startup keymap mode in the Atuin
## search is automatically selected based on the shell's keymap where the
## keybinding is defined. If this is set to "emacs", "vim-insert", or
## "vim-normal", the startup keymap mode in the Atuin search is forced to be
## the specified one.
# keymap_mode = "auto"
## Cursor style in each keymap mode. If specified, the cursor style is changed
## in entering the cursor shape. Available values are "default" and
## "{blink,steady}-{block,underline,bar}".
# keymap_cursor = { emacs = "blink-block", vim_insert = "blink-block", vim_normal = "steady-block" }
# network_connect_timeout = 5
# network_timeout = 5
## Timeout (in seconds) for acquiring a local database connection (sqlite)
# local_timeout = 5
## Set this to true and Atuin will minimize motion in the UI - timers will not update live, etc.
## Alternatively, set env NO_MOTION=true
# prefers_reduced_motion = false
[stats]
## Set commands where we should consider the subcommand for statistics. Eg, kubectl get vs just kubectl
# common_subcommands = [
# "apt",
# "cargo",
# "composer",
# "dnf",
# "docker",
# "dotnet",
# "git",
# "go",
# "ip",
# "jj",
# "kubectl",
# "nix",
# "nmcli",
# "npm",
# "pecl",
# "pnpm",
# "podman",
# "port",
# "systemctl",
# "tmux",
# "yarn",
# ]
## Set commands that should be totally stripped and ignored from stats
# common_prefix = ["sudo"]
## Set commands that will be completely ignored from stats
# ignored_commands = [
# "cd",
# "ls",
# "vi"
# ]
[keys]
# Defaults to true. If disabled, using the up/down key won't exit the TUI when scrolled past the first/last entry.
# scroll_exits = true
# Defaults to true. The left arrow key will exit the TUI when scrolling before the first character
# exit_past_line_start = true
# Defaults to true. The right arrow key performs the same functionality as Tab and copies the selected line to the command line to be modified.
# accept_past_line_end = true
# Defaults to false. The left arrow key performs the same functionality as Tab and copies the selected line to the command line to be modified.
# accept_past_line_start = false
# Defaults to false. The backspace key performs the same functionality as Tab and copies the selected line to the command line to be modified when at the start of the line.
# accept_with_backspace = false
[sync]
# Enable sync v2 by default
# This ensures that sync v2 is enabled for new installs only
# In a later release it will become the default across the board
records = true
[preview]
## which preview strategy to use to calculate the preview height (respects max_preview_height).
## possible values: auto, static
## auto: length of the selected command.
## static: length of the longest command stored in the history.
## fixed: use max_preview_height as fixed height.
# strategy = "auto"
[daemon]
## Enables using the daemon to sync.
# enabled = false
## Automatically start and manage the daemon when needed.
## Not compatible with `systemd_socket = true`.
# autostart = false
## How often the daemon should sync in seconds
# sync_frequency = 300
## The path to the unix socket used by the daemon (on unix systems)
## linux/mac: ~/.local/share/atuin/atuin.sock
## windows: Not Supported
# socket_path = "~/.local/share/atuin/atuin.sock"
## The daemon pidfile used for lifecycle management.
## Defaults to the Atuin data directory.
# pidfile_path = "~/.local/share/atuin/atuin-daemon.pid"
## Use systemd socket activation rather than opening the given path (the path must still be correct for the client)
## linux: false
## mac/windows: Not Supported
# systemd_socket = false
## The port that should be used for TCP on non unix systems
# tcp_port = 8889
# [theme]
## Color theme to use for rendering in the terminal.
## There are some built-in themes, including the base theme ("default"),
## "autumn" and "marine". You can add your own themes to the "./themes" subdirectory of your
## Atuin config (or ATUIN_THEME_DIR, if provided) as TOML files whose keys should be one or
## more of AlertInfo, AlertWarn, AlertError, Annotation, Base, Guidance, Important, and
## the string values as lowercase entries from this list:
## https://ogeon.github.io/docs/palette/master/palette/named/index.html
## If you provide a custom theme file, it should be called "NAME.toml" and the theme below
## should be the stem, i.e. `theme = "NAME"` for your chosen NAME.
# name = "autumn"
## Whether the theme manager should output normal or extra information to help fix themes.
## Boolean, true or false. If unset, left up to the theme manager.
# debug = true
[search]
## The list of enabled filter modes, in order of priority.
## The "workspace" mode is skipped when not in a workspace or workspaces = false.
## Default filter mode can be overridden with the filter_mode setting.
# filters = [ "global", "host", "session", "session-preload", "workspace", "directory" ]
[tmux]
## Enable using atuin with tmux popup (requires tmux >= 3.2)
## When enabled and running inside tmux, Atuin will use a popup window for interactive search.
## Set to false to disable the popup.
## This can also be controlled with the ATUIN_TMUX_POPUP environment variable.
## Note: The tmux popup is currently supported in zsh, bash, and fish shells. This currently doesn't work with iTerm native tmux integration.
# enabled = false
## Width of the tmux popup window
## Can be a percentage, or integer (e.g. "100" means 100 characters wide)
# width = "80%"
## Height of the tmux popup window
## Can be a percentage, or integer (e.g. "100" means 100 lines tall)
# height = "60%"
[ui]
## Columns to display in the interactive search, from left to right.
## The selection indicator (" > ") is always shown first implicitly.
##
## Each column can be specified as a simple string (uses default width)
## or as an object with type, width, and expand:
## { type = "directory", width = 30, expand = true }
##
## Available column types (with default widths):
## duration (5) - Command execution duration (e.g., "123ms")
## time (8) - Relative time since execution (e.g., "59m ago")
## datetime (16) - Absolute timestamp (e.g., "2025-01-22 14:35")
## directory (20) - Working directory (truncated if too long)
## host (15) - Hostname where command was run
## user (10) - Username
## exit (3) - Exit code (colored by success/failure)
## command (*) - The command itself (expands by default)
##
## The "expand" option (default: true for command, false for others) makes a
## column fill remaining space. Only one column should have expand = true.
##
## Default:
# columns = ["duration", "time", "command"]
##
## Examples:
##
## Minimal - more space for commands:
# columns = ["duration", "command"]
##
## With wider directory column:
# columns = ["duration", { type = "directory", width = 30 }, "command"]
##
## Show host for multi-machine sync users:
# columns = ["duration", "time", "host", "command"]
##
## Show exit codes prominently:
# columns = ["exit", "duration", "command"]
##
## Make directory expand instead of command:
# columns = ["duration", "time", { type = "directory", expand = true }, { type = "command", expand = false }]
+39
View File
@@ -0,0 +1,39 @@
{
"$schema": "https://json.schemastore.org/claude-code-settings.json",
"theme": "dark",
"permissions": {
"allow": [
"Bash(git *)",
"Bash(make *)",
"Bash(go *)",
"Bash(python *)",
"Bash(cargo *)",
"Read(~/.zshrc)",
"Read(~/.config/**)"
],
"deny": [
"Read(./.env)",
"Read(./.env.*)",
"Read(./secrets/**)",
"Bash(curl * | bash *)"
]
},
"hooks": {
"Stop": [
{
"hooks": [{ "type": "command", "command": "notify-send 'Claude Code' 'Task finished'" }]
}
]
},
"attribution": {
"commits": false,
"pullRequests": false
},
"spinnerTipsOverride": {
"excludeDefault": false,
"tips": [
"Your custom tip here",
"Another reminder"
]
}
}
@@ -1,16 +0,0 @@
#!/bin/bash
origin_url=$(git remote get-url origin 2>/dev/null)
if [[ "$origin_url" == *"github.com"* ]]; then
user_repo=$(echo "$origin_url" | sed -E 's#.*github.com[:/](.*)\.git#\1#')
gitea_url="git@192.168.0.212:${user_repo}.git"
if git remote -v | grep -q "$gitea_url"; then
exit 0
fi
git remote set-url --add --push origin "$gitea_url"
git remote set-url --add --push origin "$origin_url"
fi
+9
View File
@@ -0,0 +1,9 @@
aliases:
dp: deployments
sec: v1/secrets
jo: jobs
cr: clusterroles
crb: clusterrolebindings
ro: roles
rb: rolebindings
np: networkpolicies
+53 -1
View File
@@ -1,5 +1,57 @@
sudo openconnect -vvvv --timestamp --dump-http-traffic \
#!/usr/bin/env bash
set -euo pipefail
BW_ITEM_ID="00103432-dabe-4fad-b0c0-0f40ab1ebb36"
export NODE_EXTRA_CA_CERTS="$HOME/.config/bitwarden-certs/vaultwarden-agres-site.pem"
# Ensure Bitwarden is available.
if ! command -v bw >/dev/null 2>&1; then
echo "Error: bw CLI not found." >&2
exit 1
fi
# Ensure we have a usable Bitwarden session.
BW_STATUS="$(bw status 2>/dev/null | jq -r '.status')"
case "$BW_STATUS" in
unauthenticated)
echo "Bitwarden is not logged in. Logging in..."
bw login
export BW_SESSION="$(bw unlock --raw)"
;;
locked)
echo "Bitwarden vault is locked. Unlocking..."
export BW_SESSION="$(bw unlock --raw)"
;;
unlocked)
# Already unlocked in this shell/session.
;;
*)
echo "Error: unknown Bitwarden status: $BW_STATUS" >&2
exit 1
;;
esac
# Pull latest vault data if reachable. Do not fail hard if sync is unavailable.
bw sync >/dev/null 2>&1 || echo "Warning: bw sync failed; using local Bitwarden cache." >&2
VPN_USER="$(bw get username "$BW_ITEM_ID")"
VPN_PASS="$(bw get password "$BW_ITEM_ID")"
if [[ -z "$VPN_USER" || -z "$VPN_PASS" ]]; then
echo "Error: username or password is empty for Bitwarden item: $BW_ITEM_ID" >&2
exit 1
fi
# Feed only the VPN password through stdin.
# OpenConnect will still prompt interactively for 2FA if the server requires it.
{
printf '%s\n' "$VPN_PASS"
cat /dev/tty
} | sudo openconnect --timestamp --dump-http-traffic \
--protocol=anyconnect \
--user="$VPN_USER" \
--passwd-on-stdin \
--useragent='AnyConnect' \
--gnutls-priority="NORMAL:-VERS-ALL:+VERS-TLS1.2:+RSA:+AES-128-CBC:+SHA1" \
vpn-ac.uni-heidelberg.de/2fa
+1
View File
@@ -0,0 +1 @@
lazy-lock.json
+25 -1
View File
@@ -1,6 +1,6 @@
-- Set leader key to Space
vim.g.mapleader = " "
vim.g.maplocalleader = " "
vim.g.maplocalleader = ","
-- Load basic settings
require("config.options")
@@ -14,3 +14,27 @@ require("config.lsp")
require("config.treesitter")
require("config.telescope")
require("config.cmp")
-- VimTeX Config
vim.g.vimtex_view_method = 'zathura'
vim.g.vimtex_compiler_method = 'latexmk'
vim.g.vimtex_compiler_latexmk = {
build_dir = 'out'
}
-- Language Checks
vim.api.nvim_create_autocmd("FileType", {
pattern = { "tex", "plaintex", "latex", "markdown" },
callback = function()
vim.opt_local.spell = true
vim.opt_local.linebreak = true
vim.opt_local.spelllang = { "de_de", "en_us" }
end,
})
-- Diable Copilot on Start
vim.g.copilot_filetypes = {
["*"] = false,
}
-25
View File
@@ -1,25 +0,0 @@
{
"LuaSnip": { "branch": "master", "commit": "73813308abc2eaeff2bc0d3f2f79270c491be9d7" },
"barbar.nvim": { "branch": "master", "commit": "549ee11d97057eae207bafa2c23c315942cca097" },
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
"cmp-cmdline": { "branch": "main", "commit": "d126061b624e0af6c3a556428712dd4d4194ec6d" },
"cmp-nvim-lsp": { "branch": "main", "commit": "bd5a7d6db125d4654b50eeae9f5217f24bb22fd3" },
"cmp-path": { "branch": "main", "commit": "c642487086dbd9a93160e1679a1327be111cbc25" },
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
"gitsigns.nvim": { "branch": "main", "commit": "1ee5c1fd068c81f9dd06483e639c2aa4587dc197" },
"lazy.nvim": { "branch": "main", "commit": "59334064f8604ca073791c25dcc5c9698865406e" },
"lualine.nvim": { "branch": "master", "commit": "b8c23159c0161f4b89196f74ee3a6d02cdc3a955" },
"mini.nvim": { "branch": "main", "commit": "79654ef28182986dcdd9e2d3506d1728fc7c4f79" },
"neo-tree.nvim": { "branch": "v3.x", "commit": "9130e58424ad95bf2dd8b40afbb8cf04d648638c" },
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
"nvim-cmp": { "branch": "main", "commit": "b5311ab3ed9c846b585c0c15b7559be131ec4be9" },
"nvim-lspconfig": { "branch": "master", "commit": "e688b486fe9291f151eae7e5c0b5a5c4ef980847" },
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
"nvim-web-devicons": { "branch": "master", "commit": "b8221e42cf7287c4dcde81f232f58d7b947c210d" },
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
"render-markdown.nvim": { "branch": "main", "commit": "7e6af36c846017122e07e68803bbf95f3c729ca3" },
"sonokai": { "branch": "master", "commit": "cf50520d1cddf7a4e7bccae650cdf0a6dd362a10" },
"telescope.nvim": { "branch": "master", "commit": "b4da76be54691e854d3e0e02c36b0245f945c2c7" },
"tokyonight.nvim": { "branch": "main", "commit": "4d159616aee17796c2c94d2f5f87d2ee1a3f67c7" }
}
+4
View File
@@ -72,3 +72,7 @@ cmp.setup({
},
})
-- Disable cmp for markdown notes (no recommendations/autocomplete)
cmp.setup.filetype("markdown", {
enabled = false,
})
+3 -3
View File
@@ -1,7 +1,7 @@
vim.opt.number = true
vim.opt.relativenumber = false
vim.opt.tabstop = 4
vim.opt.shiftwidth = 4
vim.opt.relativenumber = true
vim.opt.tabstop = 2
vim.opt.shiftwidth = 2
vim.opt.expandtab = true
vim.opt.termguicolors = true
vim.opt.cursorline = true
+34 -9
View File
@@ -54,15 +54,27 @@ require("lazy").setup({
},
-- Markdown Preview Page
{
'MeanderingProgrammer/render-markdown.nvim',
dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.nvim'}, -- if you use the mini.nvim suite
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.icons' }, -- if you use standalone mini plugins
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, -- if you prefer nvim-web-devicons
---@module 'render-markdown'
---@type render.md.UserConfig
opts = {},
},
{
"iamcco/markdown-preview.nvim",
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
ft = { "markdown" },
build = function()
require("lazy").load({ plugins = { "markdown-preview.nvim" } })
vim.fn["mkdp#util#install"]()
end,
config = function()
vim.g.mkdp_echo_preview_url = 1
vim.cmd([[
function! OpenMarkdownPreview(url)
call jobstart(['xdg-open', a:url], {'detach': v:true})
endfunction
]])
vim.g.mkdp_browserfunc = "OpenMarkdownPreview"
end,
},
-- Tabs
{ 'romgrk/barbar.nvim',
@@ -90,5 +102,18 @@ require("lazy").setup({
lazy = false, -- neo-tree will lazily load itself
},
-- GitHub Copilot
"github/copilot.vim",
{
"lervag/vimtex",
lazy = false, -- we don't want to lazy load VimTeX
-- tag = "v2.15", -- uncomment to pin to a specific release
init = function()
-- VimTeX configuration goes here, e.g.
vim.g.vimtex_view_method = "zathura"
end
},
})
+26 -1
View File
@@ -1,6 +1,6 @@
-- Set leader key to Space
vim.g.mapleader = " "
vim.g.maplocalleader = " "
vim.g.maplocalleader = ","
-- Load basic settings
require("config.options")
@@ -14,3 +14,28 @@ require("config.lsp")
require("config.treesitter")
require("config.telescope")
require("config.cmp")
-- VimTeX Config
vim.g.vimtex_view_method = 'zathura'
vim.g.vimtex_compiler_method = 'latexmk'
vim.g.vimtex_compiler_latexmk = {
build_dir = 'out'
}
-- Language Checks
vim.api.nvim_create_autocmd("FileType", {
pattern = { "tex", "plaintex", "latex", "markdown" },
callback = function()
vim.opt_local.spell = true
vim.opt_local.linebreak = true
vim.opt_local.spelllang = { "de_de", "en_us" }
end,
})
-- Diable Copilot on Start
vim.g.copilot_filetypes = {
["*"] = false,
}
-23
View File
@@ -1,23 +0,0 @@
{
"LuaSnip": { "branch": "master", "commit": "3732756842a2f7e0e76a7b0487e9692072857277" },
"barbar.nvim": { "branch": "master", "commit": "fb4369940a07dda35fa4d7f54cf4a36aa00440e6" },
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
"cmp-cmdline": { "branch": "main", "commit": "d126061b624e0af6c3a556428712dd4d4194ec6d" },
"cmp-nvim-lsp": { "branch": "main", "commit": "bd5a7d6db125d4654b50eeae9f5217f24bb22fd3" },
"cmp-path": { "branch": "main", "commit": "c642487086dbd9a93160e1679a1327be111cbc25" },
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
"gitsigns.nvim": { "branch": "main", "commit": "20ad4419564d6e22b189f6738116b38871082332" },
"lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" },
"lualine.nvim": { "branch": "master", "commit": "3946f0122255bc377d14a59b27b609fb3ab25768" },
"neo-tree.nvim": { "branch": "v3.x", "commit": "f3df514fff2bdd4318127c40470984137f87b62e" },
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
"nvim-cmp": { "branch": "main", "commit": "106c4bcc053a5da783bf4a9d907b6f22485c2ea0" },
"nvim-lspconfig": { "branch": "master", "commit": "b34fbdffdcb6295c7a25df6ba375452a2e73c32e" },
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
"nvim-web-devicons": { "branch": "master", "commit": "8dcb311b0c92d460fac00eac706abd43d94d68af" },
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
"sonokai": { "branch": "master", "commit": "ec07018013b4683cf33f80ee4bdf3eca2621da33" },
"telescope.nvim": { "branch": "master", "commit": "3a12a853ebf21ec1cce9a92290e3013f8ae75f02" },
"tokyonight.nvim": { "branch": "main", "commit": "5da1b76e64daf4c5d410f06bcb6b9cb640da7dfd" }
}
+4
View File
@@ -72,3 +72,7 @@ cmp.setup({
},
})
-- Disable cmp for markdown notes (no recommendations/autocomplete)
cmp.setup.filetype("markdown", {
enabled = false,
})
-33
View File
@@ -32,36 +32,3 @@ map('n', '<leader>e', ':Neotree toggle<CR>', opts)
-- Terminal
map('n', '<leader>t', ':terminal<CR>', opts)
--[[
-- Turn off arrow keys
vim.keymap.set("n", "<Up>", "<Nop>", opts)
vim.keymap.set("n", "<Down>", "<Nop>", opts)
vim.keymap.set("n", "<Left>", "<Nop>", opts)
vim.keymap.set("n", "<Right>", "<Nop>", opts)
vim.keymap.set("i", "<Up>", "<Nop>", opts)
vim.keymap.set("i", "<Down>", "<Nop>", opts)
vim.keymap.set("i", "<Left>", "<Nop>", opts)
vim.keymap.set("i", "<Right>", "<Nop>", opts)
-- To move around in insert mode with hjkl
vim.keymap.set("i", "<C-h>", "<Left>", opts)
vim.keymap.set("i", "<C-j>", "<Down>", opts)
vim.keymap.set("i", "<C-k>", "<Up>", opts)
vim.keymap.set("i", "<C-l>", "<Right>", opts)
vim.keymap.set("v", "<Up>", "<Nop>", opts)
vim.keymap.set("v", "<Down>", "<Nop>", opts)
vim.keymap.set("v", "<Left>", "<Nop>", opts)
vim.keymap.set("v", "<Right>", "<Nop>", opts)
vim.keymap.set("o", "<Up>", "<Nop>", opts)
vim.keymap.set("o", "<Down>", "<Nop>", opts)
vim.keymap.set("o", "<Left>", "<Nop>", opts)
vim.keymap.set("o", "<Right>", "<Nop>", opts)
vim.keymap.set("t", "<Up>", "<Nop>", opts)
vim.keymap.set("t", "<Down>", "<Nop>", opts)
vim.keymap.set("t", "<Left>", "<Nop>", opts)
vim.keymap.set("t", "<Right>", "<Nop>", opts)
--]]
+2 -1
View File
@@ -6,4 +6,5 @@ vim.opt.expandtab = true
vim.opt.termguicolors = true
vim.opt.cursorline = true
vim.opt.mouse = "a"
vim.opt.clipboard:append('unnamedplus')
vim.opt.clipboard = "unnamedplus"
+62 -12
View File
@@ -19,7 +19,14 @@ require("lazy").setup({
"nvim-tree/nvim-web-devicons",
-- Treesitter
{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" },
--{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" },
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function()
vim.treesitter.language.register("markdown", "vimwiki")
end,
},
-- Telescope
"nvim-telescope/telescope.nvim",
@@ -41,6 +48,23 @@ require("lazy").setup({
end
},
-- Vimwiki
{
"vimwiki/vimwiki",
init = function()
vim.g.vimwiki_global_ext = 0
vim.g.vimwiki_conceallevel = 0
vim.g.vimwiki_list = {
{
path = "~/wiki/uni/",
syntax = "markdown",
ext = ".md",
name = "Uni",
},
}
end,
},
-- Autocomplete
{
"hrsh7th/nvim-cmp",
@@ -53,17 +77,29 @@ require("lazy").setup({
"rafamadriz/friendly-snippets",
},
--[[ Markdown Render Page
{
'MeanderingProgrammer/render-markdown.nvim',
dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.nvim'}, -- if you use the mini.nvim suite
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.icons' }, -- if you use standalone mini plugins
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, -- if you prefer nvim-web-devicons
---@module 'render-markdown'
---@type render.md.UserConfig
opts = {},
},
--]]
-- Markdown Preview Page
{
"iamcco/markdown-preview.nvim",
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
ft = { "markdown" },
build = function()
require("lazy").load({ plugins = { "markdown-preview.nvim" } })
vim.fn["mkdp#util#install"]()
end,
config = function()
vim.g.mkdp_echo_preview_url = 1
vim.cmd([[
function! OpenMarkdownPreview(url)
call jobstart(['xdg-open', a:url], {'detach': v:true})
endfunction
]])
vim.g.mkdp_browserfunc = "OpenMarkdownPreview"
end,
},
-- Tabs
{ 'romgrk/barbar.nvim',
dependencies = {
@@ -89,5 +125,19 @@ require("lazy").setup({
},
lazy = false, -- neo-tree will lazily load itself
},
-- GitHub Copilot
"github/copilot.vim",
{
"lervag/vimtex",
lazy = false, -- we don't want to lazy load VimTeX
-- tag = "v2.15", -- uncomment to pin to a specific release
init = function()
-- VimTeX configuration goes here, e.g.
vim.g.vimtex_view_method = "zathura"
end
},
})
+86
View File
@@ -0,0 +1,86 @@
Heilberufler
ePA
eHBA
Agres
sc
hum
hum
Seidling
EMA
GMP
BfArM
GKV
Primärverpackung
Medikationsprozess
Ärztlicherseits
Medikations
Digitalisierungsprozesse
Telematikinfrastruktur
Heilberuflerausweis
Medikationsprozesse
CLMM
LLM
KI
OpenAI
GPT
Wirkweise
hum
hum
hum
Schickhardt
BVL
Werkzeuge
Zukunftige
Resumee
Vorlesungs
Whatsapp
Zabel
extrakranielle
Intra
Intrakranielle
Extrakraniell
Proffessionsethik
Intrakraniell
intrakraniellen
mitbestrahlt
Oligometastasierung
Hypofraktionierte
Hochdosisbereich
Neurokognition
Ganzhirnbestrahlung
Hippocampusatrophie
neurokognitiven
MRT
Lagerungskontrolle
bildgeführte
Atemgating
Pneumonitis
Lungenläsionen
Begleiterkrankungen
Kapselschmerz
CyberKnife
oligometastasierten
Tumorschäden
hypofraktionierten
p53
leptomeningeale
Rückenmarkshäute
SBRT
intrakraniell
intrakranielle
toc
tex
APA
UniTyLab
Unitylab
VR
Holodeck
augmentationen
Unitylabs
Expositionstherapie
LLMs
OsiriX
Meixner
Homeoffice
ArbN
ArbG
Binary file not shown.
+20 -14
View File
@@ -8,16 +8,16 @@ set $term alacritty
set $menu wmenu-run -l 5 -N 000000ff -n ffffffff -M 00675aff -m ffffffff -S 00675aff -s ffffffff
# Workspace Names
set $ws1 "1: Code"
set $ws2 "2: Term"
set $ws3 "3: Term"
set $ws4 "4: VM"
set $ws5 "5: Web"
set $ws6 "6: Mail"
set $ws7 "7: Games"
set $ws8 "8: Other"
set $ws9 "9: Other"
set $ws10 "10: Other"
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
set $ws4 "4"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10"
# Font
font pango:MesloLGL Nerd Font Mono 10
@@ -26,8 +26,8 @@ font pango:MesloLGL Nerd Font Mono 10
output * bg /home/agres/.config/sway/wallpaper/wallpaper.jpg fill
# Gaps
gaps inner 2
gaps outer 2
gaps inner 0
gaps outer 0
# Screen Locker
exec_always /home/agres/.config/sway/scripts/lock-sway.sh
@@ -36,6 +36,7 @@ exec_always /home/agres/.config/sway/scripts/lock-sway.sh
bindsym $mod+Return exec $term
bindsym $mod+Shift+q kill
bindsym $mod+d exec $menu
bindsym $mod+s exec ~/.local/bin/docpic-rofi
floating_modifier $mod normal
bindsym $mod+Shift+r reload
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
@@ -161,13 +162,18 @@ input "1452:641:Apple_SPI_Trackpad" {
scroll_factor 0.3
}
input type:pointer {
accel_profile flat
pointer_accel -0.4
}
output eDP-1 {
scale 1.65
scale 1.85
scale_filter linear
}
# Opacity Settings
for_window [app_id="Alacritty"] opacity 0.98
for_window [app_id="Alacritty"] opacity 0.995
# Show a slightly thicker border so focused window color is more obvious
default_border pixel 3
+2 -2
View File
@@ -4,7 +4,7 @@ set -euo pipefail
IMG_PATH="${XDG_RUNTIME_DIR:-/tmp}/lock.png"
exec swayidle -w \
timeout 30 "grim -t png \"$IMG_PATH\" && magick \"$IMG_PATH\" -blur 0x12 \"$IMG_PATH\" && swaylock -f -i \"$IMG_PATH\"" \
timeout 600 'swaymsg "output * power off"' \
timeout 4800 "grim -t png \"$IMG_PATH\" && magick \"$IMG_PATH\" -blur 0x12 \"$IMG_PATH\" && swaylock -f -i \"$IMG_PATH\"" \
timeout 4810 'swaymsg "output * power off"' \
resume 'swaymsg "output * power on"' \
before-sleep "grim -t png \"$IMG_PATH\" && magick \"$IMG_PATH\" -blur 0x12 \"$IMG_PATH\" && swaylock -f -i \"$IMG_PATH\""
+3 -3
View File
@@ -17,11 +17,11 @@ TIME=$(date "+%d.%m %H:%M")
#BRIGHT=$(echo "$(brightnessctl get) / 4.2" | bc)
VPN_STATUS=$(mullvad status 2>/dev/null | grep -q '^Connected' && echo UP || echo DOWN)
LAB_STATUS=$(ping -c1 -W1 192.168.0.200 >/dev/null 2>&1 && echo UP || echo DOWN )
#VPN_STATUS=$(mullvad status 2>/dev/null | grep -q '^Connected' && echo U || echo D)
LAB_STATUS=$(ping -c1 -W1 192.168.0.200 >/dev/null 2>&1 && echo U || echo D )
UPTIME=$(awk '{t=int($1); d=t/86400; h=(t%86400)/3600; m=(t%3600)/60; if(d>0) printf "%dd %02d:%02dh\n", d,h,m; else printf "%02d:%02dh\n", h,m}' /proc/uptime)
POWER=$(powerprofilesctl get | tr '[:lower:]' '[:upper:]')
echo "$USER | UPT: $UPTIME | POW: $POWER | LAB: $LAB_STATUS | VPN: $VPN_STATUS | CPU: $CPU | MEM: $MEM | BAT: $BAT | $TIME "
echo "$USER | UPT: $UPTIME | POW: $POWER | LAB: $LAB_STATUS | CPU: $CPU | MEM: $MEM | BAT: $BAT | $TIME "
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

+2
View File
@@ -0,0 +1,2 @@
set -g mouse on
run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux
+1
View File
@@ -0,0 +1 @@
set selection-clipboard clipboard
+58 -90
View File
@@ -1,105 +1,73 @@
// Zed settings
//
// For information on how to configure Zed, see the Zed
// documentation: https://zed.dev/docs/configuring-zed
//
// To see all of Zed's default settings without changing your
// custom settings, run `zed: open default settings` from the
// command palette (cmd-shift-p / ctrl-shift-p)
{
// Global Telemetry Settings
"telemetry": {
"diagnostics": false,
"metrics": false
"go_to_definition_fallback": "find_all_references",
"linked_edits": true,
"toolbar": {
"agent_review": false
},
// Behaviour
"tab_size": 2,
"vim_mode": true,
"format_on_save": "off",
"autosave": "on_focus_change",
// Theme / Visual Settings
"icon_theme": {
"mode": "dark",
"light": "Zed (Default)",
"dark": "Zed (Default)"
},
"theme": {
"mode": "dark",
"light": "Gruvbox Light",
"dark": "Gruvbox Dark Hard"
},
"ui_font_size": 16.0,
"buffer_font_size": 13.0,
"soft_wrap": "editor_width",
// Indentation
"indent_guides": {
"enabled": true,
"coloring": "indent_aware"
},
// Relative line numbers (vim)
"relative_line_numbers": "enabled",
// Further Visual Settings
"tab_bar": {
"show": true
"minimap": {
"show": "never"
},
"scrollbar": {
"show": "never"
},
// Predictions
"show_edit_predictions": false,
// Language Settings
"languages": {
"Go": {
"show_edit_predictions": false
}
"relative_line_numbers": "enabled",
"tab_size": 2,
"project_panel": {
"dock": "left"
},
// File syntax highlight
"file_types": {
"Dockerfile": ["Dockerfile", "Dockerfile.*"],
"JSON": ["json", "jsonc", "*.code-snippets"],
},
// Agent / LLM Settings
"language_models": {
"ollama": {
"api_url": "http://localhost:11434",
"available_models": [
{
"name": "qwen2.5-coder:14b-instruct-q4_0",
"display_name": "Qwen2.5 Coder 14B Instruct (Q4_0)",
"max_tokens": 32768,
"supports_tools": false,
"supports_thinking": false
}
]
}
"outline_panel": {
"dock": "left"
},
"collaboration_panel": {
"dock": "left"
},
"agent": {
"default_profile": "write",
"default_model": {
"provider": "copilot_chat",
"model": "gpt-5-mini"
},
"dock": "right",
"favorite_models": [],
"model_parameters": []
},
// LLM Inline Prediction
"edit_predictions": {
"provider": "copilot"
"git_panel": {
"dock": "left"
},
// LSP Server Settings
"lsp": {
"texlab": {
"settings": {
"texlab": {
"build": {
"onSave": false
}
}
}
"soft_wrap": "editor_width",
"format_on_save": "off",
"autosave": "on_focus_change",
"inlay_hints": {
"enabled": false,
"show_value_hints": true,
"show_type_hints": true,
"show_parameter_hints": true,
"show_other_hints": true,
"show_background": false,
"edit_debounce_ms": 700,
"scroll_debounce_ms": 50,
"toggle_on_modifiers_press": {
"control": false,
"alt": false,
"shift": false,
"platform": false,
"function": false
}
},
"telemetry": {
"diagnostics": false,
"metrics": false
},
"vim_mode": true,
"icon_theme": "Zed (Default)",
"ui_font_size": 15.0,
"buffer_font_size": 15,
"theme": {
"mode": "dark",
"light": "Gruvbox Light",
"dark": "Ayu Dark"
}
}
+33
View File
@@ -2,6 +2,7 @@
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="eastwood"
HIST_STAMPS="dd.mm.yyyy"
RPROMPT='%{$fg[cyan]%}%n:%m%{$reset_color%}'
plugins=(git sudo)
# Load sources
@@ -56,6 +57,24 @@ alias tk='tmux kill-session -t'
# Pdf alias
alias pdf='zathura'
alias pdf-edit='okular'
# SSH Aliases
alias vps01='tmux new-session -s vps01 "ssh agres@agres.online"'
alias vps02='tmux new-session -s vps02 "ssh agres@agres.cloud"'
alias pve01='tmux new-session -s pve01 "ssh agres@192.168.0.200"'
# docs folder
alias docsync='cd ~/documents && git pull && git add -A && git commit -m "sync $(date +%F)" && git push'
# Slop Alias
claude() {
if [ $# -eq 0 ]; then
tmux new-session -s claude "claude"
else
command claude "$@"
fi
}
# GPG TTY Fix
export GPG_TTY=$(tty)
@@ -67,3 +86,17 @@ export LS_COLORS
# Add local and global bin files to path
export PATH="/home/agres/.npm-global/bin:$PATH"
export PATH="$HOME/.local/bin:$PATH"
# Brew Setup
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv zsh)"
# Certificate for agres.site used by bitwarden cli
export NODE_EXTRA_CA_CERTS="$HOME/.config/bitwarden-certs/vaultwarden-agres-site.pem"
# Atuin
. "$HOME/.atuin/bin/env"
eval "$(atuin init zsh)"
# Kube
export KUBECONFIG="$HOME/.kube/config:$(ls -1 ~/.kube/configs/* 2>/dev/null | paste -sd ':' -)"
+7
View File
@@ -9,3 +9,10 @@ export GOBIN=$HOME/.local/go/bin
export PATH=$PATH:$GOBIN
export PATH="$HOME/.local/bin:$PATH"
# Shell function to turn on pc
pc() {
ssh -T root@192.168.0.254 'bash /root/wakeup.sh'
}
alias copy='wl-copy --type text/plain <'
alias copyimg='wl-copy --type image/png <'