In Latex mode, the tab
key runs the command indent-for-tab-command
From the output of C-h k
tab
when in Latex mode
I rarely need to indent lines in my Latex files, and so I want to disable this behavior. Also I often find it necessary to insert 5 spaces at a time, when I am writing little snippets of Python or Yaml code in my .tex
files.
Is it possible to bind the tab
key to be able to insert 5 spaces (but only when in Latex mode)?