I have read the key bindings file of Sublime Text 2
{ "keys": ["end"], "command": "move_to", "args": {"to": "eol", "extend": false} },
I’m wondering if we can move to the end of line without END key in keyboard.
In vim, I just ESC and A, then the cursor would be in the end of line.
To change the key binding, open
Key Bindings - Userpreferences and add a new line between the square brackets. For example, to set the key binding toControl-Alt-Command-Ayou’d use:If this line that you’re adding is not the last line before the closing square bracket, then you’ll need to include a comma at the end of the line. For example:
You should check the
Key Bindings - Defaultpreferences to make sure that the key binding you’re setting here doesn’t conflict with anything else that you might use.You shouldn’t edit the
Key Bindings - Defaultpreferences directly, because they will be overwritten in Sublime Text 2 upgrades.