mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-23 22:00:42 +00:00
14 lines
391 B
Nix
14 lines
391 B
Nix
{lib, ...}: let
|
|
inherit (lib.options) mkEnableOption;
|
|
inherit (lib.nvim.binds) mkMappingOption;
|
|
in {
|
|
options.vim.gestures.gesture-nvim = {
|
|
enable = mkEnableOption "gesture-nvim: mouse gestures";
|
|
|
|
mappings = {
|
|
draw = mkMappingOption "Start drawing [gesture.nvim]" "<LeftDrag>";
|
|
finish = mkMappingOption "Finish drawing [gesture.nvim]" "<LeftRelease>";
|
|
};
|
|
};
|
|
}
|