[TxMt] Keyboard Navigation after "Append to Each Line in Selection"
Tim Martens
timfm at hawaii.rr.com
Thu Jan 27 00:37:45 UTC 2005
I've run into an instance using this great new feature (Append to Each
Line in Selection) in release 1.1b3 where I think we can improve
usability. I'll do my best to explain it, but it will be easier to
understand by referring to the attached image (sorry). Also. I may be
missing something obvious, as I'm a "switcher" with deeply embedded
Windows keyboard navigation habits. I'm currently attending rehab for
this condition : )
Here goes:
+ I'm in a 27 line text file
+ Lines 1-21 have data
+ Lines 22-27 are blank
+ I've just finished Appending to Each Line in a Selection (Option/Alt
+ Cmd + A) which covers lines 18-21
+ Line 18-21 are indented a couple of columns
+ My cursor no sits at the end of line 18
From here I would like to put my cursor to the beginning of line 22
WITHOUT using my mouse.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot_01.png
Type: image/png
Size: 2622 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20050126/4c189e10/attachment.png>
-------------- next part --------------
Having search through the GUI and played with all possible key strokes
(I think), two options arise...
OPTION 1: Option/Alt + Arrow Down
This takes me to the same column of line 21, from where I can do
another "Arrow Down" and then a Ctrl + Arrow Left" to arrive at my
destination (Column 1 of line 22). This option requires a total of 5
keystrokes. Entirely too many to be optimally usable
OPTION 2: Go to Line (Cmd + L)
This option require also require 5 keystrokes (4 if the target line
number is a single digit, 6 if triple)
One might also try Option or Control + Page Down, which takes you to
the bottom of the document (line 27), but then I have to make my way
back up to line 22 (many keystrokes).
Assuming I have not missed anything painfully obvious. I'm wondering if
we can add such functionality to the Navigation menu. Basically "Go to
first column of the next blank line." Possibly map this to
"Ctrl+Option+PageDown/PageUp" if that doesn't conflict.
IT NOW OCCURS TO ME, HAVING REVIEWED THIS, THAT MAYBE (ALSO) HAVING THE
CURSOR END UP AT THE END OF THE LAST LINE IN THE SELECTION WHEN
EXECUTING AN APPEND TO EACH LINE IN SELECTION MIGHT BE BETTER?
More information about the textmate
mailing list