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
Hi folks,
I work on several open-source projects (VTK, ParaView, CMake...) that
follow a somewhat unusual indentation style. Instead of
if (foo)
{
bar();
}
bar();
they require
if (foo)
{
bar;
}
bar()
Getting the first curly indent right was trivial but I can't figure
out how to reduce the indentation _after_ the closing curly. When the
pattern matches decreaseIndentPattern, the current line's indentation
is reduced. What I need is for the following line to be unindented. Is
there any way to do this?
Thanks,
-berk
Hi All,
I made some substantial changes to projectplus' git support:
* Works correctly in projects containing multiple git repositories
* Folder icons show modified status if any file inside was modified or deleted
* Folder containing repository root are marked
* Un-versioned Files are hi-lighted
The branch is available at
https://github.com/gknops/projectplus
or
git clone git://github.com/gknops/projectplus.git
Cheers
Gerd
PS: To Allan:
Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet?
Hello,
I have been annoyed by the pod2html command in the Perl bundle. It leaves
unwanted files pod2htmd.tmp pod2htmi.tmp in the file directories.
Fixed it this way:
pod2html 2>/dev/null
rm pod2htmd.tmp pod2htmi.tmp
Could be useful for others (if you see bnasty side effect, please let me know).
--j
Been seeing this problem since the beginning and it's more an annoyance than anything bad but figured I might as well put it out there.
I often have two or more projects opened at the same time with the same folders in each project. This is mainly because I often need to work on multiple issues from the same project simultaneously.
When I check a file for syntax using Ctrl-Shift-V in language bundle HTML with embedded PHP, if an error is found oftentimes the checked file will open in one of the underlying projects (where the file wasn't opened before), the project is brought into focus and the syntax error is displayed in that project.
Since I need to keep track of which files belong to which issue, I would then have to close the file that was just opened in the wrong project.
Any solutions?
Cheers,
Ed Wong
Hello. I would like the cursor to follow me when I hit page up and down. I
don't want to remember to hit the ctrl key. I have followed these
instructions:
http://blog.macromates.com/2005/key-bindings-for-switchers/
But they don't seem to work for Textmate. Other apps (XCode, Textedit ...)
behave as expected with the Keybinding set (the cursor nicely follows as the
page scrolls), but with Textmate the cursor jumps around unpredictably,
sometimes in the wrong direction. Anybody know whats up?
My bindings:
{
/* home */
"\UF729" = "moveToBeginningOfLine:";
"$\UF729" = "moveToBeginningOfLineAndModifySelection:";
/* Cmd-Left */
"@\UF702" = "moveToBeginningOfLine:";
"$@\UF702" = "moveToBeginningOfLineAndModifySelection:";
/* Cmd-Right */
"@\UF703" = "moveToEndOfLine:";
"$@\UF703" = "moveToEndOfLineAndModifySelection:";
/* end */
"\UF72B" = "moveToEndOfLine:";
"$\UF72B" = "moveToEndOfLineAndModifySelection:";
/* page up/down */
"\UF72C" = "pageUp:";
"\UF72D" = "pageDown:";
}
Hi All,
When I use (for example) TextMate to run an Xcode build, the HTML output window always shows the messages as they are added, eg it keeps scrolling down. I can scroll up and look at previous output, then back down and it resumes that behavior.
I am now tracking log output from another program within a TextMate HTML window, but in that case it fails to scroll. What is the trick to achieve that?
Thanks
Gerd
Hi,
I am trying to disable the annoying spinner in some HTML output. However "TextMate.isBusy=false" in some javascript appears to have no effect. "TextMate.system()" works fine, so the TextMate object is available.
Any ideas?
Thanks
Gerd