mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
plugins/claude-code: init module
This commit is contained in:
parent
6597afe209
commit
b17c801f2e
2 changed files with 64 additions and 0 deletions
47
tests/test-sources/plugins/by-name/claude-code/default.nix
Normal file
47
tests/test-sources/plugins/by-name/claude-code/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue