2025-05-07 23:03:23 -05:00
|
|
|
{ pkgs, ... }:
|
|
|
|
# TODO: Failing to compile on darwin CI atm
|
|
|
|
pkgs.lib.optionalAttrs (!pkgs.stdenv.isDarwin) {
|
2025-05-07 21:29:59 -05:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|