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

atomtext-editor

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.

Best Answer

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.

Related Question