Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 270 Bytes

Convert-tabs-to-spaces.md

File metadata and controls

20 lines (14 loc) · 270 Bytes
  • Date : 2018-02-21
  • Tags : #vim

Convert tabs to spaces

This is my config to use 4 spaces instead tab

filetype plugin indent on
set tabstop=4
set shiftwidth=4
set expandtab

To convert existing file from tabs to spaces, use this command

:%retab