Closed b1nhack closed 2 months ago
mini.ai
Since I'm a colemak user, I remaped i to l:
vim.keymap.set({ "n", "x" }, "i", "l")
To use v_iw, I added the following mapping:
vim.keymap.set({ "n", "x", "o" }, "k", "i")
To use mini.ai, I modified the default keymap:
-- Main textobject prefixes around = "a", inside = "k", -- Next/last variants around_next = "an", inside_next = "kn", around_last = "ai", inside_last = "ki", -- Move cursor to corresponding edge of `a` textobject goto_left = "g[", goto_right = "g]",
But now I can't execute v_iw in x-mode (using key: kw)
neovim HEAD-3a82652
No response
v_iw can't work
Thanks for issue!
Similar issue was discussed in #195 with suggested solution to use 'langmap' option to make proper remappings (instead of vim.keymap.set()).
vim.keymap.set()
Contributing guidelines
Module(s)
mini.ai
Description
Since I'm a colemak user, I remaped i to l:
To use v_iw, I added the following mapping:
To use mini.ai, I modified the default keymap:
But now I can't execute v_iw in x-mode (using key: kw)
Neovim version
neovim HEAD-3a82652
Steps to reproduce
Expected behavior
No response
Actual behavior
v_iw can't work