How to disable/override the enter key for autocomplete?

I have never used Sublime Text 3, but I don’t think the following has changed since Sublime Text 2. What you want to achieve is actually a standard feature in Sublime Text. You just have to turn it on. This line from your the code you quoted … { “key”: “setting.auto_complete_commit_on_tab”, “operand”: false } … …

Read more

Autocomplete html tags in jsx (sublime text)

Worth noting that you can enable Sublime’s built-in tag closer in JSX by copying and slightly modifying the keybinding for / that comes with Default.sublime-package. Add the following to your custom keymap: { “keys”: [“https://stackoverflow.com/”], “command”: “close_tag”, “args”: { “insert_slash”: true }, “context”: [ { “key”: “selector”, “operator”: “equal”, “operand”: “(text.html, text.xml, meta.jsx.js) – string …

Read more

How to prevent Sublime Text 2 from swallowing closing brackets, quotes and parentheses?

add this to your user keybindings file { “keys”: [“)”], “command”: “insert”, “args”: {“characters”: “)”}, “context”: [ { “key”: “setting.auto_match_enabled”, “operator”: “equal”, “operand”: true }, { “key”: “selection_empty”, “operator”: “equal”, “operand”: true, “match_all”: true }, { “key”: “following_text”, “operator”: “regex_contains”, “operand”: “^\\)”, “match_all”: true } ] } it will override the one keybinding that instead …

Read more

Google Search autocomplete API?

The new url is: http://suggestqueries.google.com/complete/search?client=firefox&q=YOURQUERY the client part is required; I did’t test other clients. [EDIT] If you want the callback use this: http://suggestqueries.google.com/complete/search?client=chrome&q=YOURQUERY&callback=callback As @Quandary found out; the callback does not work with client “firefox”. [EDIT2] As indicated by @ user2067021 this api will stop working as of 10-08-2015: Update on the Autocomplete API