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.
I've used Whitesmith bracing style for *decades*, and had it kinda-sorta working in TM 1.5.x, though not perfectly. Now I've lost those old settings and for the life of me can't figure out how to get it even close in 2.0. There's clearly something fundamental that I'm missing, but I've spent hours on this off and on over the past few months, and I'm guessing that someone who really understands the rules (and regex) better than I, could get me on the right path in short order. I'd definitely appreciate it.
For those (unfortunate souls) who are not familiar with Whitesmith:
http://en.wikipedia.org/wiki/Indent_style#Whitesmiths_style
Also, just as a general suggestion, it seems like it would be really helpful to have just a handful of "packaged" example indentation rules for the small handful of common bracing styles, i.e. Allman, K&R, Whitesmith, maybe Gnu. Of course it wouldn't be perfect for everyone, but it could be really helpful as a starting point. If you know of such a set of examples, please point me to them (yes, I've looked). Thanks!
Hi!
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.
--
Holene
--
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?
Thanks
Gerd
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?
Failures:
% rmate mpp
/work/users/jsmith/bin/rmate:12:in `require': no such file to load -- rmate
(LoadError)
from /work/users/jsmith/bin/rmate:12
[ install rubygems in ~/bin ]
% gem install rmate
/work/users/jsmith/bin/gem:8:in `require': no such file to load -- rubygems
(LoadError)
from /work/users/jsmith/bin/gem:8
% printenv GEM_HOME
~/bin/gems/
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:
#!/Users/justin/perl5/perlbrew/perls/perl-5.16.2/bin/perl
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:
/Users/justin/perl5/perlbrew/perls/perl-5.16.2/bin/perl
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.
My understanding is that soft-wrapped lines can now be indented, but I can't
figure out how to enable that. Is this feature implemented?
--
View this message in context: http://old.nabble.com/Indented-soft-wrap-tp32983136p32983136.html
Sent from the textmate users mailing list archive at Nabble.com.
Hey y'all
For the longest time with the alpha Textmate have jumped to the wrong position when clicking e.g. a search result in the Find in project…, or clicking in my pdf and jump to the corresponding position in my LaTeX code.
The cursor is placed at the right position, but the window is not centered around the cursor. This means that ctrl+l works well but is necessary every time. Is this something there's a known fix for?
Thanks
Andreas
Trying is the first step towards failure.
- Homer Simpson
For example, I have the following text:
one
two
three
I can option-click and then drag across the beginning the these lines to
insert the same characters to all three lines, e.g. a dash
-one
-two
-three
Is it possible to insert a sequence of numbers? Like:
1 one
2 two
3 three
If this is possible, how about multi-digits? Like:
1 one
2 two
...
...
10 ten
11 eleven
Note that there is a space in front of 1 and 2 in the first two lines.
Are these possible? Thanks!
Hi!, i want to know if there's any chance that can work with a Xcode project in TM2. Like TM1 were you can convert the .xcodeproject to a .tmproject and get the same structure (group and stuff) that you have in Xcode. I know that in TM2 .tmproject don't exist. But maybe there's another way.
Thanks!.
--
Alberto Lagos Toro
Sent with Airmail