Sublime Forum

Setting (say) shift-tab to do completion?

#1

I use tabs quite a bit (though I map them to spaces), so I found that tab completion was getting in my way. I found the setting that disables tab completion, which solves that problem, but I wonder if there is (or could be) a way to restore completion but bind it to (say) shift-tab.

0 Likes

#2

I would take a look at the default key bindings for “tab” and see what commands trigger the tab completion. You should then be able to rebind that command to “shift+tab”.

0 Likes

#3

That’s a good suggestion, but there are about 60 lines of JSON that cover tab behavior. So, I may hold off on playing in that area until I get strongly motivated.
It would be nice, of course, to have a layer of abstraction above tab and shift-tab, so that I could simply swap two settings.

0 Likes