mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 00:33:00 +00:00
ime: wrapper helper for fcitx module
This commit is contained in:
parent
20a2dc258f
commit
5c189f5c0f
7 changed files with 147 additions and 104 deletions
|
|
@ -1,5 +1,6 @@
|
|||
local mode_arrow = { "n", "v", "s", "x", "o" }
|
||||
|
||||
-- stylua: ignore
|
||||
local keymaps_basic = {
|
||||
-- https://github.com/LazyVim/LazyVim/blob/d1529f650fdd89cb620258bdeca5ed7b558420c7/lua/lazyvim/config/keymaps.lua#L8
|
||||
{
|
||||
|
|
@ -96,7 +97,7 @@ local keymaps_basic = {
|
|||
opts = { desc = "Down 5 Lines" },
|
||||
},
|
||||
{ keys = "<Tab>", cmd = "<C-w><C-w>", opts = { desc = "Focus on other panel" } },
|
||||
{ keys = "<CR>", cmd = "%" },
|
||||
-- { keys = "<CR>", cmd = "%" },
|
||||
{ keys = "Y", cmd = "y$", opts = { desc = "Yank to End of Line" } },
|
||||
{ mode = mode_arrow, keys = "J", cmd = "5j" },
|
||||
{ mode = mode_arrow, keys = "K", cmd = "5k" },
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ return {
|
|||
openrouter = {
|
||||
__inherited_from = "openai",
|
||||
endpoint = "https://openrouter.ai/api/v1",
|
||||
model = "anthropic/claude-sonnet-4.5",
|
||||
model = "openai/gpt-5.1-codex",
|
||||
api_key_name = "OPENROUTER_API_KEY",
|
||||
},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -52,12 +52,12 @@
|
|||
"ui_font_size": 16,
|
||||
"buffer_font_size": null,
|
||||
"relative_line_numbers": true,
|
||||
"buffer_font_family": "Zed Plex Mono",
|
||||
"buffer_font_family": "Maple Mono NF CN",
|
||||
"remove_trailing_whitespace_on_save": true,
|
||||
"agent": {
|
||||
"default_model": {
|
||||
"provider": "copilot_chat",
|
||||
"model": "claude-3-7-sonnet"
|
||||
"provider": "openrouter",
|
||||
"model": "openai/gpt-5.1-codex"
|
||||
}
|
||||
},
|
||||
"inlay_hints": {
|
||||
|
|
@ -88,7 +88,11 @@
|
|||
"metrics": false
|
||||
},
|
||||
"languages": {
|
||||
"YAML": {
|
||||
"tab_size": 2
|
||||
},
|
||||
"Nix": {
|
||||
"tab_size": 2,
|
||||
"formatter": {
|
||||
"external": {
|
||||
"command": "alejandra",
|
||||
|
|
@ -98,6 +102,19 @@
|
|||
"completions": {
|
||||
"lsp_insert_mode": "replace"
|
||||
}
|
||||
},
|
||||
"Lua": {
|
||||
"tab_size": 2,
|
||||
"formatter": {
|
||||
"external": {
|
||||
"command": "stylua"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"auto_install_extensions": {
|
||||
"catppuccin": true,
|
||||
"material-icon-theme": true,
|
||||
"git-firefly": true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue