Live data from Hacker News

Some things beginners might not know about Sublime Text

blog.alainmeier.com

11–20 of 116 posts

Re: Some things beginners might not know about Sublime Text

#13

Further to point F: if you hold down control, you move by word segment - this is camel-case (and underscore) aware. So, if I am at the front of the word "cakeParty", I can move to between 'e' and 'P' by holding control and pressing the right arrow key. (This is in ST2 for Mac OS X - I'm sure there's an equivalent feature in ST2 for other systems.)

I added your tip to the list, thanks!

On Linux (and WIndows I presume) it's with the alt key.

Re: Some things beginners might not know about Sublime Text

#17

You can also move the curent line up and down the page using Ctrl + Cmd + Up/Down

I curse myself whenever I think about it. For the longest time, I didn't know about this shortcut. I missed it terribly, but I was too thick to understand that I can search through the manuals or internet to find if such a shortcut exists... I used it a hundred times daily (Java, Eclipse), but the need for it is much greater in CoffeeScript+Node.js

Re: Some things beginners might not know about Sublime Text

#18

I am pretty sure that "Quick file opening" is CTRL+P on Windows. Since CTRL+T opens a new tab for me..

Yep. Basically, Textmate's Goto Anything feature is activated by cmd+t, so ST's author mapped both cmd+t and cmd+p to Goto Anything on OS X to accommodate people switching over. On OS X, Goto Symbol is actually cmd+r.

Re: Some things beginners might not know about Sublime Text

#19

Further to point F: if you hold down control, you move by word segment - this is camel-case (and underscore) aware. So, if I am at the front of the word "cakeParty", I can move to between 'e' and 'P' by holding control and pressing the right arrow key. (This is in ST2 for Mac OS X - I'm sure there's an equivalent feature in ST2 for other systems.)

The command and alt modifiers work when I use the arrow key but this ctrl doesn't seem to do anything... OS X lion. For example, I put the caret in front of a camelCased variable and press ctrl+right arrow, nothing happens. Am I doing it wrong?
Post reply on HN