24 lines
657 B
Nix
24 lines
657 B
Nix
{ ... }:
|
|
{
|
|
programs.nixvim = {
|
|
plugins = {
|
|
mini = {
|
|
enable = true;
|
|
|
|
modules = {
|
|
surround = {
|
|
mappings = {
|
|
add = "gsa"; # -- Add surrounding in Normal and Visual modes
|
|
delete = "gsd"; # -- Delete surrounding
|
|
find = "gsf"; # -- Find surrounding (to the right)
|
|
find_left = "gsF"; # -- Find surrounding (to the left)
|
|
highlight = "gsh"; # -- Highlight surrounding
|
|
replace = "gsr"; # -- Replace surrounding
|
|
update_n_lines = "gsn"; # -- Update `n_lines`
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|