I've been using TextMate for years and I'm productive and happy with it. However, I like to try other editors from time to time to see if I'm missing anything. Recently I spent some time learning Vim and I discovered a few things that I particularly liked.
1) Split windows -- not the kind of split windows you normally get in Mac applications, but the Vim style ones. In Vim you can easily navigate from the keyboard to your different splits and choose what files to display in each. Additionally, you don't have to reach for your mouse to create a split. When you split, Vim divides the space up for you which is what you want most of the time. I found that it is very handy when needing to view more than 1 file at a time, which in my case is most of the time. Closing splits is about as easy as they are to create -- all from the keyboard. Multiple windows isn't really the same thing because they are slow to setup and tear down.
2) Selective multifile grep -- in Vim you can use a regular expression to open a set of files, and then just grep across the open files.
3) Don't need arrow keys -- after years of editing with the mouse; I find it painful to reach for it. It hurts my right shoulder and shoulder blade. It even hurts to have to move my hand down to the arrow keys. However, in Vim it is easy to keep your hands resting on your keyboard with your shoulders relaxed. No reaching for the mouse or arrow keys.
Hi LaTeX users,
I'm working some more on the Typeset and View command, we are going to replace the default command that currently ships with TextMate. But I need some information. What process are TextMate's LaTeX users following for building their documents? I'm sure most of you are using bibtex, but what about other things like makeindex? Has everyone moved to a pure pdf-based process, or are some of you still using dvi/postscript? What are you using for pictures? Anything you can tell me will help.
I would also *love* example documents along with the expected output. This will aid in testing, and ensure that your particular process will be supported!
Thanks,
—Alex
Hi!
I had the same problem as described in a post from Sebastian on
2007-11-11 (http://thread.gmane.org/gmane.editors.textmate.general/
23160).
Here is my error output:
Running bibtex on Exjobb (ny).tex
Traceback (most recent call last): File "/Users/peeter/Peeterprogram/
TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/
texMate.py", line 457, in texStatus, isFatal, numErrs, numWarns =
run_bibtex(texfile=fileName) File "/Users/peeter/Peeterprogram/
TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/
texMate.py", line 71, in run_bibtex return stat,fatal,err,warn
UnboundLocalError: local variable 'stat' referenced before assignment
It seems that it had to do with the parentheses in my filename messing
up the regexes.
My solution was to change lines 71 and 72 in Textmate.app/Contents/
SharedSupport/Bundles/Latex.tmbundle/Support/bin/texMate.py as follows:
# auxfiles = [f for f in os.listdir('.') if re.search('.aux
$',f) > 0]
# auxfiles = [f for f in auxfiles if re.match(r'('+ basename +
r'\.aux|bu\d+\.aux)',f)]
auxfiles = [f for f in os.listdir('.') if re.search('.aux$',f)
> 0 and (f.startswith(basename) or re.match(r'bu\d+\.aux', f))]
This works, at least for me.
Or have I messed something else up in the process?
/Peeter
Reading this: http://blog.macromates.com/2009/interactive-input/
Did the steps:
> cd /Applications/TextMate.app/Contents/SharedSupport/Support/lib/
> svn export http://svn.textmate.org/trunk/Support/lib/tm_interactive_input.dylib@11735
When I press ⌘R on a simple python script using:
variable = raw_input()
... it still fails like this:
EOF Error: 'EOF when reading a line'
Making a simple Ruby program, I got similar error:
TypeError: can't convert nil into String
The comments to the blog post seems to stray somewhat from the topic,
so I couldn't figure out if there was something I was supposed to do
differently ...
--
Phil :)
Hi there,
If some variable starts with "C", the whole line which contains that
variable and where it at the very first place highlighted as comment. I
suppose it comes from old F77 style, where C denotes comment, but it's
not necessary now. Is there any way to fix it? My current way-around is
to put single space before that variable, but in this case overall code
doesn't look as nice as before.
Thanks.
--
Kaster Might
Hi listers!
This is my first post here. And I'm so sorry to have a so dummy start
but...
I'd like to use TextMate to write Plain TeX (not LaTeX!) papers but I can't
figure out how to do it.
Anyone willing to help me?
Many thanks in advance.
--
ßlue
--
View this message in context: http://old.nabble.com/Plain-TeX-tp31076342p31076342.html
Sent from the textmate users mailing list archive at Nabble.com.
I've been with TM since the beginning (I wrote the first Perl and LaTeX
bundles). I think a lot of the frustration with TM2 comes out of our
affection for TM1 and wanting *Textmate* to be the platform that keeps
evolving and takes us all into the next decade.
Let me gently suggest that pleading with Allan about communication or
productivity won't have much constructive effect. When you are blocked on a
difficult project, does having people nag you make you more productive?
The reality is that TM2 isn't ready and may never be, and people who are
really dissatisfied with TM need to be looking at alternatives. If TM2
comes out, that will be the nicest present. So what alternatives are
there?
The most hopeful alternative I've seen is Kod <http://kodapp.com/>.
Naturally, Kod is having a little developmental stall, but it's open-source
and could be worked on by interested developers.
BBEdit and UltraEdit are closed source without channels for community
contributions, but they are under active development.
Smultron seems interesting, but I don't know much about it.
Alpha X and Pepper seem dead.
So... anyone up for some Kod programming? Otherwise, we may have to settle
for TM1 for now...
best wishes, Eric
--
Eric Hsu, Associate Professor of Mathematics
Director, Center for Science and Math Education
San Francisco State University
http://math.sfsu.edu/hsu
Hi!
I am considering TextMate for my Python development, comparing it to
Emacs/Vim, WingIDE, and Eclipse/PyDev and such.
Using the official Python bundle I seem to only get completion on
commands, not lookup of methods on the object at the cursor. I think I
got this working in the Ropy bundle (Ctrl+p for completion), both rope
and ropeide is installed in Python. But I can't seem to get
definitions of methods and functions by pressing Ctrl+] (Ropy) and
using F3 and ^H (Python Bundle), I get only module and function defs,
not methods.
(Maybe getting method defs easily popping up isn't vital, but as a
Python n00b, I find it very convenient.)
So, which bundles is recommended by you Python&TextMate 1337 guys? :)
Right now I find myself switching back and forth between Emacs and
TextMate. TextMate is slick and .. cute, but I get completion and defs
of methods and everything in Emacs ... (WingIDE is nice, but
expensive.)
--
Phil