User Tools

Site Tools


vim:config:indentation:indentation_purely_with_hard_tabs

This is an old revision of the document!


VIM - Config - Indentation - Indentation purely with hard tabs

To indent only with hard tabs, and not with spaces.

set shiftwidth=2
set tabstop=2

NOTE:

  • The principle is to set set tabstop and set shiftwidth to the same value, and to leave expandtab at its default value (noexpandtab), and leave softtabstop unset.
vim/config/indentation/indentation_purely_with_hard_tabs.1665237913.txt.gz · Last modified: 2022/10/08 14:05 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki