mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 19:46:06 +01:00
plugins/mini-jump: init
This commit is contained in:
parent
f195e33607
commit
3cd7113aa3
2 changed files with 51 additions and 0 deletions
24
plugins/by-name/mini-jump/default.nix
Normal file
24
plugins/by-name/mini-jump/default.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
{ lib, ... }:
|
||||||
|
lib.nixvim.plugins.mkNeovimPlugin {
|
||||||
|
name = "mini-jump";
|
||||||
|
moduleName = "mini.jump";
|
||||||
|
|
||||||
|
maintainers = [ lib.maintainers.HeitorAugustoLN ];
|
||||||
|
|
||||||
|
settingsExample = {
|
||||||
|
mappings = {
|
||||||
|
forward = "f";
|
||||||
|
backward = "F";
|
||||||
|
forward_till = "t";
|
||||||
|
backward_till = "T";
|
||||||
|
repeat_jump = ";";
|
||||||
|
};
|
||||||
|
|
||||||
|
delay = {
|
||||||
|
highlight = 250;
|
||||||
|
idle_stop = 10000000;
|
||||||
|
};
|
||||||
|
|
||||||
|
silent = false;
|
||||||
|
};
|
||||||
|
}
|
||||||
27
tests/test-sources/plugins/by-name/mini-jump/default.nix
Normal file
27
tests/test-sources/plugins/by-name/mini-jump/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
empty = {
|
||||||
|
plugins.mini-jump.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
defaults = {
|
||||||
|
plugins.mini-jump = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
mappings = {
|
||||||
|
forward = "f";
|
||||||
|
backward = "F";
|
||||||
|
forward_till = "t";
|
||||||
|
backward_till = "T";
|
||||||
|
repeat_jump = ";";
|
||||||
|
};
|
||||||
|
|
||||||
|
delay = {
|
||||||
|
highlight = 250;
|
||||||
|
idle_stop = 10000000;
|
||||||
|
};
|
||||||
|
|
||||||
|
silent = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue