FG
💻 Software

Delete space-expanded "tab" in Vim with one keystroke?

Fresh7 days ago
Mar 15, 202618671 views
Confidence Score0%
0%

Problem

I edit Python code with Vim. With the tab key I get four spaces inserted for indentation. How can I delete those spaces with one "Backspace"(?) stroke - instead of four? There has to be some "set" option for that... Here is my .vimrc:

Error Output

set autoindent
set ts=4
set sw=4
set et

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Delete space-expanded "tab" in Vim with one keystroke?

Low Risk

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment