How do move the cursor to the top of the document on a MacBook Pro

I can't seem to find a keyboard shortcut that can move the cursor to the top of the document (i.e. line 1) if I'm (say) 12 pages down.
I can move to the top of the current page (fn + cmd + up-arrow) but I want to jump all the way to the first page, first line of the current file.
How do I do this?

H

5 comments
Comment actions Permalink

Well, the default to move to file top is Cmd+Home but you probably do not have Home key on your keyboard.

In this case you can either reassign the 'Move Caret to Text Start' action in IDE Settings | Keymap or you can use 'Go to line' (Cmd+G) and chose line 1

Hope it helps,
-Eugene

0
Comment actions Permalink

Thanks, it does.

Here's a suggestion though, rename 'Move Caret to Text Start' to 'Move Caret to Document Start'

H

0
Comment actions Permalink

That's a good idea! I myself did not find it at first

Cherrs,
-Eugene

0
Comment actions Permalink

I am using fn+cmd+left-arrow to go to the begining od file and fn+cmd+right-arrow to go to the end of the document. I'm working MacBook Pro.

5
Comment actions Permalink

This works well and is waaaaay better than my mapped cmd+option+control+up-arrow and cmd+option+control+down-arrow mapping

H

0

Please sign in to leave a comment.