Unresponsive VSC when pressing jj
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Issue Type: Bug
My esc key is mapped to jj and it works fine in many cases but i have a file where in the following things are written:
faajjkjldjflksafj;ljjfjskaljjjjjj:kdkdjjjjjjjjbbjjjldsfljjjjjjjjjjjjjjjjjjjjjjjjjjj
jjjjjjjjjj
when i press jj at the end of third line to go into escape mode, VSC becomes unresponsive. If i press jj somewhere else in the same file then it works fine.
Extension version: 0.11.6
VS Code version: Code 1.23.1 (d0182c3417d225529c6d5ad24b7572815d0de9ac, 2018-05-10T16:04:33.747Z)
OS version: Linux x64 4.4.0-21-generic
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz (2 x 3276) |
| GPU Status | 2d_canvas: enabled flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: disabled_off native_gpu_memory_buffers: disabled_software rasterization: disabled_software video_decode: unavailable_software video_encode: enabled vpx_decode: unavailable_software webgl: enabled webgl2: enabled |
| Load (avg) | 2, 1, 1 |
| Memory (System) | 3.77GB (0.07GB free) |
| Process Argv | /usr/share/code/code --unity-launch |
| Screen Reader | no |
| VM | 0% |
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
Reproduce the report using the jj escape mapping, the supplied three-line text, and the listed VS Code Vim and VS Code versions. Compare pressing jj at the end of the third line with other locations, then identify the handling path responsible for the unresponsive state and verify that the reported reproduction no longer hangs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vim
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100