Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
whit537
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
51 ms
·
631.
▲
by
whit537
16y ago
Thanks man. I've been sitting on aspen/simplates for years, and I think its time may have arrived.
632.
▲
by
whit537
16y ago
I just implemented support for caret-L in addition to true page breaks, no configuration required. http://aspen.io/simplates/
633.
▲
by
whit537
16y ago
Ok, Internet, how about this. I've added a page_break knob to aspen.conf so that you can override the ASCII page break default for your application. http://aspen.io/aspen.conf/ Is that acceptable?
634.
▲
by
whit537
16y ago
Here's a list of editors with support for changing keybindings: http://en.wikipedia.org/wiki/Comparison_of_text_editors#Key_...
635.
▲
by
whit537
16y ago
It didn't exist before you asked; I wrote it in response to your question. I've linked it from the simplates page and from the index. Approved your gg request. Have to do that for anti-spam. :^/
636.
▲
by
whit537
16y ago
Here's a start: http://aspen.io/templating/
637.
▲
by
whit537
16y ago
I evolved the page break discussion to talk about tool support and ugliness. Bottom line: "If you like simplates but dislike the page break, then you have until Aspen 1.0 to come up with something that works perfectly with existing tools /a
638.
▲
by
whit537
16y ago
Good find. "Another important feature is the ability to mix several languages in one buffer and get the correct syntax highlighting and indentation for each of them." It looks like they're inferring mode blocks based on things like "<?p
639.
▲
by
whit537
16y ago
Thank you, yes! The tool support for ^L is weak right now, but if the simplates concept is valid then one hopes the tool support will follow.
640.
▲
by
whit537
16y ago
Thank you. Short answer: Zope 2. Long answer (just added): http://aspen.io/simplates/#history
641.
▲
by
whit537
16y ago
The only thing I'm seeing that Ctrl-L is otherwise used for is to focus the address bar in a web browser: http://lifehacker.com/#!5302587/get-firefoxs-ctrl%252Bl-shor... http://en.wikipedia.org/wiki/Table_of_keyboard_shortcuts Assuming
642.
▲
by
whit537
16y ago
Does it depend on Windows, or on your editor? In seem to remember remapping ctrl-L to form feed in UltraEdit, for example ...
643.
▲
by
whit537
16y ago
Ok, added links to Barry's site and to the Emacs docs: http://aspen.io/form-feed/
644.
▲
by
whit537
16y ago
Touche, sausagefeet. As evangineer mentions, I've upgraded the snark to a rationale: http://aspen.io/form-feed/ One idea would be to use an actual "^" "L", or at least give a warning somewhere if these are in a file. Do you have any other
645.
▲
by
whit537
16y ago
Ok, page updated to address this concern: http://aspen.io/form-feed/ :^)
646.
▲
by
whit537
16y ago
Thanks for the link evangineer. Happy to answer any questions.
647.
▲
by
whit537
16y ago
Meh. Keeps out the riff-raff. ;^)