I can't find any docs that tell me know to do the cool stuff shown on the TextMate website. Like I want to edit a block of text and make a change on the first line repeat in the following lines. How do I do this?
How do I select text by column?
Why isn't this info easier to find?
Also, the app seems to be autosaving. Is there a way to turn this off (I'm on a slow link).
Thanks,
Ernest
On Jun 17, 2005, at 19:30, Ernest Obusek wrote:
I can't find any docs that tell me know to do the cool stuff shown on the TextMate website. Like I want to edit a block of text and make a change on the first line repeat in the following lines. How do I do this?
How do I select text by column?
http://macromates.com:3000/read/chapter/7
Why isn't this info easier to find?
Because no-one has made it easier to find.
Also, the app seems to be autosaving. Is there a way to turn this off (I'm on a slow link).
It doesn't auto-save, unless you run one of the commands which are set to autosave before executing.
Thanks for the pointer to the manual. Did I totally overlook this somehow? If so I apologize. I'm really enjoying the app so far. Vim was driving me crazy and I needed something new.
About auto-saving, it's not that I see. When I switch away from the program, and then switch back, the busy cursor comes up and it is doing something but I am not sure what. Maybe checking to see if the file changed and should be reloaded? For me that is slow but I can understand that this is desired behavior.
Thanks!
Ernest
On Jun 17, 2005, at 1:34 PM, Allan Odgaard wrote:
On Jun 17, 2005, at 19:30, Ernest Obusek wrote:
I can't find any docs that tell me know to do the cool stuff shown on the TextMate website. Like I want to edit a block of text and make a change on the first line repeat in the following lines. How do I do this?
How do I select text by column?
On Jun 17, 2005, at 19:40, Ernest Obusek wrote:
Thanks for the pointer to the manual. Did I totally overlook this somehow?
No, sorry about the short reply :) the documentation effort is currently work-in-progress and leaves much to be desired. I am however enjoying the help of two good Samaritans ATM, and I hope to have much better documentation in a month or so (which will then be included with the app etc.).
About auto-saving, it's not that I see. When I switch away from the program, and then switch back, the busy cursor comes up and it is doing something but I am not sure what. Maybe checking to see if the file changed and should be reloaded? For me that is slow but I can understand that this is desired behavior.
Ah, yes. This is a known problem for especially network mounted drives (it does check for changes). The delay has been significantly improved in recent betas [1], but it should be eliminated completely in the future.
[1] http://macromates.com/textmate/files/TextMate_1.1b12.dmg
I'm trying to figure out what key bindings are supported and I looked at the dict file with the Property List editor, but I don't understand the symbols it uses. Can anyone tell me how to do the following from just the keyboard:
Delete to End of Line Delete Entire Line
In the property list editor, what does the @ symbol mean? I assume ^ means control. There's also some weird looking thing that seems like a W or K inside a box.
Any help is greatly appreciated.
Ernest
On Jun 18, 2005, at 17:55, Ernest Obusek wrote:
I'm trying to figure out what key bindings are supported and I looked at the dict file with the Property List editor, but I don't understand the symbols it uses.
Is that the TextMate keybindings file, or the systems global keybindings file?
If it's the former, load it into TextMate, since it's in plain text and has some comments.
Delete to End of Line
command-forward delete or control-forward delete
Delete Entire Line
ctrl-shift-K (this is a macro in the Text Utilities bundle).
In the property list editor, what does the @ symbol mean? I assume ^ means control.
From TextMate Help / Key bindings:
[...] use “$” for ⇧ (shift), “^” for ⌃ (control), “~” for ⌥ (option), “@” for ⌘ (command), and “#” for the numeric keypad.
There's also some weird looking thing that seems like a W or K inside a box.
Normal keys just have they character key, but special keys have special unicode values, that's why it's easier to edit the file in plain text, since you can just use \Unnnn for these keys.
Here's a list of special keys (from /System/Library/Frameworks/ AppKit.framework/Headers/NSEvent.h):
NSUpArrowFunctionKey "\Uf700" NSDownArrowFunctionKey "\Uf701" NSLeftArrowFunctionKey "\Uf702" NSRightArrowFunctionKey "\Uf703" NSDeleteFunctionKey "\Uf728" NSHomeFunctionKey "\Uf729" NSEndFunctionKey "\Uf72b" NSPageUpFunctionKey "\Uf72c" NSPageDownFunctionKey "\Uf72d"
Notice here NSDeleteFunctionKey is actually forward delete. Backward delete (referred to as backspace on other platforms is "\U007f").