cursor Location on the line for each press of ctrl-a
avatar-lavventura opened this issue · 2 comments
avatar-lavventura commented
In emacs
when I type ctrl-a
the cursor goes the beginning of the line (most left point), later when I press ctrl-a
again the cursor goes to starting point of the line and it continues this operation.
hello //<ctrl-a> pressed
^
hello //<ctrl-a> pressed
^
hello //<ctrl-a> pressed
^
=> Is it possible to have this approach on sublimeText?
canoeberry commented
Traditionally, Emacs has super+m to move the cursor to the indent of the line. It’s been that way since the beginning of time and it’s what I implemented.
I have seen the behaviour you describe and I frankly thought it might be the default behaviour in sublime, but after disabling the emacs pro plugin it was still the same.
You can bind ctrl+a to sbp_move_back_to_indentation … but then you will have to come up with a way to move the rest of the way to the beginning of the line if you want it.
Hope this helps.
avatar-lavventura commented
I found the solution as follows:
{ "keys": ["ctrl+a"], "command": "move_to", "args": { "extend": false, "to": "bol" } },