I’d love to use this file, but I need to modify it first, since some of the keybindings it overwrites are essential to my workflows… BUT unfortunately I really don’t know enough to do that. Can anyone help me translate the symbols in the .dict file? So far, I THINK I’ve figured out these three:
⌃ ctrl
~ opt
@ cmd
…But that doesn’t account for everything, and there still seem to be quite a few things I can’t make sense of. I’d really appreciate any help. Thanks!
Apparently it depends on the Markdown variant. Markdown.pl doesn't interpret backslash-backtick as a literal backtick outside code blocks. The multimarkdown executable, multimarkdown2XHTML.pl (used by Marked and nvALT) and the variants used by Stack Overflow and Github do though.
Those commented out macros worked fine for me after I changed \U000A
to \U000D
. It could be something specific to your installation or account.
Apparition, WTF. So, I'm a cs.helsinki.fi 'freshman / dropout' who spends way too much time doing stuff like configuring DefaultKeyBindings and lurking at Stack Exchange sites. So. I have never even touched an iOS device 'in real life'. Not female, mystery over.
The keybindings at my site were made for a custom keyboard layout (Snoboard), so some of them might not work on other layouts. For example dead keys (⌥e, ⌥u, ⌥i, ⌥n and ⌥\` on the US layout) have precedence over KeyBindings and would have to be removed from the .keylayout before they can be reassigned.
TextMate doesn't support marks, so it breaks many of both Terpstra's and my macros. TM has its own KeyBinding plist and more available selectors though: cp /Applications/TextMate.app/Contents/Resources/KeyBindings.dict ~/Library/Application\ Support/TextMate/KeyBindings.dict
.
// TextMate Command-Return (I wish this worked in some form, but it doesn't seem to)
// "@\U000A" = (moveToEndOfParagraph:, insertNewline:);
// "@$\U000A" = (moveToBeginningOfParagraph:, moveLeft:, insertNewline:);
That's coz \U000A (LF) is used for ⌤ / enter, and \U000D (CR) for ↩ / return. (They're the other way around on Jacob Rus's site though.)
yes, apparition seems to be the right word, if the following is true:
snoboard
is a layout you made and something you use regularly?
and yes, you have some crazy ass applescript on your site and your documentation is really inspiring. more people need to take such notes. I am going to start being more rigorous. Right now I just have a few refx shell.md
like files keeping commands i used once and rarely use. But your applescript stuff is really useful. It might be well suited as a git repository though so it's more accessible and guaranteed to be around.
don't worry about college, doing what you're doing is more important in the end as long as you keep coding. you'll learn more messing around by yourself.
I have just a few notes for shell oneliners and reference material as well, but each is thousands of words long. (FU Scrod's way of using NV.)
I don't know about having a git repository for the AppleScript pack. The site (lri.me) is sort of an experiment in publishing everything on single static pages. So far I don't have anything (like actual programming projects that would benefit from being at a VCS) that would need to be published elsewhere.
So. Um. Your Wordpress doesn't backslash-escape \`backticks'. Obvious bug.
Not a bug, it's Markdown, which interprets the backtick as the beginning of a code span :).
I hope you didn't take any offense, it's just that for as meticulous and relatively prolific as your code is, you have a bit of a mysterious online presence. I'm honored that you're hanging around here.
What I meant by "I wish this worked in some form..." wasn't the shortcut, it's the action. The moveToEndOfParagraph:, insertNewline:
seems to have no effect no matter what I bind it to.
very nice to have these on github. have you ever figured out a way to have the TextMate keybinding of "showContextMenu" binding in any other application or something along those lines?
when i'm editing text being able to pop up the context menu without having to reach for a mouse is such a time saver