arsham / indent-tools.nvim

Neovim pluging for dealing with indentations
MIT License
18 stars 2 forks source link

Don't map ai/ii in select mode #3

Closed JulesNP closed 1 year ago

JulesNP commented 1 year ago

Using ii or ai in select mode results in the visual mode commands meant for setting the selection being input into the buffer as text. This patch changes the mapping commands to use mode "x" instead of "v" to avoid creating bindings in select mode.

arsham commented 1 year ago

Thank you for your contribution. I will merge this but I will include this in the next release once the other (#4) PR is concluded.

arsham commented 1 year ago

This is been merged in cc2ce3e0cc17a1ec32dcd492ccd72cbe8bd388fd and the commit message has been updated to leave the very useful description in the PR. I have also updated the commit title so the gitrelease tool would generate a better release description.