Browse Source

trb update

trb
chodylal 3 weeks ago
parent
commit
17b3ec0bf7
  1. 74
      .config/crush/crush.json
  2. 36
      .config/i3/config
  3. 31
      .config/nvim/lazy-lock.json
  4. 3
      .config/nvim/lazyvim.json
  5. 68
      .config/nvim/lua/plugins/avante-ai.lua
  6. 8
      .config/nvim/lua/plugins/markdown.lua
  7. 2
      .config/nvim/lua/plugins/zz_disabled.lua

74
.config/crush/crush.json

@ -1,74 +0,0 @@
{
"mcp": {
"fetch": {
"type": "sse",
"url": "http://localhost:8001/sse",
"disabled": false,
"alwaysAllow": [
"fetch"
]
},
"google-search": {
"url": "http://localhost:8002/sse",
"disabled": true,
"alwaysAllow": [
"google_search"
]
},
"telegram": {
"url": "http://localhost:8003/sse",
"disabled": true,
"alwaysAllow": []
},
"context7": {
"type": "sse",
"url": "http://localhost:8004/sse",
"disabled": false,
"alwaysAllow": []
},
"excel": {
"url": "http://localhost:8009/sse",
"disabled": true,
"alwaysAllow": []
},
"brave-search": {
"type": "sse",
"url": "http://localhost:8010/sse",
"disabled": false,
"alwaysAllow": [
"brave_web_search"
]
},
"blender-mcp": {
"disabled": true,
"command": "uvx",
"args": [
"/home/chodak/src/git/blender-mcp"
],
"alwaysAllow": [
"get_scene_info",
"get_object_info",
"execute_blender_code"
]
},
"gimp": {
"command": "uv",
"args": [
"run",
"--directory",
"/home/chodak/src/git/gimp-mcp",
"gimp_mcp_server.py"
],
"alwaysAllow": [
"get_gimp_info"
],
"disabled": true
},
"cloudflare-docs": {
"type": "sse",
"url": "https://docs.mcp.cloudflare.com/sse",
"disabled": true
}
}
}

36
.config/i3/config

@ -67,10 +67,16 @@ bindsym $mod+Shift+9 move container to workspace $workspace9
bindsym $mod+Shift+0 move container to workspace $workspace10 bindsym $mod+Shift+0 move container to workspace $workspace10
# next/prev workspace # next/prev workspace
bindsym $mod+x workspace next # bindsym $mod+x workspace next
bindsym $mod+Shift+x move container to workspace next # bindsym $mod+Shift+x move container to workspace next
bindsym $mod+z workspace prev # bindsym $mod+z workspace prev
bindsym $mod+Shift+z move container to workspace prev # bindsym $mod+Shift+z move container to workspace prev
bindsym Mod1+l workspace next
# bindsym $mod+Shift+x move container to workspace next
bindsym Mod1+h workspace prev
# bindsym $mod+Shift+z move container to workspace prev
# moving workspace across monitors # moving workspace across monitors
bindsym $mod+Control+Left move workspace to output left bindsym $mod+Control+Left move workspace to output left
@ -181,10 +187,10 @@ floating_modifier $mod
bindsym $mod+Shift+q kill bindsym $mod+Shift+q kill
# change focus # change focus
# bindsym $mod+j focus left bindsym $mod+h focus left
# bindsym $mod+k focus down bindsym $mod+j focus down
# bindsym $mod+l focus up bindsym $mod+k focus up
# bindsym $mod+semicolon focus right bindsym $mod+l focus right
# alternatively, you can use the cursor keys: # alternatively, you can use the cursor keys:
bindsym $mod+Left focus left bindsym $mod+Left focus left
@ -193,10 +199,10 @@ bindsym $mod+Up focus up
bindsym $mod+Right focus right bindsym $mod+Right focus right
# move focused window # move focused window
# bindsym $mod+Shift+j move left bindsym $mod+Shift+h move left
# bindsym $mod+Shift+k move down bindsym $mod+Shift+j move down
# bindsym $mod+Shift+l move up bindsym $mod+Shift+k move up
# bindsym $mod+Shift+semicolon move right bindsym $mod+Shift+l move right
# alternatively, you can use the cursor keys: # alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left bindsym $mod+Shift+Left move left
@ -205,10 +211,10 @@ bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right bindsym $mod+Shift+Right move right
# nested split in horizontal orientation # nested split in horizontal orientation
bindsym $mod+h split h bindsym Mod1+Shift+h split h
# nested split in vertical orientation # nested split in vertical orientation
bindsym $mod+v split v bindsym Mod1+Shift+v split v
# enter fullscreen mode for the focused container # enter fullscreen mode for the focused container
bindsym $mod+f fullscreen bindsym $mod+f fullscreen
@ -352,7 +358,7 @@ bindsym Shift+$mod+p exec /home/chodak/.screenlayout/edp.sh
bindsym $mod+Escape exec i3lock -c 000000 && systemctl suspend bindsym $mod+Escape exec i3lock -c 000000 && systemctl suspend
# lock # lock
bindsym $mod+Shift+l exec i3lock -c 000000 bindsym $mod+Shift+b exec i3lock -c 000000
# regenerate i3 configuration file and restart i3 (preserves your layout/session, can be used to upgrade i3) # regenerate i3 configuration file and restart i3 (preserves your layout/session, can be used to upgrade i3)
# bindsym $mod+Shift+r exec rfreload --restart # bindsym $mod+Shift+r exec rfreload --restart

