plugins/visual-multi: init

This commit is contained in:
Gaetan Lepage 2025-01-11 13:52:19 +01:00 committed by nix-infra-bot
parent 8db6c51762
commit 4527abba58
4 changed files with 364 additions and 10 deletions

View file

@ -0,0 +1,25 @@
{ lib, ... }:
lib.nixvim.plugins.mkVimPlugin {
name = "visual-multi";
packPathName = "vim-visual-multi";
package = "vim-visual-multi";
globalPrefix = "VM_";
maintainers = [ lib.maintainers.GaetanLepage ];
settingsOptions = import ./settings-options.nix lib;
settingsExample = {
mouse_mappings = 1;
silent_exit = 0;
show_warnings = 1;
default_mappings = 1;
maps = {
"Select All" = "<C-M-n>";
"Add Cursor Down" = "<M-Down>";
"Add Cursor Up" = "<M-Up>";
"Mouse Cursor" = "<M-LeftMouse>";
"Mouse Word" = "<M-RightMouse>";
};
};
}