Home Download Buy Blog Forum Support

Disable Smart Cursor on End Key?

Disable Smart Cursor on End Key?

Postby MiceHead on Fri Aug 10, 2012 3:52 pm

Hi all,

Is it possible to disable the behavior where hitting the END key on a line tells Sublime that subsequent up/down arrow keys should place the cursor at the end of previous and next lines? Here's what I mean. If the cursor's at the end of the Hello World line because I've hit END...

Code: Select all
Hello world.|
This is a longer line.


...hitting the down arrow will cause the cursor to jump to the end of the next line:

Code: Select all
Hello world.
This is a longer line.|


...whereas I really just want it to appear here:

Code: Select all
Hello world.
This is a lo|nger line.


The smart EoL cursor is a neat feature, but I'm just not used to it. :)

Thanks!
MiceHead
 
Posts: 3
Joined: Fri Aug 10, 2012 3:47 pm

Re: Disable Smart Cursor on End Key?

Postby MiceHead on Tue Sep 18, 2012 2:58 am

I haven't been able to find reference to this; anyone have any thoughts?
MiceHead
 
Posts: 3
Joined: Fri Aug 10, 2012 3:47 pm

Re: Disable Smart Cursor on End Key?

Postby vitaLee on Tue Sep 18, 2012 7:15 am

add this to your keybindings.
Code: Select all
{ "keys": ["end"], "command": "move_to", "args": {"to": "hardeol"} }
vitaLee
 
Posts: 150
Joined: Tue Dec 27, 2011 11:10 pm

Re: Disable Smart Cursor on End Key?

Postby MiceHead on Thu Sep 20, 2012 3:49 am

Aha! Thanks so much. :)
MiceHead
 
Posts: 3
Joined: Fri Aug 10, 2012 3:47 pm


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 36 guests