This commit is contained in:
2026-05-13 21:46:41 -05:00
parent d0bf155fa8
commit a051b51a06
2 changed files with 35 additions and 1 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ opt.swapfile = false
-- auto-reload files changed outside neovim
opt.autoread = true
vim.api.nvim_create_autocmd({ "FocusGained", "BufEnter", "CursorHold", "CursorHoldI" }, {
vim.api.nvim_create_autocmd({ "FocusGained", "BufEnter", "WinEnter", "CursorHold", "CursorHoldI" }, {
pattern = "*",
command = "checktime",
})
+34
View File
@@ -0,0 +1,34 @@
return {
"greggh/claude-code.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
},
keys = {
{ "<leader>ac", desc = "Toggle Claude Code" },
},
config = function()
require("claude-code").setup({
window = {
position = "botright vsplit",
split_ratio = 0.38,
enter_insert = true,
hide_numbers = true,
hide_signcolumn = true,
},
refresh = {
enable = true,
updatetime = 100,
timer_interval = 500,
show_notifications = true,
},
keymaps = {
toggle = {
normal = "<leader>ac",
terminal = "<leader>ac",
},
window_navigation = true,
scrolling = true,
},
})
end,
}