Use tabs is toggled off under
Editor, a certain number of spaces (I’m assuming 2, but it does not say) should be inserted when
Tab is pressed instead of a tab character as stated; however, that is not the case. Tab characters are still inserted when
Tab is pressed.
Steps to reproduce
Use tabsto off
- Go to any note and press the
Tabkey on your keyboard
2 spaces should be inserted into the note.
1 tab character is inserted into the note.
- Operating system: Windows 10 Pro for Workstations
- Obsidian version: v0.8.1 (Although I believe this has been a bug in previous versions)
I also noticed that if I opened up a new line via
o in Vim mode, it would insert spaces no matter if the previous line was indented with spaces or tabs. If I set
Use tabs to on though, and the previous line was a list item indented with spaces, then it inserts spaces still, but if the previous line was indented with spaces and not a list item, it inserts a tab character. So, this settings’ behavior seems to be fairly unpredictable when it comes to indentation as well as pressing the
I didn’t see a setting for it, but it would also be useful to configure the number of spaces that the
Use tabs setting would insert when set to off.