I'm using TextMate with OCaml extensively, and use an Eval script from
Johan Kullbom to send either a selection or a current line to an iTerm
with ocaml interpreter in it (adapted from F#):
http://blog.hoomla.se/post/F-TextMate-bundle-on-Google-Code.aspx
The problem is, OCaml grammar doesn't really show functions properly,
fold-unfold handles make no sense. Thus, I have to select a function
manually if I want to send it to ocaml.
Now I chose "Line" in Input: [Selected Text] or [Line], but what I'd
really like to choose is "Non-blank line segment around the cursor".
I'm not sure what can I do with the [Scope] there, as scopeName
defines the whole 'source.ocaml', AFAICU.
So, is there a way to achieve "select Non-blank line segment around
the cursor, then send THAT to ocaml using an Eval snippet or similarly"?
Cheers,
Alexy
I'm trying to rebind ^j to insertNewline. I've tried the following:
1: cp /Applications/TextMate.app/Contents/Resources/
KeyBindings.dict ~/Library/Application\ Support/TextMate/
2: edit the local copy and change ^j to map to insertNewline:
diff /Applications/TextMate.app/Contents/Resources/KeyBindings.dict ~/
Library/Application\ Support/TextMate/KeyBindings.dict
63c63
< "^j" = "reformatTextAndJustify:";
---
> "^j" = "insertNewline:";
3: restart TextMate, but ^j is still bound to Reformat & Justify
I also tried removing /Applications/TextMate.app/.../
KeyBindings.dict, but that didn't help either. I'm using TextMate
Version 1.5.7 (1436) on Mac OS X 10.5.5 (9F33)
Any ideas?
--
Peter McLain
27 nov 2008. New build of TM.
DIALOG2 now part of TM (i'm sure its there).
Can i use dialog2 to choose categories? Can i use DIALOG2 to
autocomplete Python/Django code? How can i use DIALOG2 in common?
Changelog says nothing i can understand...
-- Alexey
I would like to set up to do offline blogging (Wordpress) from Textmate, but
have run up against a problem.
When I go to "Setup Blogs" to set up my blog, I should get a modifiable
template where I can enter my blog-specific information which will then go
and fetch my posts. Problem is that when I try to do this and call the
template, nothing happens. Instead, I just have a blank text file.
What's wrong? Is the template missing? If so, how do I get a new copy?
Thank you.
--
View this message in context: http://www.nabble.com/Problem-with-%22Setup-Blogs%22-function-in-Blogging-b…
Sent from the textmate users mailing list archive at Nabble.com.
I Just upgraded to TeXLive 2008 and I am experiencing some problems
when previewing in Skim.
In the Typeset & view Window I get the following error message:
Application 'Skim' not running sh: /Applications/Skim.app/Contents/
Resources/displayline: No such file or directory
I already checked some earlier mails about this kind of problem and
found that
earlier the code in texMate.py had
Contents/Resources/displayline
but Skim was changed and needs
/Contents/SharedSupport/displayline
When I check my texMate.py
I already have the correct code there.
I do not understand where the wrong line of code comes from.
Skim starts an displays my files. I just would like to get rid of the
error message.
I have another problem also:
Forward search i.e. selecting text in TextMake and finding the
corresponding spot in Skim, does not work.
Neither selecting Show in PDF Viewer (pdfsync) nor pressing Ctrl-Alt-
Apple-O does anything.
I do have Skim 1. 2 (38), TeXLive 2008 ad TextMate 1.5.8 (1496)
--
Erich Neuwirth
Didactic Center for Computer Science and Institute for Scientific
Computing
University of Vienna