rhysd / clever-f.vim

Extended f, F, t and T key mappings for Vim.
https://rhysd.github.io/clever-f.vim
1.01k stars 44 forks source link

cursor position not right when `set selection=exclusive` #34

Closed ZSaberLv0 closed 7 years ago

ZSaberLv0 commented 7 years ago

to reproduce:

  1. set selection=exclusive

  2. assume we have these text (| means cursor position)

    |abcdef
  3. v to enter visual mode

  4. press fc

    • with clever-f, the result would be (ab selected)

      ab|cdef
    • without clever-f, the right result should be (abc selected)

      abc|def
rhysd commented 7 years ago

Fixed at 6ce2c36. Could you try the latest?

ZSaberLv0 commented 7 years ago

great work, this did solve the problem