Created
October 13, 2015 22:00
-
-
Save gatoravi/0adc8afe3ad9f7599e3d to your computer and use it in GitHub Desktop.
Switching from tabs to spaces and vice-versa in Vim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://vim.wikia.com/wiki/Converting_tabs_to_spaces | |
To switch to Tabs from Spaces | |
:set noexpandtab | |
Switch to spaces | |
:set expandtab | |
:set tabstop=4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment