Or (for posterity), you can simply paste this into your keyboard layout file:
{ "keys": ["g", "t"], "command": "next_view", "context": [ { "key": "setting.command_mode", "operand": true }, { "key": "setting.is_widget", "operand": false } ] }, { "keys": ["g", "T"], "command": "prev_view", "context": [ { "key": "setting.command_mode", "operand": true }, { "key": "setting.is_widget", "operand": false } ] },
source share