nv/config/utils/flash.nix
2024-03-06 19:16:08 +05:30

57 lines
1.1 KiB
Nix

{
plugins.flash = {
enable = false;
labels = "asdfghjklqwertyuiopzxcvbnm";
search = {
mode = "fuzzy";
};
jump = {
autojump = true;
};
label = {
uppercase = false;
rainbow = {
enabled = false;
shade = 5;
};
};
};
# keymaps = [
# {
# mode = [ "n" "x" "o" ];
# key = "s";
# action = "<cmd>lua require('flash').jump()<cr>";
# options = {
# desc = "Flash";
# };
# }
#
# {
# mode = [ "n" "x" "o" ];
# key = "S";
# action = "<cmd>lua require('flash').treesitter()<cr>";
# options = {
# desc = "Flash Treesitter";
# };
# }
#
# {
# mode = "o";
# key = "r";
# action = "<cmd>lua require('flash').remote()<cr>";
# options = {
# desc = "Remote Flash";
# };
# }
#
# {
# mode = [ "x" "o" ];
# key = "R";
# action = "<cmd>lua require('flash').treesitter_search()<cr>";
# options = {
# desc = "Treesitter Search";
# };
# }
# ];
}