Sublime Forum

Using TAB and ENTER for auto complete

#1

I know how to switch between using tab and enter as the autocomplete trigger, but is there a way to use both concurrently to trigger autocomplete?

1 Like

#2

Open your Keybindings - User and add the entries:

[
    {
        "keys": ["enter"], "command": "commit_completion", "context": [
            { "key": "auto_complete_visible" }
        ]
    },
    {
        "keys": ["tab"], "command": "commit_completion", "context": [
            { "key": "auto_complete_visible" }
        ]
    },
]
2 Likes

#3

Awesome, thank you. Works perfectly.

1 Like