Atom text editor; Shortcuts for moving to bottom of file, moving to end of line

10,074

Solution 1

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.

Solution 2

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.

Share:
10,074

Related videos on Youtube

phez1
Author by

phez1

Updated on September 18, 2022

Comments

  • phez1
    phez1 over 1 year

    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
    phez1 about 8 years
    Ctrl-a and then up_arrow works, but ctrl/alt/shift-left_arrow does not work. But never mind, I think I will install the vim plugin, thanks for that!
  • NotSimon
    NotSimon over 6 years
    Unfortunately the Home and End keys don't exist on a macbook pro keyboard.
  • Pablo Bianchi
    Pablo Bianchi over 6 years
    @Simon Tell us if this or this help you.
  • NotSimon
    NotSimon over 6 years
    Fn + arrow keys do the trick! Thanks! Now just need to re-wire my brain :P