Reputation: 7134
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
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
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
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