-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Cannot use backspace to delete selected text in INSERT MODE #879
Comments
If anything then selecting text with the mouse should enter visual mode, where backspace should shrinl the selection by one character. |
hi @andlrc maybe I was indulged by Sublime vi mode. But I do think that is more intuitive behavior. |
What you want is something called select mode. You can toggle between select mode and visual mode with |
@andlrc in MacVim, you can do what @wangadong is suggesting, I think it is fair the way he wrote it, and I agree it is annoying |
This bug is legit. Backspace, even in visual mode, should delete whatever is selected. If someone wants to implement Select Mode, please by all means go ahead. :) |
Not just selecting by mouse, if you select the content by |
@johnfn even visual mode? For me visual mode, backspace moves the end cursor back one position |
@andlrc I think the part you missed was that he is using the mouse once already in INSERT mode. Press i, then select text with arrow keys + modifier or mouse, then press backspace. That is what I addressed. Regular mouse selections while in normal put you into visual mode |
@xconverge heh, I'm using macvim, maybe it does something weird? |
@xconverge Am I missing something ? Have a look at here |
Please thumbs-up 👍 this issue if it personally affects you! You can do this by clicking on the emoji-face on the top right of this post. Issues with more thumbs-up will be prioritized.
What did you do?
Enter INSERT MODE, use mouse to select text, then press Backspace to delete the text
What did you expect to happen?
All selected text should be deleted
What happened instead?
Only deleted the last character
Technical details:
The text was updated successfully, but these errors were encountered: