I agree that TAB isn't handy at all, but I think the real improvement would be to add some UI in the game, allowing to bind keys without having to play with config files (and tough, without needing a game restart).
Looks like an important, but low priority feature to me.
For target switching, I don't use it, but indeed, it seems to be on the same function.
Maybe it's possible to call it with a function, like this ?
["TAB"] = function()
player.switch_target();
end,
I think some coders/modders could answer this.
While I'm at it, is it possible to create a binding like the following ?
["3"] = function()
if not command.quick_weapon('ashotgun') then
if not command.quick_weapon('shotgun') then
ui.msg("No cool weapon :(");
end
end
end,
I looked at what I could in the modding sections of the wiki, but I don't thnik I could find such informations.