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

Vim easymotion - not using leader key at all #4824

Closed
skgbanga opened this issue May 9, 2020 · 1 comment
Closed

Vim easymotion - not using leader key at all #4824

skgbanga opened this issue May 9, 2020 · 1 comment

Comments

@skgbanga
Copy link

skgbanga commented May 9, 2020

Hello,

I am moving from regular vim to VSCode and one of the configuration that I use in my vimrc is this:

nmap s <Plug>(easymotion-s2)

With the above setting, I don't need to do '2s..' to search for two characters on my screen. This is immensely helpful and is the only setting/way I use easymotion with.

Do you know if this is possible to do in VSCode vim extension?

Thanks!

@skgbanga
Copy link
Author

skgbanga commented May 9, 2020

Based on #4532, looks like I can achieve this by:

"vim.normalModeKeyBindingsNonRecursive": [
  {
    "before": [
      "s"
    ],
    "after": [
      "leader",
      "leader",
      "2",
      "s"
    ]
  }
]

Closing this issue.

@skgbanga skgbanga closed this as completed May 9, 2020
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

1 participant