nv/config/utils/flash.nix

58 lines
1.1 KiB
Nix
Raw Normal View History

2024-03-06 13:46:08 +00:00
{
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";
# };
# }
# ];
}