Autocomplete in ENTER key instead of TAB in sublime text

Asked

Viewed 472 times

0

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

Obs: I am using Debian Linux.

  • You are using the plugin eminent?

  • @Wmomesso I’m not using any type of plugin...

1 answer

1

Open Keybindings - User and add:

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

http://sublimetext.info/docs/en/reference/key_bindings.html

[
    {
        "keys": ["enter"], "command": "commit_completion", "context": [
            { "key": "auto_complete_visible" }
        ]
    },
    {
        "keys": ["tab"], "command": "commit_completion", "context": [
            { "key": "auto_complete_visible" }
        ]
    },
]
  • Thank you very much Allan Kehl, you saved my life, it was days ago that I tried to fix it and I could not. Hugs.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.