tags:

views:

23

answers:

2

in textmate, when editing a .rb page (or any page), how do jump to the start/end of a line? and what about to the top/bottom of the page?

+1  A: 

You can use the emacs key bindings in all cocoa text fields:

  • C-a beginning of line
  • C-e end of line
  • C-v page down
  • C-p previous line
  • C-n next line

There are others, but these are the ones I most commonly use.

bosmacs
⌘ ↑ (Command up-arrow) and ⌘ ↓ (Command down-arrow) scroll to the beginning and end of the current document, respectively.
bosmacs
⌘→ and ⌘← move to the end and beginning of the line, as well.
mipadi
A: 

This might be useful:

http://manual.macromates.com/en/key_bindings#text_move_edit_actions

Greg