Atom text editor; Shortcuts for moving to bottom of file, moving to end of line
Solution 1
I'll post a few tips here:
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.
You can use the
vim plugin
for atom and this will make all of these (and much more) possible. So with thevim plugin
you can use incommand 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.
Related videos on Youtube
phez1
Updated on September 18, 2022Comments
-
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 about 8 yearsCtrl-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 over 6 yearsUnfortunately the Home and End keys don't exist on a macbook pro keyboard.
-
Pablo Bianchi over 6 years
-
NotSimon over 6 yearsFn + arrow keys do the trick! Thanks! Now just need to re-wire my brain :P