Easymotion does not work under Code-Server
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
I am trying to debug reasons why EasyMotion won't trigger when the extension is used under VSCode-Server (see related issue: https://github.com/cdr/code-server/issues/3196).
To Reproduce
Install VSCodeVim under Code-Server, configure "vim.easymotion": true in the settings, try triggering it by pressing <leader><leader>w. Rather than seeing highlighted words, the cursor simply moves forward (as if simply w was pressed). This does not happen when I use vanilla VSCode.
Although I seem to be able to reproduce this problem consistently in several environments, a fellow code-server developer does not observe it, so for now I am trying to figure out ways of debugging the problem (or finding confirmation from someone else who could reproduce it as well). Interestingly, everything else works fine (all the usual Vim functionality, any kinds of remappings, vim-sneak, etc).
Any hints on how to approach it? Could I set some breakpoints/watch some variables somewhere to understand what is happening?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the EasyMotion trigger under Code-Server with "vim.easymotion": true, then compare the same w sequence in vanilla VSCode. Trace the EasyMotion key handling and determine why the command behaves like a plain w; done means highlighted words appear reliably in Code-Server without breaking the existing Vim functionality.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100