max397574 / better-escape.nvim

Map keys without delay when typing
GNU General Public License v3.0
629 stars 19 forks source link

`kkk` exits visual mode with default mappings #82

Closed nullromo closed 3 months ago

nullromo commented 3 months ago

Problem

kkk exits visual mode.

Steps to reproduce

  1. Use default mappings
  2. Open vim
  3. Navigate to a line in the middle of the file
  4. vkkk
  5. You will now be in normal mode 😳

I don't think this is intentional.

Workaround

Use this mapping

mappings = {
    v = {
        j = {
            k = false,
        }
    }
}
Sam-programs commented 3 months ago

I can't reproduce this. There was a similar bug, mentioned here, that was fixed in a later version.

Are you using the latest version of better-escape.nvim ?

nullromo commented 3 months ago

Yep, my version was 2 days out of date. That update fixed it. Thanks!