Emacs Tab not working for selection


I actually already found out a solution for this, but am posting just for the record.

I am trying out on CLion with Emacs keybinding, and was stuck when hitting [TAB] in a code selection block.

What I expected to happen: indent all lines in the selection, as in emacs.

What actually happens: adds a tab character to all lines in the selection.


Apparently the 'Indent Selection' command was also assigned to the [TAB] character, and prioritized over the 'Emacs Tab' when a selection was active. Solved by removing the shortcut from the 'Indent Selection' command (which probably should be done by default when switching to the Emacs keybind?).