Hi
How can I resize tabulations in vim?
Printable View
Hi
How can I resize tabulations in vim?
vim has excellent on-line help, which you can access by typing ":help" in command mode. I tried a search for 'tabulation' but didn't find anything; perhaps the author of vim has another name for it.
In your vimrc file, "set tabstop=n" where n is the width you want.
Or while editing, ":set tabstop=n"
Thank you, guys. Actually what I meant was indentation (not tab). I would like smaller indentations when writing code.
Ahh, my mistake. The setting you want is "shiftwidth". Same syntax.