Sublime Forum

Sublime Windows [Ctrl Right] Doesn't go To End Of Line. HELP

#1

Hi Guys

I have used sublime text on a mac and the control left/right goes to the end of the line, but on windows, it just goes to the next word.
Can someone please suggest how to fix this?

Thanks
12121231

0 Likes

#2

Ok i figured it out, if anyone has trouble with this.

Go To Preferences - Key Bindings - Default

Find line 66

{ "keys": "home"], "command": "move_to", "args": {"to": "bol", "extend": false} },
{ "keys": "end"], "command": "move_to", "args": {"to": "eol", "extend": false} },

Change these two commands to

{ "keys": "ctrl+right"], "command": "move_to", "args": {"to": "bol", "extend": false} },
{ "keys": "ctrl+left"], "command": "move_to", "args": {"to": "eol", "extend": false} },
0 Likes

#3

Don’t do that:
docs.sublimetext.info/en/latest/ … y-bindings

0 Likes

#4

On Windows, use “End” and “Home” keys to go to the end/beginning of a line.

0 Likes

#5

It should also be noted that what you’re describing is the default behavior of ctrl-left/right for any application that edits text (word processor, text editor, etc…) for both Windows and Linux. The Mac is the odd man out here.

0 Likes