Sublime Forum

Key bindings

#1

Hi,

Just downloaded Sublime and love it!

I’m just switching over from Emacs24 and would like to configure a few cursor movement keybindings. I’m not sure where to look for the available commands or if they exist. For example,
I would like to do something like:

{ “keys”: “super+v”], “command”: “page_down” }
{ “keys”: “esc+v”], “command”: “page_up” }
{ “keys”: “super+e”], “command”: “end_of_line” }
etc…, but don’t know where to find the values for “command” to make this work. Any help would be greatly appreciated.

Thanks,
Billy

0 Likes

#2

I think you want to use the ‘move’ command.

docs.sublimetext.info/en/latest/ … mands.html

0 Likes

#3

Maybe also check out https://github.com/grundprinzip/sublemacspro?

0 Likes

#4

big thanks!

{ “keys”: “ctrl+e”], “command”: “move_to”, “args”: {“to”: “eol”} }, moves cursor to end of line as expected

billy

0 Likes

#5

sublemacspro is the ticket. thanks!

0 Likes