plugins/claude-code: init module

This commit is contained in:
Austin Horstman 2025-05-07 21:29:59 -05:00 committed by Gaetan Lepage
parent 6597afe209
commit b17c801f2e
2 changed files with 64 additions and 0 deletions

View file

@ -0,0 +1,47 @@
{
empty = {
plugins.claude-code.enable = true;
};
defaults = {
plugins.claude-code = {
enable = true;
settings = {
window = {
split_ratio = 0.3;
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;
};
command = "claude";
command_variants = {
continue = "--continue";
resume = "--resume";
verbose = "--verbose";
};
keymaps = {
toggle = {
normal = "<C-;>";
terminal = "<C-;>";
variants = {
continue = "<leader>cC";
verbose = "<leader>cV";
};
};
window_navigation = true;
scrolling = true;
};
};
};
};
}