feat(neovim): integrate with claude-code

This commit is contained in:
João Paulo Dubas 2025-06-21 22:45:05 -03:00
parent 416c8e953a
commit 6e5010a651
Signed by: joao.dubas
SSH Key Fingerprint: SHA256:5HaPRx+Z8Eornc4BTBERSgNxoJQR09Ckn0dMtEnxrMY

View File

@ -491,4 +491,51 @@ return {
trailing_stiffness = 0.1, trailing_stiffness = 0.1,
}, },
}, },
{
'greggh/claude-code.nvim',
dependencies = {
'nvim-lua/plenary.nvim',
},
opts = {
window = {
split_ratio = 0.5,
position = 'botright',
enter_insert = true,
hide_numbers = true,
hide_signcolumn = true,
},
refresh = {
enable = true,
updatetime = 100,
timer_interval = 1000,
show_notifications = true,
},
git = {
use_git_root = true,
},
shell = {
separator = '&&',
pushd_cmd = 'pushd',
popd_cmd = 'popd',
},
command = 'claude',
command_variants = {
continue = '--continue', -- Resume the most recent conversation
resume = '--resume', -- Display an interactive conversation picker
verbose = '--verbose', -- Enable verbose logging with full turn-by-turn output
},
keymaps = {
toggle = {
normal = '<C-_>',
terminal = '<C-_>',
variants = {
continue = '<leader>cC',
verbose = '<leader>cV',
},
},
window_navigation = true,
scrolling = true,
},
},
},
} }