I'm trying to get all my apps to use the same basic keystrokes. After a
random dice roll, I decided on command-{ and } for previous/next tab. But I
can't figure out what to put in KeyBindings.dict; the obvious,
"previousTab:" and "nextTab:", didn't work. Neither did
"selectNextTabViewItem:" and "selectPreviousTabViewItem:".
So:
1. Can someone tell me what the right action is? Or is it not bindable?
2. How could I have found the answer to #1 myself?
Thanks..
Jay Levitt
Hi all-
I got the syntax coloring for my Forth bundle completed yesterday, and
mocked up a little test to verify my understanding of building more
complex entities in a grammar:
<http://pastie.textmate.org/private/45g1m5nirfrnoig1fqyz9w>
<http://pastie.textmate.org/private/3qiprool4ryent1tbcukla>
The above is for the imaginary Forth-like language "ZZZ" and includes a
sample file. If anyone had any comments, suggestions or criticism of my
mockup, I'd be greatly appreciative.
Thanks!
Charles
Hi everybody!
Is there (in TextMate's built-in search) a solution for forming a replace
string for a variable directly followed by a number, ie. $15 (read: $1 and
5, without a space in between)?
Can this somehow be done or is reformulating the search string the only way
in such a case?
Thanks!
Chris
Changes to color schemes (modifications as well as new schemes) don't
save in TextMate. Bundle changes and font choice, etc. do save, so this
problem is specific to color schemes. Having to set my color scheme
every time I open TM is definitely a hassle.
Thanks,
Thomas Allen
TextMate User
Hi,
I've got rspec working in my project ("rake spec") ok. I've downloaded the
rspec bundles into TextMate however however when I go
Bundles/RSpec/RunSingleExample (or RunExamples) I get the following error
dialog that appears...
-----error-----
Missing the Rails 2.1.1 gem. Please `gem install -v=2.1.1 rails`, update
your RAILS_GEM_VERSION setting in config/environment.rb for the Rails
version you do have installed, or comment out RAILS_GEM_VERSION to use the
latest version installed.
---------------
Q1- Any idea how to solve?
Q2 - Why does TextMate not see that (a) the environment.rb file has this
variable set correctly to 2.1.1, and (b) the rails 2.1.1 gem exists as I
downloaded it?
Q3 - How can I confirm what the environment variables are when this test
from within TextMate?
Q4 - Where would I normally set the environments variables for TextMate?
Q5 - What are the relevant TextMate environment variables that exist that
may need to be set?
Macintosh-2:~ greg$ rails -v
Rails 2.1.1
Macintosh-2:~ greg$ ruby -v
ruby 1.8.6 (2007-09-23 patchlevel 110) [i686-darwin9.3.0]
Macintosh-2:~ greg$
Macintosh-2:~ greg$ gem -v
1.2.0
Macintosh-2:~ greg$
Macintosh-2:~ greg$ cat ~/.profile
PATH=$PATH:/usr/local/bin
TERM_PROGRAM=iTerm.app
test -r /sw/bin/init.sh && . /sw/bin/init.sh
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export DISPLAY=:0.0
Macintosh-2:~ greg$
Macintosh-2:~ greg$ cat /etc/profile
# System-wide .profile for sh(1)
if [ -x /usr/libexec/path_helper ]; then
eval `/usr/libexec/path_helper -s`
fi
if [ "${BASH-no}" != "no" ]; then
[ -r /etc/bashrc ] && . /etc/bashrc
fi
Macintosh-2:~ greg$
Thanks
--
View this message in context: http://www.nabble.com/can%27t-run-RSpec--%28get-%22Missing-the-Rails-2.1.1-…
Sent from the textmate users mailing list archive at Nabble.com.
Hi all,
This issue has already been discussed in the lists, but I didn't find any
conclusive answer. Would it be possible to add in the LaTeX bundle the
option to watch a latex file with latexmk (ie with the -pvc option)? I kind
of understood the advantages of the Watch bundle (mainly speed?) but still
want latexmk to do the job for me (to update cross-references and included
documents like figures).
For the moment, I am using
http://www.nabble.com/LaTeX-Watch-td9730030.html#a9814889 Martin's tip , but
I would like a better integration (like stopping watching), and anyway think
it would be worth being included in the standard LaTeX bundle.
--
View this message in context: http://www.nabble.com/LaTeX-Watch-with-latexmk-tp19158764p19158764.html
Sent from the textmate users mailing list archive at Nabble.com.
I use the nightly builds of WebKit and I am having no luck getting CMD-
R to refresh it. I have altered the Refresh Running Browsers Command
in the Bundle Editor to:
# Check if WebKit is running, if so refresh
ps -xc|grep -sq WebKit && osascript -e 'tell app "WebKit"' -e
'activate' -e 'do JavaScript "window.location.reload();" in first
document' -e 'end tell'
Any suggestions would be welcome.
Cheers,
Eric
Again, I *tried* to report this as a bug, but couldn't.
If I hurriedly type:
if ( foo ) {
bar
}
Upon typing the } Textmate (with autoindentation on) changes it to this:
if ( foo ) {
bar
}
instead of:
if ( foo ) {
bar
}
or better yet:
if ( foo ) {
bar
}
The "closed curly brace must reduce indent level by one" is a bit too
simplistic and I find it actively annoying.
--
View this message in context: http://www.nabble.com/Bug-Report-Feature-Request----Bad-Indentation-Heurist…
Sent from the textmate users mailing list archive at Nabble.com.
I was playing `textmate` gem.
I noticed that my bundle I made for fun <http://github.com/samuraicoder/samuraicoder-tmbundle/
> was not findable using `textmate remote` command.
Am I missing something? Maybe naming convention is wrong?
Or are they manually checked by human to avoid miscellaneous bundles
like mine?
Takaaki
--
Takaaki Kato
http://samuraicoder.net
Whenever I try to run a Python script using PyMate, I just get the
following error message:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Python.tmbundle/Support/PyMate/pymate.rb:68:in
`initialize': wrong number of arguments (2 for 1) (ArgumentError) from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Python.tmbundle/Support/PyMate/pymate.rb:68:in
`new' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Python.tmbundle/Support/PyMate/pymate.rb:68
I've tried updating bundles and the support folder to no avail. I'm
using the cutting-edge version of TextMate.
Any advice on how to fix this would be greatly appreciated.
Thanks,
Chris
--
Follow the path of the Iguana...
http://rebertia.com