VSCodeVim / VSCodeVim/Vim

Vim extension settings persist in VSCode even after disabling / uninstalling Vim extension

Open
#5,967 0 comments 1 reaction 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

Describe the bug
After installing Vim extension, I updated 2 settings in .vimrc:
set number
set relativenumber

in Vim.
These settings persist in VSCode even after I uninstall the Vim Extension in VSCode and it still
shows line numbers in relative mode (relative to where the cursor is placed in the file)

To Reproduce
Steps to reproduce the behavior:

  1. Install VIM extension in VSCode
  2. Update vim config settings by adding 'set number' and 'set relativenumber'
  3. Check if these settings are being reflected in VSCode.
  4. Disable/ Uninstall the VIM Extension from VSCode. Reload, close and re-open vs code.
  5. Open a file and click on a random line. The linenumbers are still set to relative even after uninstalling vim extension.

Expected behavior
After disabling / uninstalling VSCode, the linenumbers should be set back to absolute.

Screenshots
Screenshot from 2021-01-06 14-45-53

Environment (please complete the following information):

  • Extension (VsCodeVim) version: v1.18.5
  • VSCode version: October 2020 (version 1.51)
  • OS: Ubuntu 20.04

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

No file, test, or entry point is named. Start by reproducing the issue with VSCodeVim v1.18.5 on VSCode 1.51 and Ubuntu 20.04, then trace how the extension applies the .vimrc settings and what remains after disabling or uninstalling it. Done means line numbers return to absolute mode after the extension is removed.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience
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.