-
-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Single 'd' deletes the line under cursor #460
Comments
I have been debugging what I think is the same issue since yesterday. For me, I noticed that replacing a word with I noticed the bug was not there when I checked out tag 2.0, so I ran a quick git bisect, which shows:
|
Right! |
I am also experiencing this issue, so far only after Ctrl-c from insert to normal mode. I know that Ctrl-c does not emit the InsertLeave event which might be messing something up. Also, I did a clean install two days ago and Deoplete was definitely working before then. |
I cannot reproduce the problem in neovim 0.2.0. |
OK. I get it. |
It looks like 0.1.7 is still the latest release and 0.2.0 is still pre-release. |
I have fixed the problem. But... please don't use |
Okay cool. Thanks Shougo! Oh, and I'm trying not to. Currently retraining my hands to use |
So it won't work if we use |
It breaks some plugins state. |
I understand the limitation but this is kind of deal breaker. 😞 |
You can use the mapping. inoremap <C-c> <Esc> It works. |
heh. of course but it'd definitely confuse people who's trying to use my vim config for sure. |
@shri3k Shouldn't confuse them too much, just add a comment: https://github.com/n8henrie/.vim/blob/3e32355bf04b97188909eeec38cc604cab0cf769/nvim.vim#L34 |
" Remap ctrl-c for this issue: " Shougo/deoplete.nvim#460
I am still seeing the same behavior (a single |
while using YouCompleteMe? |
Sorry, this seemed like a similar issue, so I elected to add a comment here rather then open a new issue. Would you like me to open a new issue for it? Or would you like more details? |
You should create new issue. |
Note: You must not exit insert mode by And you must explain how to exit the insert mode. |
Sorry, completely my fault. I commented on the wrong github repo. |
Hm. If YouCompleteMe uses timers feature, it has the same problem. |
Turns out ^c doesn't play well with some plugins (e.g. [deoplete](Shougo/deoplete.nvim#460)), but my muscle memory is too strong to stop doing that 🤷
Problems summary
I am a new user. The behavior described below happens after enabling
deoplete
:In
normal
mode (after insert)dd
is not working as expected.A single
d
will delete the line under the cursor.Expected
I expect the line to be deleted after I type
dd
.Environment Information
:CheckHealth
result(neovim ver.0.1.5-452+):Provide a minimal init.vim with less than 50 lines (Required!)
The reproduce ways from neovim starting (Required!)
insert
mode.normal
mode.d
.The text was updated successfully, but these errors were encountered: