---
title: "Remove Vim Tab Characters"
description: "I've been stuck many times looking at a vim buffer with little question marks at the beginning of each line and trying to get rid of them. for so long I..."
date: 2022-01-06
published: false
tags:
  - vim
  - linux
template: til
---


I've been stuck many times looking at a vim buffer with little question
marks at the beginning of each line and trying to get rid of them.  for
so long I didn't know what they were so trying to get rid of them was
impossible.

![example of what the tab character renders as in my editor](https://images.waylonwalker.com/vim-tab-characters.png)

It turns out they are tabs, and you can get rid of the little leading
question marks with this substitution command.

``` vim
:%s/\t/    /g
```
