Skip to content
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

Selecting text backwards in insert mode only selects first character #1951

Closed
rohitpaulk opened this issue Aug 4, 2017 · 4 comments · Fixed by #2062 or #3712
Closed

Selecting text backwards in insert mode only selects first character #1951

rohitpaulk opened this issue Aug 4, 2017 · 4 comments · Fixed by #2062 or #3712

Comments

@rohitpaulk
Copy link

rohitpaulk commented Aug 4, 2017

  • Click thumbs-up 👍 on this issue if you want it!
  • Click confused 😕 on this issue if not having it makes VSCodeVim unusable.

The VSCodeVim team prioritizes issues based on reaction count.


Environment:

  • VSCode Version: 1.14.2
  • VsCodeVim Version: 0.9.0
  • OS: macOS Sierra

How to reproduce it:

  • Enter insert mode
  • Type out a few characters
  • Select those characters, by pressing shift + left arrow multiple times.
  • Copy using cmd + c
  • Paste elsewhere using cmd + v.

vimselect

What happened:

  • With the vim extension active, only the first character of the selection is copied.
  • Without the vim extension active, the entire selection is copied.

What did you expect to happen:

I'd expect the entire selection to be copied, just like when the vim extension isn't active.

@tomasiser
Copy link

This issue happens on Windows as well and it is super annoying as I copy+paste backwards multiple times a day only to find out that I actually pasted a single character instead of 20 lines. :(

@chunkeater
Copy link

Same issue on both Mac and Windows since months ago.. I need to retrain my workflow to not to backwards copy, which is pretty disruptive. Any workarounds (without uninstalling VscodeVim) will be helpful, or information on the source code portions to be fixed and I could help. thank you! :)

DanEEStar added a commit to DanEEStar/Vim that referenced this issue Oct 10, 2017
Use the normal selection in insert mode.
This fixes VSCodeVim#1951. Selection in insert mode seems to be
specific to this plugin and is not easily possible in normal Vim.
xconverge added a commit that referenced this issue Oct 11, 2017
@tomasiser
Copy link

The issue was fixed in insert mode, but not in normal mode. Should a new issue be made about it?

@ghost
Copy link

ghost commented Oct 8, 2018

Is this still a bug or is it fixed now? If it isn't fixed, I'll love to work on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants