feat(nvim): add flash.nvim
This commit is contained in:
parent
ccaddf0f6f
commit
cf2bc5243c
1 changed files with 25 additions and 0 deletions
25
modules/moritz/programs/nvim/plugins/flash.nix
Normal file
25
modules/moritz/programs/nvim/plugins/flash.nix
Normal 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"];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue