feat: sync .config dotfiles, transition Node to mise, integrate 1Password CLI/SSH Agent, and add optional AI CLI tools

This commit is contained in:
2026-06-22 17:13:42 +02:00
parent 0379a21780
commit 6b09ba52b6
33 changed files with 837 additions and 1425 deletions
+29
View File
@@ -26,6 +26,7 @@ opt.ignorecase = true
opt.smartcase = true
opt.hlsearch = true
opt.incsearch = true
opt.inccommand = 'split'
-- Aussehen
opt.termguicolors = true
@@ -59,3 +60,31 @@ opt.completeopt = 'menu,menuone,noselect'
-- Fold (erstmal aus)
opt.foldenable = false
-- ============================================================================
-- NEU: Automatischer Wechsel für QA vs. Speed (Hybrid Line Numbers)
-- ============================================================================
-- Normal Mode = Relative Nummern (zum schnellen Springen)
-- Insert Mode = Absolute Nummern (zum Ablesen für Tickets/Kollegen)
local augroup = vim.api.nvim_create_augroup("numbertoggle", {})
vim.api.nvim_create_autocmd({ "BufEnter", "FocusGained", "InsertLeave", "CmdlineLeave" }, {
group = augroup,
pattern = "*",
callback = function()
if vim.o.nu and vim.api.nvim_get_mode().mode ~= "i" then
vim.opt.relativenumber = true
end
end,
})
vim.api.nvim_create_autocmd({ "BufLeave", "FocusLost", "InsertEnter", "CmdlineEnter" }, {
group = augroup,
pattern = "*",
callback = function()
if vim.o.nu then
vim.opt.relativenumber = false
vim.cmd "redraw"
end
end,
})