Autocomplete in the ENTER key instead of TAB in the sublime text

0

I'm using the editor sublime text 3 and would like to know how to leave the autocomplete in the ENTER key instead of the TAB key, because when I start typing a word, autocomplete gives me the options, and if I enter ENTER, skip the line.

Note: I'm using Linux Debian.

    
asked by anonymous 19.10.2017 / 04:18

1 answer

0

Open Keybindings - User and add:

Key bindings is a JSON and is in the .sublime-keymap file

link

[
    {
        "keys": ["enter"], "command": "commit_completion", "context": [
            { "key": "auto_complete_visible" }
        ]
    },
    {
        "keys": ["tab"], "command": "commit_completion", "context": [
            { "key": "auto_complete_visible" }
        ]
    },
]
    
19.10.2017 / 13:56