notomo / gesture.nvim

Mouse gesture plugin for neovim
MIT License
527 stars 2 forks source link

More freedom drawing #38

Closed notomo closed 1 year ago

notomo commented 1 year ago

Fix: https://github.com/notomo/gesture.nvim/issues/37

📝 key mappings example

vim.keymap.set("n", "<LeftDrag>", [[<Cmd>lua require("gesture").draw({ show_board = false })<CR>]], { silent = true })
vim.keymap.set("n", "<LeftRelease>", [[<Cmd>lua require("gesture").suspend()<CR>]], { silent = true })
vim.keymap.set("n", "<2-LeftMouse>", [[<Cmd>lua require("gesture").finish()<CR>]], { silent = true })