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

Selection mode mappings don't work #2131

Closed
mnowotnik opened this issue Nov 9, 2017 · 3 comments
Closed

Selection mode mappings don't work #2131

mnowotnik opened this issue Nov 9, 2017 · 3 comments

Comments

@mnowotnik
Copy link

mnowotnik commented Nov 9, 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.17.2
  • VsCodeVim Version: 0.10.2
  • OS: Fedora 25

What happened:
The whole document was selected.
Keys pressed:
L
What did you expect to happen:
The selection should extend only to the end of the line.

How to reproduce it:
Enter these mappings in your user settings:

{
 "vim.otherModesKeyBindingsNonRecursive": [
        {
            "before": [ "H" ],
            "after": [ "^" ]
        },
        {
            "before": [ "L" ],
            "after": [ "$" ]
        }]
}

Open a text file with multiple text lines. Enter visual selection mode. Press L.

@TomNaessens
Copy link

I reported a similar (same?) issue a while ago: #1835

A workaround (albeit annoying to get in your fingers) is to press k or l first. Once you've moved the cursor, the commands should work.

@jwmann
Copy link

jwmann commented Apr 17, 2019

Having the same issue.
Really wish there was a vim.visualSelectKeyBindingsNonRecursive :(

@mnowotnik
Copy link
Author

mnowotnik commented Apr 20, 2019

Duplicate of #1835

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

No branches or pull requests

3 participants