mirror of
https://github.com/zhigang1992/AutoFileName.git
synced 2026-06-15 02:48:55 +08:00
this should fix almost all the current bugs. Still looking into overriding default autocompletion issues
24 lines
793 B
Plaintext
24 lines
793 B
Plaintext
[
|
|
{ "keys": ["tab"], "command": "insert_dimensions",
|
|
"context":
|
|
[
|
|
{ "key": "setting.auto_complete_commit_on_tab" },
|
|
{ "key": "auto_complete_visible", "operator": "equal", "operand": true },
|
|
{ "key": "afn_insert_dimensions", "operator": "equal", "operand": true }
|
|
]
|
|
},
|
|
{ "keys": ["enter"], "command": "insert_dimensions",
|
|
"context":
|
|
[
|
|
{ "key": "setting.auto_complete_commit_on_tab", "operator": "equal", "operand": false },
|
|
{ "key": "auto_complete_visible", "operator": "equal", "operand": true },
|
|
{ "key": "afn_insert_dimensions", "operator": "equal", "operand": true }
|
|
]
|
|
},
|
|
{ "keys": ["backspace"], "command": "reload_auto_complete",
|
|
"context":
|
|
[
|
|
{ "key": "afn_deleting_slash", "operator": "equal", "operand": true }
|
|
]
|
|
}
|
|
] |