mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-08 08:05:58 +01:00
12 lines
355 B
Nix
12 lines
355 B
Nix
{lib, ...}: let
|
|
inherit (lib) mkEnableOption 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>";
|
|
};
|
|
};
|
|
}
|