31
.config/nvim/lazy-lock.json

@ -1,46 +1,43 @@
{ {
"LazyVim": { "branch": "main", "commit": "c10948c50b18fae7f256433afdef09e432410480" }, "LazyVim": { "branch": "main", "commit": "c10948c50b18fae7f256433afdef09e432410480" },
"avante.nvim": { "branch": "main", "commit": "2033b42ab72fb9f27b35769f9cb7a9f4f1993db4" }, "avante.nvim": { "branch": "main", "commit": "90a0e77c63251c367935caeaa0070670522c960b" },
"blink.cmp": { "branch": "main", "commit": "78336bc89ee5365633bcf754d93df01678b5c08f" }, "blink.cmp": { "branch": "main", "commit": "78336bc89ee5365633bcf754d93df01678b5c08f" },
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" }, "bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
"catppuccin": { "branch": "main", "commit": "e068ab5f8261f23f6f71ffd8791ae40315b77b9c" }, "catppuccin": { "branch": "main", "commit": "05e8787020dcfdb937bf2ff23855ea2415b4e072" },
"clangd_extensions.nvim": { "branch": "main", "commit": "78c2ecd659d54972be17aa6ba2deac3c53223b80" }, "clangd_extensions.nvim": { "branch": "main", "commit": "78c2ecd659d54972be17aa6ba2deac3c53223b80" },
"conform.nvim": { "branch": "master", "commit": "619363c30309d29ffa631e67c8183f2a72caa373" }, "conform.nvim": { "branch": "master", "commit": "619363c30309d29ffa631e67c8183f2a72caa373" },
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" }, "diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
"dotenv.nvim": { "branch": "main", "commit": "7d516e9293c6e3ac21830fb10a4e8674c02747c6" }, "dotenv.nvim": { "branch": "main", "commit": "7d516e9293c6e3ac21830fb10a4e8674c02747c6" },
"dressing.nvim": { "branch": "master", "commit": "2d7c2db2507fa3c4956142ee607431ddb2828639" }, "flash.nvim": { "branch": "main", "commit": "b6346946d10d07998efee029fb0f7a593806d0cd" },
"flash.nvim": { "branch": "main", "commit": "fcea7ff883235d9024dc41e638f164a450c14ca2" },
"friendly-snippets": { "branch": "main", "commit": "6cd7280adead7f586db6fccbd15d2cac7e2188b9" }, "friendly-snippets": { "branch": "main", "commit": "6cd7280adead7f586db6fccbd15d2cac7e2188b9" },
"gitsigns.nvim": { "branch": "main", "commit": "2038c666bd9d8a0b7349a0b6ee00dc83104b9ecf" }, "gitsigns.nvim": { "branch": "main", "commit": "31d6fb2d618bca1482b9f274751ead5f03461408" },
"grug-far.nvim": { "branch": "main", "commit": "c995bbacf8229dc096ec1c3d60f8531059c86c1b" }, "grug-far.nvim": { "branch": "main", "commit": "1cc080f55706b38aabfa97d40acb6adf59ac4a5a" },
"hybrid-theme": { "branch": "main", "commit": "6ae348938376f345e02eea4e6c27c0874b05f33a" }, "hybrid-theme": { "branch": "main", "commit": "626ae5426a7c8f21dfccce286c690d9cf4195b46" },
"image.nvim": { "branch": "master", "commit": "88351f1f7d9dbae286e671ce3690a49660dd8a5c" }, "image.nvim": { "branch": "master", "commit": "88351f1f7d9dbae286e671ce3690a49660dd8a5c" },
"indent-blankline.nvim": { "branch": "master", "commit": "d28a3f70721c79e3c5f6693057ae929f3d9c0a03" }, "indent-blankline.nvim": { "branch": "master", "commit": "d28a3f70721c79e3c5f6693057ae929f3d9c0a03" },
"just-runner.nvim": { "branch": "main", "commit": "f29d405aa828900df242600720a2b0e57261489f" }, "just-runner.nvim": { "branch": "main", "commit": "f29d405aa828900df242600720a2b0e57261489f" },
"lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" }, "lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" },
"lazydev.nvim": { "branch": "main", "commit": "ff2cbcba459b637ec3fd165a2be59b7bbaeedf0d" }, "lazydev.nvim": { "branch": "main", "commit": "ff2cbcba459b637ec3fd165a2be59b7bbaeedf0d" },
"lualine.nvim": { "branch": "master", "commit": "221ce6b2d999187044529f49da6554a92f740a96" }, "lualine.nvim": { "branch": "master", "commit": "221ce6b2d999187044529f49da6554a92f740a96" },
"markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "a4068c3ebd4cb335b25239e5ea35c22ee6007962" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "21c5b3ebeaa0412e28096bb0701434c51c1fbf76" },
"mason.nvim": { "branch": "main", "commit": "2a6940af80375532e5e9e7c1f2fc6319a1b7a69d" }, "mason.nvim": { "branch": "main", "commit": "2a6940af80375532e5e9e7c1f2fc6319a1b7a69d" },
"mini.ai": { "branch": "main", "commit": "d73c36349aa7b0bab5f77ad71701a1d42211a1df" }, "mini.ai": { "branch": "main", "commit": "25248c6aa002391936a6200f12d1466015987133" },
"mini.files": { "branch": "main", "commit": "a5689dae6b732955e33eec225b798d6815063179" }, "mini.files": { "branch": "main", "commit": "d08e8da87be8bf07d09245294821706afcca31cd" },
"mini.icons": { "branch": "main", "commit": "e56797f90192d81f1fda02e662fc3e8e3d775027" }, "mini.icons": { "branch": "main", "commit": "98faae31e9be1cc054ae63485e58ceb185efcad0" },
"mini.pairs": { "branch": "main", "commit": "4a014143fcb4e9df26198ccb3ecff3b9e77a048c" }, "mini.pairs": { "branch": "main", "commit": "b1fd9df3bb4a41c8f45778a3859ee80ef6b367e3" },
"noice.nvim": { "branch": "main", "commit": "7bfd942445fb63089b59f97ca487d605e715f155" }, "noice.nvim": { "branch": "main", "commit": "7bfd942445fb63089b59f97ca487d605e715f155" },
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" }, "nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
"nvim-lint": { "branch": "master", "commit": "01c9842c089069ab497430159312b2c8868a4590" }, "nvim-lint": { "branch": "master", "commit": "a219b2c9e5b4765e5c845aba119dad55806fcaf1" },
"nvim-lspconfig": { "branch": "master", "commit": "bfcc0171a43f22afa61d927ffe9fcb6cb85dc99e" }, "nvim-lspconfig": { "branch": "master", "commit": "d5b6e3db4c17b0146f63a2fc47e2027a754b2cb1" },
"nvim-treesitter": { "branch": "main", "commit": "4916d6592ede8c07973490d9322f187e07dfefac" }, "nvim-treesitter": { "branch": "main", "commit": "4916d6592ede8c07973490d9322f187e07dfefac" },
"nvim-treesitter-textobjects": { "branch": "main", "commit": "851e865342e5a4cb1ae23d31caf6e991e1c99f1e" }, "nvim-treesitter-textobjects": { "branch": "main", "commit": "851e865342e5a4cb1ae23d31caf6e991e1c99f1e" },
"nvim-ts-autotag": { "branch": "main", "commit": "88c1453db4ba7dd24131086fe51fdf74e587d275" }, "nvim-ts-autotag": { "branch": "main", "commit": "88c1453db4ba7dd24131086fe51fdf74e587d275" },
"persistence.nvim": { "branch": "main", "commit": "b20b2a7887bd39c1a356980b45e03250f3dce49c" }, "persistence.nvim": { "branch": "main", "commit": "b20b2a7887bd39c1a356980b45e03250f3dce49c" },
"plenary.nvim": { "branch": "master", "commit": "74b06c6c75e4eeb3108ec01852001636d85a932b" }, "plenary.nvim": { "branch": "master", "commit": "74b06c6c75e4eeb3108ec01852001636d85a932b" },
"render-markdown.nvim": { "branch": "main", "commit": "f422cb5c6855f150e2ddcfaf44e7157b98b34f6a" },
"snacks.nvim": { "branch": "main", "commit": "882c996cf28183f4d63640de0b4c02ec886d01f2" }, "snacks.nvim": { "branch": "main", "commit": "882c996cf28183f4d63640de0b4c02ec886d01f2" },
"todo-comments.nvim": { "branch": "main", "commit": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668" }, "todo-comments.nvim": { "branch": "main", "commit": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668" },
"tokyonight.nvim": { "branch": "main", "commit": "cdc07ac78467a233fd62c493de29a17e0cf2b2b6" }, "tokyonight.nvim": { "branch": "main", "commit": "cdc07ac78467a233fd62c493de29a17e0cf2b2b6" },
"trouble.nvim": { "branch": "main", "commit": "bd67efe408d4816e25e8491cc5ad4088e708a69a" }, "trouble.nvim": { "branch": "main", "commit": "bd67efe408d4816e25e8491cc5ad4088e708a69a" },
"ts-comments.nvim": { "branch": "main", "commit": "123a9fb12e7229342f807ec9e6de478b1102b041" }, "ts-comments.nvim": { "branch": "main", "commit": "a59d6092213447450191122c9346f309161504cb" },
"which-key.nvim": { "branch": "main", "commit": "3aab2147e74890957785941f0c1ad87d0a44c15a" } "which-key.nvim": { "branch": "main", "commit": "3aab2147e74890957785941f0c1ad87d0a44c15a" }
} }

