Question

I'm trying to mapp jj to escape. I'm getting an error below. Fix?

“Error trying to parse settings: Unexpected trailing characters in {path}:15:1

Was it helpful?

Solution

I think you should place your configuration code in Default (OS).sublime-keymap, not in Preferences.sublime-settings.

You can find it in Sublime Text 2/Preferences/Key Bindings - User menu.

OTHER TIPS

Open Sublime Text Keybindings Settings Default (Windows).sublime-keymap

Go to Preferences -> Key Bindings - User.

enter image description here

Inside your Default (OS).sublime-keymap file, add your remap..

[
    { "keys": ["j", "j"], "command": "exit_insert_mode",
        "context":
        [
            { "key": "setting.command_mode", "operand": false },
            { "key": "setting.is_widget", "operand": false }
        ]
    }
]
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top