ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Flexible OmniOutliner
Subject:   Now if they can just make it work like other mac applications
Date:   2003-12-17 05:52:52
From:   anonymous2
Response to: Now if they can just make it work like other mac applications

"""
Keyboard navigation: Want to move to the end or start of a line? Most other applications on the Mac (TextEdit, BBEdit, the text-input field of this Safari form) use Command-left/rightarrow. OO uses Control-left/right arrow, yet command up/down arrow moves to the start/end of the item (OO's name for a bullet point). This is such a small feature yet its frustration factor is great, because you have to think about your fingers while brain-storming.
"""


You should learn the emacs navigation keystrokes. They are available by default in all NSTextFields in all Cocoa applications, which means you can use them all over the place. They're an agreed-upon convention that you can find in most Unix applications as well as an option in text editors and IDEs like BBEdit, jEdit, and Eclipse/Websphere. And they're super-fast, since they don't require you to move your hand from the home row to the arrow keys.


I too was once an arrow-key addict, but once I learned the emacs keystrokes, I never went back. And of course, they work great in OmniOutliner.


Forward = Ctrl-F
Backward = Ctrl-B
Previous Line = Ctrl-P
Next Line = Ctrl-N
Start of Line = Ctrl-A
End of Line = Ctrl-E
Delete next character = Ctrl-D
Delete from caret to end of line = Ctrl-K
Paste text deleted with either previous command = Ctrl-Y