3
.config/nvim/lazyvim.json

@ -1,7 +1,6 @@
{ {
"extras": [ "extras": [
"lazyvim.plugins.extras.editor.mini-files", "lazyvim.plugins.extras.editor.mini-files"
"lazyvim.plugins.extras.lang.markdown"
], ],
"install_version": 8, "install_version": 8,
"news": { "news": {

68
.config/nvim/lua/plugins/avante-ai.lua

@ -1,68 +0,0 @@
return {
"yetone/avante.nvim",
event = "VeryLazy",
version = false,
---@module 'avante'
---@type avante.Config
opts = {
instructions_file = "avante.md",
mode = "agentic",
provider = "z.ai/glm-4.6",
providers = {
["deepseek/coder"] = {
__inherited_from = "openai",
api_key_name = "DEEPSEEK_API_KEY",
endpoint = "https://api.deepseek.com",
model = "deepseek-coder",
},
["deepseek/v4pro"] = {
__inherited_from = "openai",
api_key_name = "DEEPSEEK_API_KEY",
endpoint = "https://api.deepseek.com",
model = "deepseek-v4-pro",
},
["z.ai/glm-4.6"] = {
__inherited_from = "openai",
api_key_name = "Z_API_KEY",
endpoint = "https://api.z.ai/api/coding/paas/v4",
model = "glm-4.6",
},
},
behaviour = {
auto_suggestions = false,
enable_fastapply = false,
auto_set_highlight_group = true,
auto_set_keymaps = true,
auto_apply_diff_after_generation = false,
support_paste_from_clipboard = false,
minimize_diff = true, -- Whether to remove unchanged lines when applying a code block
enable_token_counting = true, -- Whether to enable token counting. Default to true.
auto_add_current_file = true, -- Whether to automatically add the current file when opening a new chat. Default to true.
auto_approve_tool_permissions = false,
-- Examples:
-- auto_approve_tool_permissions = false, -- Show permission prompts for all tools
-- auto_approve_tool_permissions = {"bash", "str_replace"}, -- Auto-approve specific tools only
---@type "popup" | "inline_buttons"
confirmation_ui_style = "inline_buttons",
--- Whether to automatically open files and navigate to lines when ACP agent makes edits
---@type boolean
acp_follow_agent_locations = true,
},
windows = {},
acp_providers = {},
rules = {},
},
dependencies = {
"nvim-lua/plenary.nvim",
"stevearc/dressing.nvim", -- for input provider dressing
"folke/snacks.nvim", -- for input provider snacks
"MunifTanjim/nui.nvim",
{
"MeanderingProgrammer/render-markdown.nvim",
opts = {
file_types = { "markdown", "Avante" },
},
ft = { "markdown", "Avante" },
},
},
}

8
.config/nvim/lua/plugins/markdown.lua

@ -1,8 +0,0 @@
return {
{
"MeanderingProgrammer/render-markdown.nvim",
opts = {
enabled = false,
},
},
}

2
.config/nvim/lua/plugins/zz_disabled.lua

@ -6,6 +6,6 @@
-- config update-index --skip-worktree .config/nvim/lua/plugins/zz_disabled.lua -- config update-index --skip-worktree .config/nvim/lua/plugins/zz_disabled.lua
return { return {
{ "yetone/avante.nvim", enabled = true }, { "yetone/avante.nvim", enabled = false },
{ "p00f/clangd_extensions.nvim", enabled = true }, { "p00f/clangd_extensions.nvim", enabled = true },
} }

Loading…
Cancel
Save