VSCodeVim / VSCodeVim/Vim

Support `expandtab` and independent `shiftwidth` and `tabstop` settings

Open
#5,192 1 comment 4 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 your feature request related to a problem? Please describe.
Yes. <C-t>, <C-d>, >>, and << should behave differently from TAB.

Describe the solution you'd like
:set sw/shiftwidth and :set ts/tabstop should be able to be set independently. In addition :expandtab, :noexpandtab, and :retab should work.

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

Start by tracing the handling of , , >>, <<, and TAB, then inspect how :set sw/shiftwidth, :set ts/tabstop, :expandtab, :noexpandtab, and :retab are represented. Done means these commands and key actions support independent shiftwidth and tabstop values, with expandtab behavior matching the requested distinction from TAB.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.