mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-17 03:31:59 -05:00
feat:add_nixvim
This commit is contained in:
40
home/nixvim/plugins/ui/flash.nix
Normal file
40
home/nixvim/plugins/ui/flash.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
plugins.flash = {
|
||||
enable = true;
|
||||
settings.label.uppercase = false;
|
||||
};
|
||||
|
||||
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 = [
|
||||
"x"
|
||||
"o"
|
||||
];
|
||||
key = "R";
|
||||
action = "<cmd>lua require('flash').treesitter_search()<cr>";
|
||||
options = {
|
||||
desc = "Treesitter Search";
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user