Drop opencode and supermaven, fix prettier, move path-copy keymaps

- Remove the opencode.nvim and supermaven-nvim plugin specs.
- formatting.lua: stop hardcoding prettier's path. It pointed at
  mise/installs/node/22.20.0, which no longer exists (now 24.19.0), so
  conform silently failed to format. Dropping `command` lets conform
  inherit its built-in definition and resolve prettier on PATH, which
  mason.nvim populates.
- keymaps.lua: move the file-path copy maps from <leader>cy/cY to
  <leader>yp/yP.
- Pick up Omarchy Quattro's remote_clipboard.lua and the news-alert
  suppression, plus the lazy-lock/lazyvim.json churn from the upgrade.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-15 16:05:34 +01:00
co-authored by Claude Opus 5
parent 5c6a1f8a14
commit e67ac43682
10 changed files with 151 additions and 55 deletions
+17 -1
View File
@@ -26,7 +26,7 @@
-- map("n", "<C-p>", "<cmd>Ex<cr>", { desc = "Explorer (netrw)" }) -- built-in
-- end
--
-- -- Ctrl+Shift+P → “command palette”
-- -- Ctrl+Shift+P → "command palette"
-- -- Many terminals don't send <C-S-p>, so keep <leader>P as a reliable fallback.
-- if has_cmd("WhichKey") then
-- map("n", "<C-S-p>", "<cmd>WhichKey<cr>", { desc = "Command Palette" })
@@ -35,3 +35,19 @@
-- map("n", "<C-S-p>", "<cmd>Telescope commands<cr>", { desc = "Command Palette" })
-- map("n", "<leader>P", "<cmd>Telescope commands<cr>", { desc = "Command Palette [fallback]" })
-- end
-- Copy the current file's path to the system clipboard.
-- <leader>yp = relative to cwd, <leader>yP = absolute.
-- Writes to the "+" register, which LazyVim binds to the system clipboard via
-- clipboard=unnamedplus, so these land in the OS clipboard directly.
vim.keymap.set("n", "<leader>yp", function()
local relative_path = vim.fn.expand("%:~:.")
vim.fn.setreg("+", relative_path)
vim.notify("Copied relative path: " .. relative_path)
end, { desc = "Copy relative file path" })
vim.keymap.set("n", "<leader>yP", function()
local absolute_path = vim.fn.expand("%:p")
vim.fn.setreg("+", absolute_path)
vim.notify("Copied absolute path: " .. absolute_path)
end, { desc = "Copy absolute file path" })