1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-20 09:19:41 +01:00

plugins/marks: migrate to mkNeovimPlugin

Signed-off-by: saygo-png <saygo.mail@proton.me>
This commit is contained in:
saygo-png 2025-09-29 05:03:37 +02:00 committed by Matt Sturgeon
parent 283775355b
commit 0a721c85dc
3 changed files with 84 additions and 195 deletions

View file

@ -3,21 +3,52 @@
plugins.marks.enable = true;
};
example = {
plugins.marks = {
enable = true;
settings = {
cyclic = true;
refreshInterval = 150;
mappings = {
set = "<Leader>mM";
delete = "<Leader>md";
next = "<Leader>mn";
prev = "<Leader>mp";
toggle = "<Leader>mm";
delete_buf = "<Leader>mc";
delete_line = "<Leader>mD";
};
};
};
};
defaults = {
plugins.marks = {
enable = true;
builtinMarks = [ ];
defaultMappings = true;
signs = true;
cyclic = true;
forceWriteShada = false;
refreshInterval = 150;
signPriority = 10;
excludedFiletypes = [ ];
excludedBuftypes = [ ];
bookmarks = { };
mappings = { };
settings = {
default_mappings = true;
builtin_marks.__empty = { };
cyclic = true;
force_write_shada = false;
refresh_interval = 150;
sign_priority = 10;
excluded_filetypes.__empty = { };
excluded_buftypes.__empty = { };
mappings = {
set = "m";
set_next = "m;";
toggle = "m;";
next = "m]";
prev = "m[";
preview = "m:";
next_bookmark = "m}";
prev_bookmark = "m{";
delete = "dm";
delete_line = "dm-";
delete_bookmark = "dm=";
delete_buf = "dm<space>";
};
};
};
};
}