From 4844af695af012642fa95e53f32f2639c898694d Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Thu, 20 Nov 2025 13:58:16 +0900 Subject: updates --- .../TheSiahxyz/lua/TheSiahxyz/core/keymaps.lua | 2 +- .../TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua | 28 ++++++++++++++++++++++ .../TheSiahxyz/lua/TheSiahxyz/plugins/cloak.lua | 2 +- .../TheSiahxyz/lua/TheSiahxyz/core/keymaps.lua | 2 +- .../TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua | 28 ++++++++++++++++++++++ .../TheSiahxyz/lua/TheSiahxyz/plugins/cloak.lua | 2 +- 6 files changed, 60 insertions(+), 4 deletions(-) diff --git a/ar/.config/TheSiahxyz/lua/TheSiahxyz/core/keymaps.lua b/ar/.config/TheSiahxyz/lua/TheSiahxyz/core/keymaps.lua index 5b461ab..7de0645 100644 --- a/ar/.config/TheSiahxyz/lua/TheSiahxyz/core/keymaps.lua +++ b/ar/.config/TheSiahxyz/lua/TheSiahxyz/core/keymaps.lua @@ -371,7 +371,7 @@ vim.keymap.set("n", "mD", function() end, { desc = "Delete all marks" }) -- Ownerships -vim.keymap.set("n", "cx", "!chmod +x %", { silent = true, desc = "Make file executable" }) +vim.keymap.set("n", "zx", "!chmod +x %", { silent = true, desc = "Make file executable" }) -- Remap Default vim.keymap.set("i", "jk", "", { noremap = true, silent = true, desc = "Escape to normal mode" }) diff --git a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua index 33196e8..6ff4ac6 100644 --- a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua +++ b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua @@ -259,6 +259,34 @@ return { { "mcp", ":MCPHub", desc = "MCP Hub" }, }, }, + { + "kkrampis/codex.nvim", + lazy = true, + cmd = { "Codex", "CodexToggle" }, -- Optional: Load only on command execution + keys = { + { + "cd", -- Change this to your preferred keybinding + function() + require("codex").toggle() + end, + desc = "Toggle Codex popup or side-panel", + mode = { "n", "t" }, + }, + }, + opts = { + keymaps = { + toggle = nil, -- Keybind to toggle Codex window (Disabled by default, watch out for conflicts) + quit = "", -- Keybind to close the Codex window (default: Ctrl + q) + }, -- Disable internal default keymap (cc -> :CodexToggle) + border = "rounded", -- Options: 'single', 'double', or 'rounded' + width = 0.8, -- Width of the floating window (0.0 to 1.0) + height = 0.8, -- Height of the floating window (0.0 to 1.0) + model = nil, -- Optional: pass a string to use a specific model (e.g., 'o3-mini') + autoinstall = true, -- Automatically install the Codex CLI if not found + panel = false, -- Open Codex in a side-panel (vertical split) instead of floating window + use_buffer = false, -- Capture Codex stdout into a normal buffer instead of a terminal buffer + }, + }, { "yetone/avante.nvim", -- if you want to build from source then do `make BUILD_FROM_SOURCE=true` diff --git a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/cloak.lua b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/cloak.lua index ab26f00..29c94c0 100644 --- a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/cloak.lua +++ b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/cloak.lua @@ -35,7 +35,7 @@ return { end, keys = { { "ce", "CloakEnable", desc = "Enable cloak" }, - { "cd", "CloakDisable", desc = "Disable cloak" }, + { "cx", "CloakDisable", desc = "Disable cloak" }, { "cl", "CloakPreviewLine", desc = "Preview line cloak" }, { "zC", "CloakToggle", desc = "Toggle cloak" }, }, diff --git a/mac/.config/TheSiahxyz/lua/TheSiahxyz/core/keymaps.lua b/mac/.config/TheSiahxyz/lua/TheSiahxyz/core/keymaps.lua index 16a0062..f2cbcba 100644 --- a/mac/.config/TheSiahxyz/lua/TheSiahxyz/core/keymaps.lua +++ b/mac/.config/TheSiahxyz/lua/TheSiahxyz/core/keymaps.lua @@ -371,7 +371,7 @@ vim.keymap.set("n", "mD", function() end, { desc = "Delete all marks" }) -- Ownerships -vim.keymap.set("n", "cx", "!chmod +x %", { silent = true, desc = "Make file executable" }) +vim.keymap.set("n", "zx", "!chmod +x %", { silent = true, desc = "Make file executable" }) -- Remap Default vim.keymap.set("i", "jk", "", { noremap = true, silent = true, desc = "Escape to normal mode" }) diff --git a/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua b/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua index 33196e8..6ff4ac6 100644 --- a/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua +++ b/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua @@ -259,6 +259,34 @@ return { { "mcp", ":MCPHub", desc = "MCP Hub" }, }, }, + { + "kkrampis/codex.nvim", + lazy = true, + cmd = { "Codex", "CodexToggle" }, -- Optional: Load only on command execution + keys = { + { + "cd", -- Change this to your preferred keybinding + function() + require("codex").toggle() + end, + desc = "Toggle Codex popup or side-panel", + mode = { "n", "t" }, + }, + }, + opts = { + keymaps = { + toggle = nil, -- Keybind to toggle Codex window (Disabled by default, watch out for conflicts) + quit = "", -- Keybind to close the Codex window (default: Ctrl + q) + }, -- Disable internal default keymap (cc -> :CodexToggle) + border = "rounded", -- Options: 'single', 'double', or 'rounded' + width = 0.8, -- Width of the floating window (0.0 to 1.0) + height = 0.8, -- Height of the floating window (0.0 to 1.0) + model = nil, -- Optional: pass a string to use a specific model (e.g., 'o3-mini') + autoinstall = true, -- Automatically install the Codex CLI if not found + panel = false, -- Open Codex in a side-panel (vertical split) instead of floating window + use_buffer = false, -- Capture Codex stdout into a normal buffer instead of a terminal buffer + }, + }, { "yetone/avante.nvim", -- if you want to build from source then do `make BUILD_FROM_SOURCE=true` diff --git a/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/cloak.lua b/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/cloak.lua index ab26f00..29c94c0 100644 --- a/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/cloak.lua +++ b/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/cloak.lua @@ -35,7 +35,7 @@ return { end, keys = { { "ce", "CloakEnable", desc = "Enable cloak" }, - { "cd", "CloakDisable", desc = "Disable cloak" }, + { "cx", "CloakDisable", desc = "Disable cloak" }, { "cl", "CloakPreviewLine", desc = "Preview line cloak" }, { "zC", "CloakToggle", desc = "Toggle cloak" }, }, -- cgit v1.2.3