Can I use autocompletion for kubectl in zsh?

Both bash and zsh supports scripts that completes printed command when you press <TAB>. The feature is called Programmable completion, and you can find more details about that here: zsh completion. Fortunately, you don’t need to write your own script – kubectl provides it for zsh > 5.2. Try running this command: source <(kubectl completion … Read more

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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)