Hi Folks,
I am trying to create a keybind for quitting the auto complete window and going down a line.
If I execute this macro:
[
{“command”: “hide_auto_complete” },
{“command”: “move”, “args”: {“by”: “lines”, “forward”: true } },
]
with this keybind:
{ “keys”: [“alt+j”], “command”: “run_macro_file”, “args”: {“file”: “Packages/User/makros/closeAutocompleteAndDown.sublime-macro”}, “context”: [{“key”: “auto_complete_visible”, “operator”: “equal”, “operand”: true}] },
I have to press it twice to work. The issue seems to be, that the auto complete window eats the move command.
There is one exception: When there is only one entry in the autocomplete window.
Things I tried:
- The multicommand and chain of command packages instead of using a macro, but the result was precisely the same.
- safe mode
- a different key (simply “j”)
- call the macro from the Tools menu
Any suggestions?
