Reputation: 1604
I would like to bind Ctrl+J to enter (return) in sublime text 2. I am unfamiliar with the command name for enter in sublime text, but I would like something like so in .sublime-keymap:
[
{
"keys": ["ctrl+j"],
"command": <ENTER>
}
]
Thanks
Upvotes: 1
Views: 263
Reputation: 128
Preferences > Key Bindings - User
{"keys": ["ctrl+j"], "command": "insert", "args": {"characters": "\n"}}
Upvotes: 2