diff --git a/config/nvim/lua/custom/plugins/init.lua b/config/nvim/lua/custom/plugins/init.lua index 0cccd1a..a80d58b 100644 --- a/config/nvim/lua/custom/plugins/init.lua +++ b/config/nvim/lua/custom/plugins/init.lua @@ -491,4 +491,51 @@ return { 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 = '', + terminal = '', + variants = { + continue = 'cC', + verbose = 'cV', + }, + }, + window_navigation = true, + scrolling = true, + }, + }, + }, }