Closed baileyparker closed 9 years ago
Strange. As I started bisecting, I realized that after checking out another branch and then re-checking out HEAD, I was no longer able to reproduce the issue. Something must've gotten mucked up in git with my local copy (I'm positive I make clean
ed properly).
Sorry for the errant issue!
With the current HEAD of the repo (https://github.com/rogual/neovim-dot-app/commit/4a6c0f3a7eeea0242ecb2d83e59ccc7f73463851), the change command works incorrectly (this only happens in the app, in my terminal,
nvim
handles it properly).Steps to reproduce:
i
, add some text (ex.this is a test
), and thenESC
b
t
(if you didb
). Now try tocw
.Expected:
The word
test
disappears and you enter insert mode where the cursor was.Where
|
is the cursorActual Result:
A
w
is inserted before the cursor and you enter insert mode with your cursor after the w.This bug works with
c
+ any movement command (ex.ce
). In fact, it seems likec
by itself for some reason acts exactly likei
.Side note: although probably obvious,
C
still works as expected (changes to the end of the line).If it's relevant, I'm on 10.10.5 with neovim@32a9022.
I was previously on https://github.com/rogual/neovim-dot-app/commit/8b3590a2dd1de2aec2ea89136911716ac29313bc so I can bisect from there to see if I can help in identifying the offending commit.
EDIT: It seems that not only change is affected. This bug also affects anything that has an accompanying movement. So, for example,
dd
no longer deletes a line,yw
just advances the cursor without yanking a word, etc.