I am a passionate devotee to TM but I notice that latex compiles much
faster on TexShop than in TM.
Is there something I can do to improve the performance of TM?
TM takes 4-6 seconds to compile and display on skim.
TexShop takes 2-3 seconds.
Related to this is the question whether one can use a DVI viewer on
the Mac instead of pdf in order to speed things up.
I ask all this because a colleague whom I persuaded to move to the Mac
finds TM inordinately slow and wants to go back to Winedt on windows
because she finds the speed unbearable.
Thanks,
Christopher
Is there a way to bind the menu item ^Q (reformat selection) to the
reformat selection for the active bundle of doing paragraph formatting
on the selection ?
Hello all,
I've just released a new TextMate bundle which makes easy to compress
multiple CSS and JavaScript files with YUI Compressor, right from within
TextMate.
The bundle is attached, and I've also put together a short screencast (4
minutes) covering setup, configuration, and usage (http://bit.ly/2WzHlf).
I hope you find it useful, and if you have any feedback or suggestions for
improvement please don't hesitate to chip in.
Cheers,
Stephen
http://www.nabble.com/file/p20210869/yui-compressor-tmbundle.zip
yui-compressor-tmbundle.zip
--
View this message in context: http://www.nabble.com/New-YUI-Compressor-TextMate-Bundle-tp20210869p2021086…
Sent from the textmate users mailing list archive at Nabble.com.
> Ola!
>
> I used to want this features as well, and I was really frustrated
> that you have to include CTRL to have this feature.
> CTRL-page-up and CTRL-page-down.
> Now that I'm used to it, I would not see it any other way. When
> you're coding in a certain method and you quickly want to see
> something in f.e. a private method, using page-up and page-down can
> bring you to the implementation and if you know what parameter to
> use, you immediately can start typing, since the cursor did not move
> with it.
>
> And getting used to the CTRL was a matter of 1 day.
>
> Best regards,
> Jeroen.
> nerd.rb - http://www.rubyonrailsforum.nl - http://www.vici-nl.com
>
> > Hi!
> >
> > Can I make the cursor follow when I've done some scrolling via Page-
> > Up/
> > Page-Down?
> >
> > I mean... let's say: I've scrolled down 3 pages via Page-Down and
> now
> > I want to go on editing right on this page.
> > To do so, I must click with the mouse somewhere on the document. But
> > is this possible by using the keyboard too? E.g., is there a
> Shortcut
> > that positions the cursor right in the middle of displayed page?
>
> You can use shift-cmd-j to move the cursor to the Middle Visible Line.
> Also accessible in the 'navigation' menu.
>
> Cheers,
> Nigel
Hi all
I was looking for a quick way to go to the start of a scope. I often find
myself selecting something, then typing a start bracket to wrap that
selection in brackets:
strpos($key, ".") +1
becomes
(strpos($key, ".") +1)
which leaves my cursor just after the closing bracket. If I want to get back
to before the opening bracket, I usually alt-left arrow. I could also go
just inside the closing bracket, hit cmd-shift-b to select the whole scope
and then click left arrow once, but it's too many keys. Is there a way to
navigate bounds?
Thanks
Nevan
Hi,
on typping "section+tab" the right code appear:
Section~\ref{sec:}
then tab and when over sec: typing alt+scape show the list of suggestion
with the section to reference.
BUT:
On including a bibtex reference using ^{ or navigating to the menu, no
suggestion window appear with the suggestion, only
\cite{xxxx}
Where xxxx is the last entry on my bibliography, then I go after the last x
(between x and }) and alt+scape, and nothing happen at all. It always
reflect he last on my Bib file (I try to change it and it is always the
last)
NOTE: By the way the doc typeset properly and bibtex runs ok.
NOTE: I'm on the last version of Textmate and the latex Bundle.
Thanks in advance
NOTE: is there any log where I can look for the exection or something.
--
View this message in context: http://www.nabble.com/no-suggestion-for-%5Ccite%7B%7D-tp19979530p19979530.h…
Sent from the textmate users mailing list archive at Nabble.com.
To continue with the previous ( & unresolved) post; see: http://lists.macromates.com/textmate/2008-May/025441.html
With this \newenvironment the scope never closes braces or the list
environment, and so the syntax color scheme is forever wrong in the
rest of the document:
%preamble(fold)
......
%create new list environment (bullets - named buls)(fold)
\newcommand{\bu}{\ensuremath{\bullet}{ }}
\newenvironment{buls}
{\begin{list}{\bu}
{
\setlength{\topsep}{3pt}
\setlength{\parsep}{0pt}
\setlength{\itemsep}{2pt}
\setlength{\labelsep}{0pt}
\setlength{\itemindent}{10pt}
\setlength{\leftmargin}{40pt}
\setlength{\rightmargin}{0pt}
\normalfont\upshape
}}
{\end{list}}
%create new list environment (bullets - named buls)(end)
.....
%preamble(end)
\begin{document}.....
some text here ****the scope here is:
text.tex.latex
meta.group.braces.tex
meta.function.environment.list.latex
___when it should just be (and in fact is without
the previous \newenvironment definition):
text.tex.latex
....\end{document}
It seems to be a bug in the Language definitions of these scopes (tex
and/or latex).
Can this be solved (and maybe the bundle updated with the correction)?
Thanks,
Hi!
Can I make the cursor follow when I've done some scrolling via Page-Up/
Page-Down?
I mean... let's say: I've scrolled down 3 pages via Page-Down and now
I want to go on editing right on this page.
To do so, I must click with the mouse somewhere on the document. But
is this possible by using the keyboard too? E.g., is there a Shortcut
that positions the cursor right in the middle of displayed page?
Thanks for hints...
Tom
How can I turn soft tabs on in certain projects, but not in others?
Selecting "Soft Tabs (Spaces)" from the menu at the bottom of the
screen appears to work on a system-wide, per language basis.
One project I'm working on uses soft tabs. The rest do not. I'm
unlikely to remember to manually keep changing this setting back and
forth!
I would prefer to set this only on a per project basis, but setting it
by language per project would work.
Thank you for taking the time for my question.
-Steve-
Hi
suppose the caret is somewhere inside a scope meta.myscope
delimited by two keywords beginmyscope and endmyscope.
I need to capture all the text in the region between
beginmyscope and endmyscope. I thought the Input
type "Selected Text or Scope" might do exactly this,
but I'm seeing something different: only the text from
the line where the caret is to endmyscope is captured.
Is this the intended behaviour, or I'm doing something
wrong? I think the scope is defined correctly since
ctr-shift-P shows that the entire region between
beginmyscope and endmyscope is correctly parsed
as meta.myscope. What's wrong?
Thanks
Piero
Hello.
I have no idea why TM refuses to open some perl scripts that are with
the executable bit set.
When under a project, if I click the file name, a new tab doesnt open.
If I ask mate to open the file from the terminal with the project
open, it doesn't open as well.
If I close everything and use mate to open the file, it opens correctly!
If I right-click on the file I do not have the option to set text/binary flag.
Can anybody please give me a hint to solve this isse?
TIA
Alberto
--
Alberto Simões
The repository for bundles has been moved to a new URL: http://svn.textmate.org/
To update a checkout to the new location one has to do:
# assuming this is where your old chekout is
cd /Library/Application\ Support/TextMate
svn switch --relocate \
http://macromates.com/svn/Bundles/trunk/ \
http://svn.textmate.org/trunk/
If you have switched subsets of the checkout, for example because you
are testing WIP bundles, then you have to ‘svn switch --relocate’ your
switched bundles first.
If you run “svn status” in the root of your checkout, it will indicate
if bundles have been switched by the S marker.
To get the FROM URL of a switched bundle, cd to the folder containing
it and run:
svn info
This will show the URL (on the second line). Generating the TO from
that URL should be straightforward. So if for example we are using the
branched Subversion bundle, we need to:
cd Bundles/Subversion.tmbundle
svn switch --relocate \
'http://macromates.com/svn/Bundles/branches/Subversion%20(Interactive%20Inpu…'
\
'http://svn.textmate.org/branches/Subversion%20(Interactive%20Input).tmbundl…'
Hi.
I'm new to using both latex and TextMate and am trying to modify the
environmental variables that the pdftex engine sees when it is
typesetting my document.
So far I have tried modifying my ~/.profile and /etc/profile to
include modified $TEXINPUT, $BSTINPUT environmental variables without
any luck.
I have also tried adding these variables to the environmental
variables area of the general TextMate Preferences but no luck there
either.
I have also tried to find out if I could possibly give the tex engine
the information via a command similar to the way the master files are
designated (i.e. %! variable = ....) but no luck there either.
Many thanks.
Dan
I'm running Leopard and use Spaces. I also use the 'mate' command a lot,
often from a different space than the one in which TextMate is running.
When I run "mate /filename/" (or "mate /directory/") from a different
space, the new TextMate window opens in the space TM is already in and
I'm switched to that space automatically. I don't mind that. But the new
window opens /underneath/ the existing TM windows. I often have a number
of windows open (a couple different projects, a web preview window,
etc.) so the new window ends up being completely covered.
Is there any way to change either TextMate's or Spaces' behavior so that
new windows get opened in front of the others?
--
Steve King
Sr. Software Engineer
Arbor Networks
+1 734 821 1461
www.arbornetworks.com <http://www.arbornetworks.com/>
I know about the "~" option in the Cocoa open file dialog too ;-)
Thanks,
Alex
PS the current C-s incremental search widget could perhaps even be
re-used for C-x C-f ?
I'm looking for advice on the best way to create a new bundle -- to support a
play by mail game. There are a number of similar games like this, like
Starweb (Flying Buffalo) and RSWGame. They send out reports on the worlds
and fleets you own. Players decide want to do, and send in their orders.
Repeat until someone wins.
I already have a bunch of tools to help me manage my resources, but I was
wondering if I could tie them into a bundle to make the the process even
easier.
So far, I've been thinking of treating the text file I'm editing as a kind
of database. It lists all of my resources. As I issue orders, the changes
could be reflected in the text. Any really sane implementation would use an
outside database, but I like the idea/challenge of trying to maintain
everything with the single text file. Unless you tell me it's really super
crazy.
A report for a world looks something like this:
World 5 [TERRAN] (Metal=5, Mines=5, Population=10)
Fleet 3 [TERRAN]=10 (Moved)
Fleet 17 [TERRAN]=0 (Captured)
Here I'm the player TERRAN, and I own World 5 and Fleets 3 and 17. But
Fleet 17 has no ships, so I would transfer a ship from Fleet 3. Something
like:
Fleet 3 transfer 1 Fleet 17
Some keystroke later, this order would be applied to the text, and the
report would look like:
World 5 [TERRAN] (Metal=5, Mines=5, Population=10)
Fleet 3 [TERRAN]=9 (Moved)
Fleet 17 [TERRAN]=1 (Captured)
++ Fleet 3 transfer 1 Fleet 17
The order would stay in the file (for later submission to the game), but be
marked as completed.
Each time orders are applied, I'd have to parse the whole file, apply new
orders, and change numbers and text here and there to reflect the new
reality. The files are relatively short (maybe 5 pages max), so I doubt
performace would be a problem.
Am I overloading the concept of text editing too much? Too much to do? Or
just abusing the tool a bit? Thanks for your ideas!
--
View this message in context: http://www.nabble.com/Can-I-treat-my-text-document-as-a-database---sanely--…
Sent from the textmate users mailing list archive at Nabble.com.
Hello i wonder what is the easiest way to add some custom syntax
highlighting elements to the php language, the language syntax
part in the manual is quite complex. =/
IE: I want to highlight in red the custom functions:
myfunc1 , myfunc2, myfunc3.
Where do i put the patterns without interfering with
the php bundle?, thanks in advance
As anyone who has ever done programming knows, it doesn't take long for the best laid plans to mess up elegant formatting. I've been unable to find a command that reformats messy C code back to a standard GNU format (or any other for that matter). Have I missed something, or does this command not exist for programming languages?
Thanks.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Dr. Marc R. Feldesman
Professor & Chairman Emeritus
Anthropology Department
Portland State University
please reply to: feldesmanm(a)pdx.edu
my PERS blog: http://persinfo.blogspot.com
SKYPE: mrfearless47
Hello
With OS X 10.5.5, I try to use "Edit In Textmate" but without success.
( I try this :--> http://blog.macromates.com/2007/inputmanagers-on-leopard/
)
Is it possible to install this function with OSX 10.5.5 ?
A lot of cocoa applications give the possibilty to use the Apple
Services like for example "TextEdit"
I would like to know why TM does not give the possibility of using the
Services.
Thanks
Alain Matthes
Hi
Often I am typing for example instanse.method_a(:param => "value"_)
with _ I marked where the caret is placed.
So the question is: is there any way to move caret from the position on the example
to the position right after right parentheses without moving my fingers to cursor keys.
So I want to be able then type .method_b on the same line as fast as possible.
This case is also applicable for single and double quotes.
Thx
I looked in the forum archive but didn't see much discussion of the json
bundle.
I installed it, using the GetBundle bundle, and it does not appear to "do"
anything (no menu items) .. even though there is a Language entry for json.
In particular, I'd like to "tidy" the json file I'm editing.
What's the secret? :)
-- Owen
--
View this message in context: http://www.nabble.com/JSON-bundle-tp20082961p20082961.html
Sent from the textmate users mailing list archive at Nabble.com.
Sorry if this is a FAQ- I didnt' see it anywhere though. I am editing
over a SSHFS-WebDAV volume and I just noticed that TM is making lots
of ._* files on the remote volume. Can this be turned off I hope?
mbp:Forms >file ._*
._form-data-create.post.desc.xml: AppleDouble encoded Macintosh file
._form-data-create.post.js: AppleDouble encoded Macintosh file
._form-data-read.get.desc.xml: AppleDouble encoded Macintosh file
._form-data-read.get.js: AppleDouble encoded Macintosh file
._form-data-read.get.json.ftl: AppleDouble encoded Macintosh file
._form-read.get.desc.xml: AppleDouble encoded Macintosh file
...
Hello,
I'm having some trouble with the LaTeX bundle. I have the PATH
variable set in Textmate's shell variables preference pane (and it
includes the location of kpsewhich), but I still get the following
error:
<begin error>
Can't find “kpsewhich” on PATH.
Theme:
The current PATH is:
/usr/bin
/bin
/usr/sbin
/sbin
Please add the directory containing “kpsewhich” to PATH in TextMate's
Shell Variables preferences.
Alternatively, the PATH can be retrieved from Terminal but this
requires a relaunch:
<end error>
If I push the relaunch button, a new PATH variable is created
(although its value is the same as the PATH variable I made), and I
can compile. However, if I quit and relaunch TextMate, I'm told again
that I haven't set the PATH, despite the fact that there are now TWO
shell variables declaring the PATH. Have I done something crazy?
Oh, I have a full svn checkout of the current (10736) revision.
Thanks,
Mike
Hello,
I have 1.5.7 (1464) running on MacOs 10.5.5. I've been trying to use
the Code Completion command in the CSS bundle.
First, With the default key equivalent activation (Option+Esc) nothing
happened, I then changed the activation keys to (Cmd+Esc) and I get
the following error when I run the command:
#####################################
/Users/rvega/Library/Application
Support/TextMate/Support/lib/codecompletion.rb:318:in /bin/bash: -c:
line 0: unexpected EOF while looking for matching `''
/bin/bash: -c: line 1: syntax error: unexpected end of filemap' for
nil:NilClass (NoMethodError)
from /Users/rvega/Library/Application
Support/TextMate/Support/lib/codecompletion.rb:87:in /bin/bash: -c:
line 0: unexpected EOF while looking for matching `''
/bin/bash: -c: line 2: syntax error: unexpected end of filenew'
from /Users/rvega/Library/Application
Support/TextMate/Support/lib/codecompletion.rb:59:in
#####################################
I also checked out the latest version of the css bundle and the TM
support folder fro svn but the error is the same.
I noticed that the html bundle uses the same completions ruby script
but the html code completion command works fine.
In case someone knows how the codecompletion script works, here are
the Code Completion commands in my css bundle:
#####################################
##########################
#CODE COMPLETION CSS:
##########################
#!/usr/bin/env ruby
require "#{ENV['TM_SUPPORT_PATH']}/lib/codecompletion"
preference = 'Completions'
choices = []
parsed_choices = TextmateCompletionsParser.new(nil, :scope => :css).to_ary
choices += parsed_choices if parsed_choices
choices += ['--']
plist_choices = TextmateCompletionsPlist.new(
"#{ENV['TM_BUNDLE_PATH']}/Preferences/#{preference}.tmPreferences"
).to_ary
choices += plist_choices if plist_choices
print TextmateCodeCompletion.new(choices,STDIN.read, :scope => :css).to_snippet
#####################################
#CODE COMPLETION CSS PROPERTIES:
#####################################
#!/usr/bin/env ruby
require "#{ENV['TM_SUPPORT_PATH']}/lib/codecompletion"
TextmateCodeCompletion.plist('Property Completions')
###########################################
#CODE COMPLETION CSS PROPERTY VALUES:
###########################################
#!/usr/bin/env ruby
require "#{ENV['TM_SUPPORT_PATH']}/lib/codecompletion"
preference = 'Property Value Completions'
choices = []
parsed_choices = TextmateCompletionsParser.new(nil, :scope =>
:css_values).to_ary
choices += parsed_choices if parsed_choices
choices += ['--']
plist_choices = TextmateCompletionsPlist.new(
"#{ENV['TM_BUNDLE_PATH']}/Preferences/#{preference}.tmPreferences"
).to_ary
choices += plist_choices if plist_choices
print TextmateCodeCompletion.new(choices,STDIN.read).to_snippet
#####################################
Thanks for any help!
Hey everyone,
I noticed the php autocompletions script does not seem to be correctly
marking optional parameters with [] except for the last param. I searched
around and found the list of completions in the php bundle support but that
looks good to me, so I'm guessing it's the way the ruby script is breaking
them up. I can somewhat figure out what it's doing but I don't know any ruby
so I don't know how to fix it. If anyone could take a look and maybe fix
that small issue (or tell me its my fault and how to fix it), I'd be very
grateful. (I updated my tm support folder just in case it had been fixed but
it didnt seem to help)
Thanks!
Quine