nvf/modules/utility/gestures/gesture-nvim/gesture-nvim.nix

14 lines
391 B
Nix
Raw Normal View History

{lib, ...}: let
2024-03-24 00:14:39 +00:00
inherit (lib.options) mkEnableOption;
inherit (lib.nvim.binds) mkMappingOption;
in {
options.vim.gestures.gesture-nvim = {
enable = mkEnableOption "gesture-nvim: mouse gestures";
2023-05-02 20:12:45 +00:00
mappings = {
draw = mkMappingOption "Start drawing [gesture.nvim]" "<LeftDrag>";
finish = mkMappingOption "Finish drawing [gesture.nvim]" "<LeftRelease>";
};
};
}