A mouse gesture plugin for Neovim that allows users to execute commands by drawing simple directional patterns with the mouse.
gesture.nvim is a mouse gesture plugin for Neovim that allows users to execute editor commands by drawing directional patterns with their mouse. It provides an alternative input method to keyboard shortcuts, enabling actions like scrolling, tab navigation, and custom operations through simple mouse movements.
Neovim users who prefer or occasionally use mouse input, developers looking to enhance their editor workflow with gesture-based commands, and those seeking customizable input methods beyond traditional keybindings.
It offers a unique, visually interactive way to control Neovim without leaving the mouse, with fully customizable gestures and seamless integration into the editor's existing keymap and command system.
Mouse gesture plugin for neovim
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Allows defining gestures with directional inputs and mapping them to any Neovim command or Lua function, as shown in examples like 'scroll to bottom' or complex custom logic.
Actions can be command strings, keycode simulations, or Lua callable functions, enabling deep integration with existing editor workflows, such as simulating <C-o> for navigation.
Provides real-time visual tracing of gestures as they are drawn, enhancing user interaction by showing the gesture path, as demonstrated in the GIF example.
Supports both left-click and right-click drag gestures with configurable keymaps, catering to different user preferences, as outlined in the setup code.
Specifically designed for Neovim nightly, limiting usability for users on stable releases and potentially introducing instability from bleeding-edge features.
Setup involves configuring mouse options and multiple keymaps, as shown in the verbose example code, which can be daunting for users unfamiliar with Neovim scripting.
Focused on mouse gestures, which may conflict with the keyboard-centric ethos of many Neovim users, reducing its practicality in typical development environments.