claude refactor
This commit is contained in:
parent
ec8084b081
commit
2863cec92c
24 changed files with 1127 additions and 1120 deletions
27
lua/plugins/claude-code.lua
Normal file
27
lua/plugins/claude-code.lua
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
return {
|
||||
{
|
||||
'greggh/claude-code.nvim',
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim', -- Required for git operations
|
||||
},
|
||||
config = function()
|
||||
require('claude-code').setup {
|
||||
window = {
|
||||
position = 'float',
|
||||
},
|
||||
keymaps = {
|
||||
toggle = {
|
||||
normal = '<leader>c', -- Normal mode keymap for toggling Claude Code, false to disable
|
||||
terminal = 'false', -- Terminal mode keymap for toggling Claude Code, false to disable
|
||||
-- variants = {
|
||||
-- continue = "<leader>cC", -- Normal mode keymap for Claude Code with continue flag
|
||||
-- verbose = "<leader>cV", -- Normal mode keymap for Claude Code with verbose flag
|
||||
--},
|
||||
},
|
||||
window_navigation = true, -- Enable window navigation keymaps (<C-h/j/k/l>)
|
||||
scrolling = true, -- Enable scrolling keymaps (<C-f/b>) for page up/down
|
||||
},
|
||||
}
|
||||
end,
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue