{"action":"created","issue":{"url":"https://api.github.com/repos/SublimeText/LaTeXTools/issues/646","repository_url":"https://api.github.com/repos/SublimeText/LaTeXTools","labels_url":"https://api.github.com/repos/SublimeText/LaTeXTools/issues/646/labels{/name}","comments_url":"https://api.github.com/repos/SublimeText/LaTeXTools/issues/646/comments","events_url":"https://api.github.com/repos/SublimeText/LaTeXTools/issues/646/events","html_url":"https://github.com/SublimeText/LaTeXTools/issues/646","id":128378395,"number":646,"title":"auto completion after underscore","user":{"login":"aaltland","id":6135502,"avatar_url":"https://avatars.githubusercontent.com/u/6135502?v=3","gravatar_id":"","url":"https://api.github.com/users/aaltland","html_url":"https://github.com/aaltland","followers_url":"https://api.github.com/users/aaltland/followers","following_url":"https://api.github.com/users/aaltland/following{/other_user}","gists_url":"https://api.github.com/users/aaltland/gists{/gist_id}","starred_url":"https://api.github.com/users/aaltland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaltland/subscriptions","organizations_url":"https://api.github.com/users/aaltland/orgs","repos_url":"https://api.github.com/users/aaltland/repos","events_url":"https://api.github.com/users/aaltland/events{/privacy}","received_events_url":"https://api.github.com/users/aaltland/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SublimeText/LaTeXTools/labels/enhancement","name":"enhancement","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-24T07:15:21Z","updated_at":"2016-04-19T19:24:22Z","closed_at":null,"body":"auto completion of, say, a-tab to \\alpha does not work after an underscore, e.g. x_a + tab does not auto complete to x_\\alpha in math environments. Any idea how to fix this?"},"comment":{"url":"https://api.github.com/repos/SublimeText/LaTeXTools/issues/comments/212077467","html_url":"https://github.com/SublimeText/LaTeXTools/issues/646#issuecomment-212077467","issue_url":"https://api.github.com/repos/SublimeText/LaTeXTools/issues/646","id":212077467,"user":{"login":"r-stein","id":12573621,"avatar_url":"https://avatars.githubusercontent.com/u/12573621?v=3","gravatar_id":"","url":"https://api.github.com/users/r-stein","html_url":"https://github.com/r-stein","followers_url":"https://api.github.com/users/r-stein/followers","following_url":"https://api.github.com/users/r-stein/following{/other_user}","gists_url":"https://api.github.com/users/r-stein/gists{/gist_id}","starred_url":"https://api.github.com/users/r-stein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r-stein/subscriptions","organizations_url":"https://api.github.com/users/r-stein/orgs","repos_url":"https://api.github.com/users/r-stein/repos","events_url":"https://api.github.com/users/r-stein/events{/privacy}","received_events_url":"https://api.github.com/users/r-stein/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T19:24:22Z","updated_at":"2016-04-19T19:24:22Z","body":"That's the way the default ST tab precedence is handled:\r\nJumping to the next snippet field has a higher precedence, than `insert_best_completion`.\r\n\r\nIf you don't like it open the default keymap search for `\"tab\"` and copy all entries to your user keymap. Than you could for example rebind the `next_field` entry to an other keybinding.\r\n\r\n\r\nTo address your suggestion:\r\nI personally also use a prefix key technique inspired from emacs auctex. I press `;` and then `a` to insert an `\\alpha`. If someone is interested just download this keymap ([Default.sublime-keymap.txt](https://github.com/SublimeText/LaTeXTools/files/226666/Default.sublime-keymap.txt)), strip the `.txt` extension and put it inside a subfolder of Packages. Feel free to change the prefix key. In addition the keybindings `^`, `^` and `_`, `_` to insert `^{}` and `_{}` or `/`, `/` to insert `\\frac{}{}` are also useful.\r\nHowever I think this or something similar could be included.\r\n\r\n"}}