I work on an open source project where the creator sets his tab-indents to 2 spaces.
I\'d like to just enable it on the fly for the one file I work on and not other fil
The easiest way to do this for a single buffer is to use M-x set-variable
.
M-x set-variable
and press entertab-width
then press enterSet tab-width (buffer-local) to value:
.
Put the value you want, then hit enterThe buffer should instantly be updated with the new value.