From e2fa3f656c8cb39deb9b1dc5be530a68512e3ff2 Mon Sep 17 00:00:00 2001 From: Heitor Augusto <44377258+HeitorAugustoLN@users.noreply.github.com> Date: Sun, 2 Nov 2025 01:54:37 -0300 Subject: [PATCH] plugins/mini-move: init --- plugins/by-name/mini-move/default.nix | 25 +++++++++++++++++ .../plugins/by-name/mini-move/default.nix | 28 +++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 plugins/by-name/mini-move/default.nix create mode 100644 tests/test-sources/plugins/by-name/mini-move/default.nix diff --git a/plugins/by-name/mini-move/default.nix b/plugins/by-name/mini-move/default.nix new file mode 100644 index 00000000..275fec0d --- /dev/null +++ b/plugins/by-name/mini-move/default.nix @@ -0,0 +1,25 @@ +{ lib, ... }: +lib.nixvim.plugins.mkNeovimPlugin { + name = "mini-move"; + moduleName = "mini.move"; + + maintainers = [ lib.maintainers.HeitorAugustoLN ]; + + settingsExample = { + mappings = { + left = ""; + right = ""; + down = ""; + up = ""; + + line_left = ""; + line_right = ""; + line_down = ""; + line_up = ""; + }; + + options = { + reindent_linewise = true; + }; + }; +} diff --git a/tests/test-sources/plugins/by-name/mini-move/default.nix b/tests/test-sources/plugins/by-name/mini-move/default.nix new file mode 100644 index 00000000..87269e7c --- /dev/null +++ b/tests/test-sources/plugins/by-name/mini-move/default.nix @@ -0,0 +1,28 @@ +{ + empty = { + plugins.mini-move.enable = true; + }; + + defaults = { + plugins.mini-move = { + enable = true; + settings = { + mappings = { + left = ""; + right = ""; + down = ""; + up = ""; + + line_left = ""; + line_right = ""; + line_down = ""; + line_up = ""; + }; + + options = { + reindent_linewise = true; + }; + }; + }; + }; +}