summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-11-20 13:58:16 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-11-20 13:58:16 +0900
commit4844af695af012642fa95e53f32f2639c898694d (patch)
tree37e5064330969dce7522c7448e7194175c9ae076
parente3e723180116f97950e18e47e788c5eeb2d0bd2c (diff)
updates
-rw-r--r--ar/.config/TheSiahxyz/lua/TheSiahxyz/core/keymaps.lua2
-rw-r--r--ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua28
-rw-r--r--ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/cloak.lua2
-rw-r--r--mac/.config/TheSiahxyz/lua/TheSiahxyz/core/keymaps.lua2
-rw-r--r--mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua28
-rw-r--r--mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/cloak.lua2
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", "<leader>mD", function()
end, { desc = "Delete all marks" })
-- Ownerships
-vim.keymap.set("n", "<leader>cx", "<Cmd>!chmod +x %<cr>", { silent = true, desc = "Make file executable" })
+vim.keymap.set("n", "<leader>zx", "<Cmd>!chmod +x %<cr>", { silent = true, desc = "Make file executable" })
-- Remap Default
vim.keymap.set("i", "jk", "<esc>", { 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
@@ -260,6 +260,34 @@ return {
},
},
{
+ "kkrampis/codex.nvim",
+ lazy = true,
+ cmd = { "Codex", "CodexToggle" }, -- Optional: Load only on command execution
+ keys = {
+ {
+ "<leader>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 = "<C-q>", -- Keybind to close the Codex window (default: Ctrl + q)
+ }, -- Disable internal default keymap (<leader>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`
-- ⚠️ must add this setting! ! !
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 = {
{ "<leader>ce", "<Cmd>CloakEnable<cr>", desc = "Enable cloak" },
- { "<leader>cd", "<Cmd>CloakDisable<cr>", desc = "Disable cloak" },
+ { "<leader>cx", "<Cmd>CloakDisable<cr>", desc = "Disable cloak" },
{ "<leader>cl", "<Cmd>CloakPreviewLine<cr>", desc = "Preview line cloak" },
{ "<leader>zC", "<Cmd>CloakToggle<cr>", 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", "<leader>mD", function()
end, { desc = "Delete all marks" })
-- Ownerships
-vim.keymap.set("n", "<leader>cx", "<Cmd>!chmod +x %<cr>", { silent = true, desc = "Make file executable" })
+vim.keymap.set("n", "<leader>zx", "<Cmd>!chmod +x %<cr>", { silent = true, desc = "Make file executable" })
-- Remap Default
vim.keymap.set("i", "jk", "<esc>", { 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
@@ -260,6 +260,34 @@ return {
},
},
{
+ "kkrampis/codex.nvim",
+ lazy = true,
+ cmd = { "Codex", "CodexToggle" }, -- Optional: Load only on command execution
+ keys = {
+ {
+ "<leader>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 = "<C-q>", -- Keybind to close the Codex window (default: Ctrl + q)
+ }, -- Disable internal default keymap (<leader>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`
-- ⚠️ must add this setting! ! !
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 = {
{ "<leader>ce", "<Cmd>CloakEnable<cr>", desc = "Enable cloak" },
- { "<leader>cd", "<Cmd>CloakDisable<cr>", desc = "Disable cloak" },
+ { "<leader>cx", "<Cmd>CloakDisable<cr>", desc = "Disable cloak" },
{ "<leader>cl", "<Cmd>CloakPreviewLine<cr>", desc = "Preview line cloak" },
{ "<leader>zC", "<Cmd>CloakToggle<cr>", desc = "Toggle cloak" },
},