neovim-flake/modules/utility/gestures/gesture-nvim/gesture-nvim.nix

14 lines
391 B
Nix
Raw Normal View History

{lib, ...}: let
2024-03-24 01:14:39 +01: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 22:12:45 +02:00
mappings = {
draw = mkMappingOption "Start drawing [gesture.nvim]" "<LeftDrag>";
finish = mkMappingOption "Finish drawing [gesture.nvim]" "<LeftRelease>";
};
};
}