terryma / vim-expand-region

Vim plugin that allows you to visually select increasingly larger regions of text using the same key combination.
MIT License
1.1k stars 46 forks source link

`+` should only ever expand selection #3

Closed dlee closed 11 years ago

dlee commented 11 years ago

Right now, there are times when pressing + will shrink the left side of the selection to accomodate a larger selection on the right side:

[submodule "vim/bundle/vim-expand-region"]
    path = vim/bundle/vim-expand-region
    url = https://github.com/terryma/vim-expand-region.git

If you place the cursor on the second bundle and continue pressing +, the selection will large to expand on the left, then suddenly, the selection on the left will shrink in order to accomodate a larger selection on the right.

dlee commented 11 years ago

Actually, I think this bug was due a plugin I was using (CamelCaseMotion) remapping iw and ib.