Supersedes the old flat .config/ layout (last published 2026-06-28) with the private repo's structure: one shared base plus per-host overlays. - packages: common/ gui/ lw/ fl/ wm/ plus install.sh and bin/ tooling (dotsync, reconcile-hyde.sh) - new README covering the layout, deploy order and the HyDE dependency - current HyDE waybar rig (layouts/, cava), pi agent extensions, claude/ config, tmux, presenterm, aichat roles - fish: kp (keepassxc-cli + fzf picker, db path from $KP_DB) and bind_M_n_history (alt+1..9 recalls the nth history entry) - drops cruft that should never have been tracked: the duplicate top-level .pi/ copy, btop.log, zellij config.kdl.bak, fish_variables - .pi/agent/auth.json is gitignored; auth.json.example ships instead Host-specific work sessions and the personal backlog stay in the private tree. Endpoint locators in the llamacpp/whisper guides are placeholders ($SERVER, <own-domain>) — the guides themselves stay, since they are the useful part.
26 lines
1.2 KiB
Lua
26 lines
1.2 KiB
Lua
require "nvchad.mappings"
|
|
|
|
-- add yours here
|
|
|
|
local map = vim.keymap.set
|
|
|
|
map("n", "gd", vim.lsp.buf.definition, { desc = "Go to definition" })
|
|
map("n", "gD", "<cmd>Telescope lsp_definitions<CR>", { desc = "Go to Definitions" })
|
|
map("n", "grr", "<cmd>Telescope lsp_references<CR>", { desc = "Go to references" })
|
|
map("n", "<leader>da", ":lua vim.lsp.buf.code_action()<cr>", { desc = "Code actions", noremap = true, silent = true })
|
|
map("n", "<leader>dh", ":lua vim.diagnostic.open_float()<CR>", { desc = "Show diagnostics" })
|
|
map("n", "<leader>dj", function()
|
|
vim.diagnostic.jump { count = 1, float = true }
|
|
end, { desc = "Go to next" })
|
|
map("n", "<leader>dk", function()
|
|
vim.diagnostic.jump { count = -1, float = true }
|
|
end, { desc = "Go to previous" })
|
|
-- Telescope
|
|
map("n", "<leader>fr", ":Telescope resume<CR>", { desc = "Resume last search" })
|
|
map("n", "<leader>fs", ":Telescope grep_string<CR>", { desc = "Find selected string" })
|
|
map("n", "<leader>fk", ":Telescope keymaps<CR>", { desc = "Find keymaps" })
|
|
map("n", "<leader>fd", ":Telescope diagnostics<CR>", { desc = "Diagnostics" })
|
|
-- Remaps
|
|
map({ "n", "v" }, "x", '"_x', { desc = "Delete char without yanking" })
|
|
map({ "n", "v" }, "c", '"_c', { desc = "Change without yanking" })
|