fernandohur
fernandohur

Reputation: 7134

Eclipse shortcut to end of line and beginning of line

What is the eclipse shortcut to move the cursor to the beginning of line or end of line'?

In vim I use '0' and '$' respectively in normal mode. The closest I have found is Shift+end and Shift+Init which does move the cursor, but also selects the whole line.

Upvotes: 14

Views: 18568

Answers (3)

Omkar Shetkar
Omkar Shetkar

Reputation: 3636

In Windows, for any editor including Eclipse, we can use following:

Go to beginning of line: Fn <-

Go to end of line: Fn ->

As mentioned in other answers, we can use Home and End keys as well for this purpose.

Upvotes: 3

gview
gview

Reputation: 15361

For Mac people:

Goto start of line: command <- (command and left arrow key)

Goto end of line: command -> (command and right arrow key)

Upvotes: 27

Branislav Lazic
Branislav Lazic

Reputation: 14806

End key to move on end of the line, Home key to move on beggining of line.

Same for NetBeans and IntellijIDEA.

Upvotes: 20

Related Questions