I'm in text mode and want my tab key to indent a line to two spaces.
The file looks like this:
Line one
Line two
The cursor is situated before the 'L' : "Line two", and I hit TAB and it gets indented 6 spaces as opposed to the desired 2 spaces.
Actions I've tried:
I've tried updating the variable:
tab-stop-list
(setq tab-stop-list '(2 4 6 8 10 12 14 16))
I've tried adding a
text-mode-hook
(add-hook 'text-mode-hook '(lambda () (setq tab-width 2)))