mirror of
https://github.com/mitchell/dotfiles.git
synced 2026-04-23 16:00:11 +00:00
refactor: simplify fish prompt and update config
This commit is contained in:
parent
ac3ae0076b
commit
9b64299c45
7 changed files with 35 additions and 84 deletions
|
|
@ -8,7 +8,7 @@
|
|||
"kanagawa.nvim": { "branch": "master", "commit": "debe91547d7fb1eef34ce26a5106f277fbfdd109" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "a94fc68960665e54408fe37dcf573193c4ce82c9" },
|
||||
"markview.nvim": { "branch": "main", "commit": "02810964cc288065c2919ea7a8d41e72f17ccd8a" },
|
||||
"markview.nvim": { "branch": "main", "commit": "1861f959599ae03cfd59f56222a542035b0cd947" },
|
||||
"mini.diff": { "branch": "main", "commit": "9bccf260cdb9308223f47a29fb4cb91c817a9349" },
|
||||
"neo-tree.nvim": { "branch": "v3.x", "commit": "f481de16a0eb59c985abac8985e3f2e2f75b4875" },
|
||||
"noice.nvim": { "branch": "main", "commit": "7bfd942445fb63089b59f97ca487d605e715f155" },
|
||||
|
|
|
|||
|
|
@ -18,3 +18,11 @@ autocmd("TermOpen", {
|
|||
command = "setlocal nonumber norelativenumber",
|
||||
group = "TerminalSettings",
|
||||
})
|
||||
|
||||
-- Yaml settings
|
||||
augroup("YamlSettings", { clear = true })
|
||||
autocmd("FileType", {
|
||||
pattern = "y*ml",
|
||||
command = "setlocal foldenable foldlevel=1",
|
||||
group = "YamlSettings",
|
||||
})
|
||||
|
|
|
|||
|
|
@ -15,12 +15,16 @@ map("v", "//", function()
|
|||
end, { noremap = true, silent = true, desc = "Search for Visual Selection" })
|
||||
|
||||
-- LSP Diagnostic Mappings
|
||||
local diag_opts = { silent = true }
|
||||
local diag_opts = { silent = true, noremap = true }
|
||||
map("n", "<leader>d", vim.diagnostic.open_float, diag_opts)
|
||||
map("n", "[d", function()
|
||||
vim.diagnostic.jump({ count = 1 })
|
||||
end, diag_opts)
|
||||
map("n", "]d", function()
|
||||
vim.diagnostic.jump({ count = -1 })
|
||||
end, diag_opts)
|
||||
map("n", "]d", function()
|
||||
vim.diagnostic.jump({ count = 1 })
|
||||
end, diag_opts)
|
||||
map("n", "<space>q", vim.diagnostic.setloclist, diag_opts)
|
||||
|
||||
-- Noice
|
||||
map("n", "<leader>o", "<cmd>NoiceDismiss<cr>", { silent = true, noremap = true })
|
||||
map("n", "<leader>O", "<cmd>NoiceDisable<cr>", { silent = true, noremap = true })
|
||||
|
|
|
|||
|
|
@ -25,24 +25,24 @@ return {
|
|||
},
|
||||
interactions = {
|
||||
chat = {
|
||||
adapter = { name = "opencode", model = "llama.cpp/qwen3.5-35b-a3b-dev" },
|
||||
opts = {
|
||||
-- system_prompt = "",
|
||||
},
|
||||
tools = {
|
||||
opts = {
|
||||
system_prompt = {
|
||||
enabled = true, -- Enable the tools system prompt?
|
||||
replace_main_system_prompt = true, -- Replace the main system prompt with the tools system prompt?
|
||||
},
|
||||
},
|
||||
},
|
||||
adapter = { name = "opencode", model = "llama.cpp/qwen3.6-35b-a3b-dev" },
|
||||
-- opts = {
|
||||
-- system_prompt = "",
|
||||
-- },
|
||||
-- tools = {
|
||||
-- opts = {
|
||||
-- system_prompt = {
|
||||
-- enabled = true, -- Enable the tools system prompt?
|
||||
-- replace_main_system_prompt = true, -- Replace the main system prompt with the tools system prompt?
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
},
|
||||
inline = {
|
||||
adapter = { name = "llama.cpp", model = "qwen3.5-35b-a3b-dev" },
|
||||
adapter = { name = "llama.cpp", model = "qwen3.6-35b-a3b-dev" },
|
||||
},
|
||||
cmd = {
|
||||
adapter = { name = "llama.cpp", model = "qwen3.5-35b-a3b-dev" },
|
||||
adapter = { name = "llama.cpp", model = "qwen3.6-35b-a3b-dev" },
|
||||
},
|
||||
cli = {
|
||||
agent = "opencode",
|
||||
|
|
@ -65,7 +65,7 @@ return {
|
|||
return require("codecompanion.adapters").extend("openai_compatible", {
|
||||
schema = {
|
||||
model = {
|
||||
default = "qwen3.5-35b-a3b-dev",
|
||||
default = "qwen3.6-35b-a3b-dev",
|
||||
},
|
||||
},
|
||||
env = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue