Hi.
I'm new to textmate (although I did at least buy a license for it),
and have one of those questions that probably comes up a lot. In my
defense, I did first skim through the beta-book from Pragmatic
Programmers on "Power Editting" with TextMate, and I did try a number
of searches on both the wiki and some of the mailing lists archives.
I haven't found any mention of what I wanted to find, but maybe I just
wasn't picking the right search terms. So, apologies if this is one
of those hot-button topics which people are tired of hearing of...
In any case, what I want to have is a combination of hard tabs and
soft tabs, and I can't see how to get what I want out of TextMate.
What I want is my tab-intent to be a soft-tab (using blanks) at 4
spaces, but I also want hard-tabs (using the actual tab character) to
be used for 8 spaces. So, if I tab once I want four spaces, if I tab
twice then I want a single tab character, and with three tabs I want a
tab-character followed by four spaces. I can get this behavior out of
XCode, and it would be very very useful to me if I could get the same
behavior out of TextMate.
In XCode, I get this behavior via the "Indentation" preferences, by
turning on "Tab key inserts tab, not spaces", and setting tab width=8
and indent width=4. Apologies if I'm missing some obvious setting in
TextMate.
Thanks for any suggestions. Other than this one oddity, TextMate
looks like it could be very useful and productive for me -- once I can
master all that it can do! :-)
--
Garance Alistair Drosehn = drosihn(a)gmail.com
Senior Systems Programmer
Rensselaer Polytechnic Institute; Troy, NY; USA
Is there a way to search within a single file and have all matches be
highlighted? Or as an alternative, have the results show in a window like
the search-in-project feature does?
Thanks,
Ernest
--
View this message in context: http://www.nabble.com/Highlighting-all-matches-in-a-search-tf3145124.html#a…
Sent from the textmate users mailing list archive at Nabble.com.
I am using extensively the new label completion macro
which is really very good and fast. I have a problem though:
all my equation labels have the form \label{eq:labelname}
and the macro chokes on them. If I type
labelname
then invoke the opt-esc shortcut and chose 1 i.e.
"label based on current word", I get
\\${1:eqref}{eq:labelname}
Clearly the colon is the problem. Any workaround,
apart from changing my label style (which is one
of the standard ones, however, used e.g. by Auctex)?
Thanks,
Piero
Just updated the LaTeX bundle (revision 6490) and I am getting the
following error when I use the Build Citation command after choosing
a citation command (such as `\cite{}`, say) from the list:
/Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
69:in /bin/bash: -c: line 1: unexpected EOF while looking for
matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of
fileparse_bibfile'
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
194:in /bin/bash: -c: line 1: unexpected EOF while looking for
matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of filecall'
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
163:in /bin/bash: -c: line 1: unexpected EOF while looking for
matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of fileeach'
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
162:in /bin/bash: -c: line 1: unexpected EOF while looking for
matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of fileeach_pair'
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
161:in /bin/bash: -c: line 1: unexpected EOF while looking for
matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of fileeach_pair'
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
154:in /bin/bash: -c: line 1: unexpected EOF while looking for
matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of
fileeach_with_index'
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
153:in /bin/bash: -c: line 1: unexpected EOF while looking for
matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of
fileeach_with_index'
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
153:in /bin/bash: -c: line 1: unexpected EOF while looking for
matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of filecite_scan'
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
23:in
All the best, Mark
i've managed to screw up some of the default text-mate bundles.
is there an easy way to revert to the default shipping items?
the blog implies that diffs from the defaults are kept in a specific
place, and removing these would revert. but that didnt seem to be the
case for me...
tx,
/dc
-------------------------------------------
David "DC" Collier
mailto:dc@pikkle.com
+81 (0)80 6521 9559
skype: callto://d3ntaku
-------------------------------------------
Pikkle 株式会社
http://www.pikkle.com
-------------------------------------------
i had to remove the OS-X included broken version of Ruby, and now get
this error message when using certain commands like comment out block
in textmate :
env: ruby: No such file or directory
so i assume TM is piping the text thru a ruby script to do these operations.
so, how do i tell textmate where to look for Ruby?
all systems are go in the shell ::
dc@bb > which ruby
/usr/local/bin/ruby
dc@bb > ruby --version
ruby 1.8.5 (2006-08-25) [i686-darwin8.6.2]
for now i did a hack to symlink from the apple default location ( usr/bin )
to where i have ruby185 installed, but this doesnt seem optimal:
dc@bb /usr/bin > sudo ln -s /usr/local/bin/ruby ruby
I do have a .bash_login
which textmate -should- source to create a shell environment before
any scripts are run?
>> Instead TextMate runs a custom script (named bash_init.sh located
in $TM_SUPPORT_PATH/lib) before executing the actual shell command(s).
This custom script contains the following code: <<
thanks for any tips.
/dc
-------------------------------------------
David "DC" Collier
mailto:dc@pikkle.com
+81 (0)80 6521 9559
skype: callto://d3ntaku
-------------------------------------------
Pikkle 株式会社
http://www.pikkle.com
-------------------------------------------
Is anyone interested in a language grammar for the DOT language?
I have created a decent starting point and am looking for suggestions
as to what is lacking so far.
Elio Grieco
Here's what I want to do:
- select a function name
- hit hotkey to jump to the next place that selected piece of text is
used
the way I have to do it now is
1. select text
2. cmd+e
3. cmd+g
I just want steps 2 and 3 to become a single step. I was just hoping
I missed the hotkey somewhere.