I noticed that when in
prog-mode (basically any mode without an
TAB key will jump between columns. For example if I have
foo bar baz fot bat|
with the cursor at the
| and I hit
TAB it will move my cursor to align with
foo bar baz fot bat |
This is really nice when doing something like adding ports to a port list in Verilog. However in
verilog-mode (and every other programming major mode I have tested) hitting
TAB will just indent the line.
My question is, what is this
fundamental-mode mechanism called and how can I add it to another major mode?