4

How do I move to the bottom of a file, top of a file, end of a line and beginning of a line in the Atom text editor (atom.io)?

I can not find any shortcuts for that text editor. Only shortcuts for OSX.

phez1
  • 155
  • 1
  • 1
  • 6

2 Answers2

3

I'll post a few tips here:

  1. Use ctrl+a to select all and then press ↑ to go to the top or ↓ to go to the bottom of the file. For the beginning / end of a line try ctrl-← and ctrl-→ or if it doesn't work try the same with shift or alt.

  2. You can use the vim plugin for atom and this will make all of these (and much more) possible. So with the vim plugin you can use in command mode: gg to go to the top of a file, G to go to the end, $ to go to the end of a line, 0 to go to the beginning of a line, ^ to go to the first non-empty character on a line. Read more about it here.

Hope that helps.

Zanna
  • 72,312
3

This applies to almost any text editor:

  • Ctrl + Home go to beginning of the file.

  • Ctrl + End go to end of the file.

  • Home go to beginning of the line.

  • End go to end of the line.

Also, Ctrl + Left / Right arrows jump between words.

For Macbook keyboards use Fn + arrows.

Pablo Bianchi
  • 17,371