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.
Q1: I recently updated to TM2alpha, and I'm quite fond of it! I mostly use
TM as my LaTeX editor. However, when I compile documents the log window
doesn't close when the PDF is viewed in Skim. I have made sure the "Keep log
window open" option is not checked. Actually I would like the window to show
only at errors
Q2: I would prefer to be able to chose the log window layout to be more
minimalistic, kind of terminal-like, as I find the default layout to be
unnecessary graphical and heavy. I've tried to google about a bit, but can't
seem to find if changing it is possible or not.
View this message in context: http://textmate.1073791.n5.nabble.com/Compiling-LaTeX-log-window-tp25794.ht…
Sent from the textmate users mailing list archive at Nabble.com.
This list has become somewhat painful to read because the email threading is not working properly. For example Allan's responses almost always break threading. MailMate problem? Something else? Can we fix this pretty please?
While I appreciate the desire to bring rmate into the rubygem fold, it
presents some difficulties.
Prior, I could install rmate into ~/bin on any machine I had ssh access to,
quickly and easily by copying the guts of the script. This let me minimize
my impact on remote machines that I needed to work on. (FWIW, I do most of
my work on client machines of, let's say, older vintage, with extremely
locked down environments. rmate is my secret sauce.)
Now, I find myself needing to install rubygems on the remote machine, just
to keep working, and without admin access.
In the interest of retaining my remaining hair, what's the quick and dirty
way of installing rmate on remote machines now, when one does not have
admin rights to do a simple install of rubygems?
% rmate mpp
/work/users/jsmith/bin/rmate:12:in `require': no such file to load -- rmate
[ install rubygems in ~/bin ]
% gem install rmate
/work/users/jsmith/bin/gem:8:in `require': no such file to load -- rubygems
% printenv GEM_HOME
Usually Perl gives me nice and helpful error messages. On my new Mini it's not. I installed newer Perl than Apple currently provide using perlbrew and have my shebang line:
My perl programs report helpful debug messages at the command line, but when I hit Cmd+r to have TM run the program they look like this:
BEGIN not safe after errors--compilation aborted at /Users/justin/perl5/perlbrew/perls/perl-5.16.2/lib/5.16.2/Carp/Heavy.pm line 3.
Compilation failed in require at /Applications/TextMate.app/Contents/SharedSupport/Bundles/Perl.tmbundle/Support/exception_handler.pm line 30.
My TM_PERL variable is also:
Reading through the exception_handler.pm file I see that line 30 is 'require Carp::Heavy…'. When I tried to install Carp/Heavy.pm using cpan it said that the module is up to date.
Any suggestions on what's not right here?
Justin C, by the sea.
I am trying to switch to TextMate for my R/Latex needs. I ma trying to use Sweave, installing the bundle found in the SVN repository from macromates ( http://svn.textmate.org/trunk/Bundles/SWeave.tmbundle/ )
I can correctly generate pdf files from my source, but I have an issue: I do not know how to use forward and inverse search like I do with tex files and the latex bundle.
Can anybody help me with that?
All the icons drawn in the gutter (fold markers, bookmarks etc) somehow have adrak-gray background on my (non-retina) system.
If I simply open the icon (for example "Folding Collapsed.png") and re-save it without changes, it then displays fine.
Any ideas why that is?