VSCodeVim / VSCodeVim/Vim

Sync insert mode across tabs

Open
#1,439 15 comments 22 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/enhancement status/by-design
Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

Please thumbs-up 👍 this issue if it personally affects you! You can do this by clicking on the emoji-face on the top right of this post. Issues with more thumbs-up will be prioritized.


What did you do?

Have two tabs open one in insert mode and one in normal mode, move to the other tab

What did you expect to happen?

The cursor to remain in the current mode

What happened instead?

The tab that was entered remembered its own cursor state

Technical details:
  • VSCode Version: 1.10.2
  • VsCodeVim Version: latest
  • OS: osSierra

I find myself making mistakes A LOT because of this...

In vanilla vim it is not possible to switch tabs without being in normal mode..In gvim if you change the cursor state and then click on a tab, the current cursor state will follow to the new tab regardless of the old state within the tab.

Since VSCode most resembles gvim, and one can click on a new tab to change it, I believe the cursor state should follow into the new tab. Is this possible with VSCode?

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

The issue names no files, tests, or entry points. Start by reproducing the behavior with two tabs in different modes and trace how tab changes and mode state are handled. Done means switching tabs carries the current mode into the newly selected tab instead of restoring that tab's previous mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.