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

13 lines
355 B
Nix
Raw Normal View History

{lib, ...}: let
inherit (lib) mkEnableOption 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>";
};
};
}