feat(nvim): add flash.nvim

This commit is contained in:
Moritz Böhme 2025-07-31 16:19:36 +02:00
parent ccaddf0f6f
commit cf2bc5243c
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9

View file

@ -0,0 +1,25 @@
_: {
home-manager.users.moritz.programs.nixvim = {
plugins.flash.enable = true;
keymaps = [
{
key = "s";
action.__raw = ''require("flash").jump'';
options.desc = "Flash";
mode = ["n" "x" "o"];
}
{
key = "S";
action.__raw = ''require("flash").treesitter'';
options.desc = "Flash Treesitter";
mode = ["n" "x" "o"];
}
{
key = "r";
action.__raw = ''require("flash").remote'';
options.desc = "Remote flash";
mode = ["o"];
}
];
};
}