mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-10 23:45:31 +00:00
clean up hydra config and implementation
This commit is contained in:
parent
6b0f11006b
commit
5959f211e0
2 changed files with 1 additions and 30 deletions
|
|
@ -12,39 +12,11 @@ in {
|
||||||
lazy.plugins.hydra = {
|
lazy.plugins.hydra = {
|
||||||
package = "hydra-nvim";
|
package = "hydra-nvim";
|
||||||
setupModule = "hydra";
|
setupModule = "hydra";
|
||||||
#inherit (cfg) setupOpts;
|
inherit (cfg) setupOpts;
|
||||||
setupOpts = {
|
|
||||||
debug = false;
|
|
||||||
exit = false;
|
|
||||||
foreign_keys = null;
|
|
||||||
color = "red";
|
|
||||||
timeout = false;
|
|
||||||
invoke_on_body = false;
|
|
||||||
hint = {
|
|
||||||
show_name = true;
|
|
||||||
position = "bottom";
|
|
||||||
offset = 0;
|
|
||||||
float_opts = {};
|
|
||||||
};
|
|
||||||
on_enter = null;
|
|
||||||
on_exit = null;
|
|
||||||
on_key = null;
|
|
||||||
};
|
|
||||||
|
|
||||||
after = ''
|
|
||||||
-- custom lua code to run after plugin is loaded
|
|
||||||
print('multicursors loaded')
|
|
||||||
'';
|
|
||||||
|
|
||||||
event = ["DeferredUIEnter"];
|
event = ["DeferredUIEnter"];
|
||||||
cmd = ["MCstart" "MCvisual" "MCclear" "MCpattern" "MCvisualPattern" "MCunderCursor"];
|
cmd = ["MCstart" "MCvisual" "MCclear" "MCpattern" "MCvisualPattern" "MCunderCursor"];
|
||||||
};
|
};
|
||||||
#keys = [
|
|
||||||
# (mkKeymap "n" mappings.mcStart "<cmd>MCstart<cr>" {desc = "Create a selection for selected text or word under the cursor [multicursors.nvim]";})
|
|
||||||
#];
|
|
||||||
# dependencies = [
|
|
||||||
# config.vim.lazy.plugins.hydra # hydra.nvim - Create custom submodes and menus
|
|
||||||
# ];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
{lib, ...}: let
|
{lib, ...}: let
|
||||||
#inherit (lib) types;
|
|
||||||
inherit (lib.options) mkEnableOption;
|
inherit (lib.options) mkEnableOption;
|
||||||
in {
|
in {
|
||||||
options.vim.utility.hydra = {
|
options.vim.utility.hydra = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue