Is there a hidden preference, modifier key, or some other way to make
“Jump to Selection” put the current line at the top of the window
instead of in the center?
Actually, one or two lines of context above the current line would be
even better. Like what `less -j4 file.txt` would do.
Thanks.
--
Rob McBroom
Hi,
I have started to use Homebrew's Perl and its CPAN to avoid having to
mess with the Macs Protection mechanism.
The CPAN libraries/modules are installed under ~/perl5 necesstitting to
run
PERL_MM_OPT="INSTALL_BASE=$HOME/perl5" cpan local::lib
and adding this to the end of ~/.profile
eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib=$HOME/perl5)"
which sets
PERL_MB_OPT='--install_base "/Users/el/perl5"'
PERL_MM_OPT=INSTALL_BASE=/Users/el/perl5
(in my case).
I have set TM_PERL to /usr/local/bin/perl and when I run a perl program
wit CMD-R it works, unless I use a CPAN module when I get this message
(under TextMate, but NOT from the command line):
Can't locate DBI.pm in @INC (you may need to install the DBI module)
(@INC contains: /Users/el/Library/Application
Support/TextMate/Managed/Bundles/Perl.tmbundle/Support
/usr/local/Cellar/perl/5.28.1/lib/perl5/site_perl/5.28.1/darwin-thread-multi-2level
/usr/local/Cellar/perl/5.28.1/lib/perl5/site_perl/5.28.1
/usr/local/Cellar/perl/5.28.1/lib/perl5/5.28.1/darwin-thread-multi-2level
/usr/local/Cellar/perl/5.28.1/lib/perl5/5.28.1
/usr/local/lib/perl5/site_perl/5.28.1) at /Users/el/Downloads/epplog.pl line 4.
BEGIN failed--compilation aborted at /Users/el/Downloads/epplog.pl line 4.
When I add this to the front of the script
BEGIN {
$WHOAMI = getpwuid($<);
$LOCALPERL5 = "/Users/$WHOAMI/perl5/lib/perl5";
push @INC, $LOCALPERL5;
} ## end BEGIN
use lib "/Users/$WHOAMI/perl5/lib/perl5";
it runs under TextMate.
If I run Tidy I get this message
Can't locate Perl/Tidy.pm in @INC (you may need to install the
Perl::Tidy module) (@INC contains:
/usr/local/Cellar/perl/5.28.1/lib/perl5/site_perl/5.28.1/darwin-thread-multi-2level
/usr/local/Cellar/perl/5.28.1/lib/perl5/site_perl/5.28.1
/usr/local/Cellar/perl/5.28.1/lib/perl5/5.28.1/darwin-thread-multi-2level
/usr/local/Cellar/perl/5.28.1/lib/perl5/5.28.1
/usr/local/lib/perl5/site_perl/5.28.1) at /usr/local/bin/perltidy line 2.
BEGIN failed--compilation aborted at /usr/local/bin/perltidy line 2.
which disappears if I prefix the above BEGIN/Use block into
/usr/local/bin/perltidy (which works from the command line).
I have tried to set TM_PERLTIDY to /usr/local/bin/perltidy but makes no
difference.
Does anyone have an idea what I must set to be able not have to use the
BEGIN/use block any longer (for both issues)?
greetings, el
--
Dr. Eberhard W. Lisse / Obstetrician & Gynaecologist (Saar)
el(a)lisse.NA / * | Telephone: +264 81 124 6733 (cell)
PO Box 8421 /
Bachbrecht, Namibia ;____/
Hello,
I am trying to make a snippet that adds ^{$1} associated to the ^ key
equivalent.
But ^ is a dead key on my french keyboard, and I can't seem to assign it in
the bundle editor.
Any idea?
Best,
S.
--
Sent from: http://textmate.1073791.n5.nabble.com/textmate-users-f3.html
I’m running the latest RC 2.0-rc.15. I’ve only noticed this since I've installed this version.
When I move between tabs (either by clicking on tab or using Option-Command left, right arrows) sometimes the page scrolls up by 1 to 3-4 lines each time. But once it does this scrolling then it will do so every time I come back to that tab.
I’m not sure how TM handles window draws but there seems to be a miscalculated line offset between a buffered text image that gets shown when the window first shows and then an actual redraw of lines afterwards. I’ve noticed in some cases a clipped portion of the window being shown first and then the remaining page showing but the clipping is off so the text appears to move downwards. Sorry I haven’t looked into the code to get a better idea of what’s happening with window draws.
Ed Wong
Hi Folks,
I'be had a recurring problem with one file. For some reason when TextMate
reads the film from disk it somehow corrupts the tail of the file. I've
attached two images of the corrupted and original versions. I've done a bit
of digging and have observed the following.
1. It only appears to happen for this one particular file (weird).
2. When I first launch Textmate and then open this file it appears
corrupted in Textmate but not when I use "tail" in the command line (i.e.,
the file is corrupted in TextMate's memory but not on disk).
3. If I close the (apparently) corrupted file and re-open it, the file is
now not corrupted.
4. If I save the file to disk then it is saved in corrupted form (oops).
5. If I delete ~/Library/Caches/com.macromates.TextMate/BundlesIndex.binary
before launching TextMate then the file is not corrupted.
6. I ran Apple's debug (reboot+D) to check my memory and it reported no
errors.
7. I'm running TextMate 2.0-rc.23 on macOS 10.14.4
Any suggestions would be most appreciated,
Cheers,
Leo
[image: fig-01.png]
[image: fig-02.png]
Hello everyone,
Does somebody successfully build TextMate 2 for Mac OS X Tiger?
I forgot I had to purchase a license for the 1.5.x version. Thing I do not want to do at the moment.
Best,
Umberto
I know there’s a semantic class for when a document is open: "callback.document.did-open”. Is there a corresponding semantic class for when a document is closed? Or even better when a project is closed. I know that TextMate technically doesn’t have a concept of projects. I would like to stop a completion daemon.
I had a look in the TextMate source code but I couldn't find anything
--
/Jacob Carlborg
The Ruby bundle currently supports reformatting a file with RuboCop
(“Reformat Document”), and checking the document’s syntax using `ruby -wc.
So far there is no support for automatically checking (or maybe even
reformatting) a file everytime it is saved.
For RuboCop, there are (at least) four stand-alone RuboCop bundles
providing additional features:
* https://github.com/fazibear/Rubocop.tmbundle
* https://github.com/mrdougal/textmate2-rubocop
* https://github.com/goyox86/rubocop-tmbundle
* https://github.com/noniq/RuboCop.tmbundle (Disclaimer: This bundle
was written by me).
Recently various alternatives to RuboCop emerged, especially:
* https://github.com/testdouble/standard (uses RuboCop internally, “No
configuration“)
* https://github.com/samphippen/rubyfmt (autoformatting only,
optimized for speed)
Both tools are still pre-1.0, but actively developed.
I’d like to add support for both standardrb and rubyfmt to TextMate.
However, I’m not yet sure about the following questions:
* Should the Ruby bundle be extended to support these? Or should one
or more stand-alone bundles be created?
* What would be the best way to tell TextMate which (if any) linting /
formatting tool it should use for a given ruby file or project?
Any thoughts?
s.
Hi y’all.
A while back, I bought the domain: textmate.app
I had hand wavy plans for a manual/documentation/book site. But when I’m honest with myself, I’m probably not going to ever make that.
So, would the open source projects / MacroMates / Allan like to have the domain for free? If so, I can coordinate with whomever to transfer from my registrar to yours.
If not, that’s fine too. I can just let it expire.
Best
Sb