user1037355
user1037355

Reputation:

Move cursor to start of line with keyboard shortcut in sublime

When your cursor is at the start of a line how do you jump to the first character.

Each time I try (with ctrl + -> ) it jumps past the first word eg:

"          DB::dosomecoolstuff();"

The cursor here jumps to the end of the "B" which is really annoying.

I had a look at the ref: http://docs.sublimetext.io/reference/keyboard_shortcuts_win.html

No joy as far as i could see

Upvotes: 2

Views: 4700

Answers (1)

MattDMo
MattDMo

Reputation: 102852

If you're at the beginning of a line (or actually anywhere in a line), you can press Home and the cursor will move to just before the first non-whitespace character on the line. Press Home again, and it will move to the very beginning of the line (column 1).

Upvotes: 5

Related Questions