Home Download Buy Blog Forum Support

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

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

Postby 12121231 on Mon Jul 07, 2014 2:50 am

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
12121231
 
Posts: 2
Joined: Mon Jul 07, 2014 2:48 am

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

Postby 12121231 on Mon Jul 07, 2014 3:02 am

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} },
12121231
 
Posts: 2
Joined: Mon Jul 07, 2014 2:48 am

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

Postby bizoo on Mon Jul 07, 2014 1:38 pm

12121231 wrote:Go To Preferences - Key Bindings - Default

Don't do that:
http://docs.sublimetext.info/en/latest/ ... y-bindings
bizoo
 
Posts: 889
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

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

Postby adavsko on Tue Jul 08, 2014 7:08 pm

On Windows, use "End" and "Home" keys to go to the end/beginning of a line.
adavsko
 
Posts: 2
Joined: Wed Aug 15, 2012 8:26 pm

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

Postby ntenney on Tue Jul 08, 2014 7:30 pm

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.
ntenney
 
Posts: 66
Joined: Thu May 03, 2012 9:10 pm


Return to General Discussion

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 25 guests