mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 00:33:00 +00:00
update: update flake.lock
This commit is contained in:
parent
57bee38531
commit
a2a1d02c4e
10 changed files with 100 additions and 79 deletions
|
|
@ -73,6 +73,8 @@ vim:ft=gotmpl
|
|||
.config/zed/keymap.json
|
||||
.config/starship.toml
|
||||
.config/aichat
|
||||
.config/libvirt
|
||||
.config/tmux
|
||||
.local/share/kio/**
|
||||
.local/share/fonts/**
|
||||
{{ end }}
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ local M = {
|
|||
}
|
||||
-- stylua: ignore end
|
||||
|
||||
local function smart_split(func)
|
||||
local function smart_split(func, reverse)
|
||||
local width = vim.api.nvim_win_get_width(0)
|
||||
if width > 80 then
|
||||
if width > 80 and not reverse then
|
||||
vim.api.nvim_command("vsp")
|
||||
else
|
||||
vim.api.nvim_command("sp")
|
||||
|
|
@ -28,7 +28,7 @@ vim.keymap.set("n", "<C-w>d", function()
|
|||
end, { desc = "Go to Definition (Smart Split)" })
|
||||
|
||||
vim.keymap.set("n", "<C-w>D", function()
|
||||
smart_split(vim.lsp.buf.declaration)
|
||||
smart_split(vim.lsp.buf.declaration, true)
|
||||
end, { desc = "Go to Declaration (Smart Split)" })
|
||||
|
||||
return M
|
||||
|
|
|
|||
|
|
@ -15,7 +15,13 @@ return {
|
|||
openrouter = {
|
||||
__inherited_from = "openai",
|
||||
endpoint = "https://openrouter.ai/api/v1",
|
||||
model = "openai/gpt-5.1-codex",
|
||||
model = "anthropic/claude-sonnet-4.5",
|
||||
model_names = {
|
||||
"openai/gpt-5.1-codex",
|
||||
"google/gemini-3-pro-preview",
|
||||
"anthropic/claude-sonnet-4.5",
|
||||
"x-ai/grok-code-fast-1",
|
||||
},
|
||||
api_key_name = "OPENROUTER_API_KEY",
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue