mirror of
https://github.com/nix-community/nixvim.git
synced 2026-08-24 10:14:03 -05:00
plugins/mini-move: init
This commit is contained in:
committed by
Austin Horstman
parent
b3a2ae0725
commit
e2fa3f656c
@@ -0,0 +1,25 @@
|
||||
{ lib, ... }:
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
name = "mini-move";
|
||||
moduleName = "mini.move";
|
||||
|
||||
maintainers = [ lib.maintainers.HeitorAugustoLN ];
|
||||
|
||||
settingsExample = {
|
||||
mappings = {
|
||||
left = "<M-h>";
|
||||
right = "<M-l>";
|
||||
down = "<M-j>";
|
||||
up = "<M-k>";
|
||||
|
||||
line_left = "<M-h>";
|
||||
line_right = "<M-l>";
|
||||
line_down = "<M-j>";
|
||||
line_up = "<M-k>";
|
||||
};
|
||||
|
||||
options = {
|
||||
reindent_linewise = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
empty = {
|
||||
plugins.mini-move.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.mini-move = {
|
||||
enable = true;
|
||||
settings = {
|
||||
mappings = {
|
||||
left = "<M-h>";
|
||||
right = "<M-l>";
|
||||
down = "<M-j>";
|
||||
up = "<M-k>";
|
||||
|
||||
line_left = "<M-h>";
|
||||
line_right = "<M-l>";
|
||||
line_down = "<M-j>";
|
||||
line_up = "<M-k>";
|
||||
};
|
||||
|
||||
options = {
|
||||
reindent_linewise = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user