VSCodeVim / VSCodeVim/Vim

I can't use multi-cursor shortcuts, if I don't close all files before I reload window

Open
#2,331 1 comment 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT

What happened:

I have a clean installed vscode, and only installed vscodevim

If I DON'T CLOSE all files, when I reopen vscode (or reload window), it'll restore the previous session

then I can't use shortcuts to toggle multi-cursor ( shortcut: "gb" in normal mode)

If I open a new empty file, everything's ok again (I can press shortcut to use multi-cursor)

but if I close this new file when it focus, the problem happens again

I hope I can explain clearly, so I made two gif

How to reproduce it (as minimally and precisely as possible):

  1. keep only one file opened (e.g. example.js)

  2. close vscode

  3. open vscode again

  4. press shortcut "gb" to toggle multi-cursor

Environment:

  • Extension (VsCodeVim) version: 0.10.13
  • VSCode version: 1.19.2 / 1.19.3
  • OS version: windows / linux

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue using the listed VSCodeVim and VS Code versions with one restored file, then compare the restored-session state with a newly opened empty file. Start by tracing restored editor handling and the normal-mode "gb" multi-cursor mapping. Done means the shortcut works after reopening or reloading without requiring an additional file to be opened.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.