TextMate 1 or 2, is there a way to auto-highlight all occurrences of
I was from Windows using EditPlus, when I double-click or Ctrl+W to select
a word, EditPlus is able to automatically highlight all occurrences in a
different background colour, very nice and useful feature.
With TextMate I have to additionally hit Opt+Cmd+F, and highlighting colour
is same as selected word, not eye-catching. I use 'soft' and light
background for selection background but I prefer bright background (eg
yellow) for highlighted words.
Ctr-S not really meets what I need.
Sent from my mobile. Ignore the typos unless they're funny.
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:
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!
I'm trying to develop a bundle for communicating with a TCP server, and
would like to create 1) a bundle command that opens the connection, and 2)
other commands that use that connection object (eg via grabbing text
selection in the editor window).
In Python, I've created a bundle command like this:
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
HOST = "127.0.0.1"
PORT = 7098
That sets up the socket correctly, in fact you can send messages to the TCP
However each time I send a command, the socket is obviously re-created; I
wondered if I TextMate provides a mechanism to save the 'sock' binding in
the current environment - so that I can reuse it later within other
Hope this makes sense - thanks in advance for any help.
I have a feature suggestion. I've thought about this for years but it has only just occurred to me to say something about it.
As you know, I use TextMate to write books. Big books with big chapters. So it often happens that I edit a chapter, then jump to an earlier / later bit of that same chapter to make some change entailed by what I was just writing. Now I want to "go back" to where I was before.
That's the suggestion. TextMate should _automatically_ maintain "bookmarks" for the location of the two most recent edit locations (places where I actually typed or deleted text). Thus, I could use the bookmarks feature to jump back to where I was before.
Just an idea. (A really great idea!) m.
matt neuburg, phd = http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
Has anyone tried integrating the WakaTime (https://wakatime.com) time
tracking service into TextMate? I'd love to be able to track my time
using this, but there's no"official" plugin for it for TexMate.
Keith Solomon - ksolomon(a)gmail.com
My Blog - http://keithsolomon.net/
(I am sending this again as plain text email. Sorry about the earlier HTML email.)
This is all the rage these days: http://usetakana.com
It's a relatively new tool from mid-2014 it seems.
Can this be implemented in TM2?
It's currently only for Sublime Text. Problem is, I'm not a big fan of that editor. I'm forced to use it for this purpose only. If i could do this same thing in TM2 life would become fun again.
Are there any plans to add code fold guides to TextMate 2 (as shown here:
I know a workaround to get a similar effect is to use "Show Invisible
Characters". Though the problem with this is that a lot of files written by
others lack proper tab indentation.
Any other workarounds to get a similar effect?
Is there any documentation of changes needed to convert 1.5 bundles to work with 2.0? I dragged the 1.5 bundle to TextMate 2 and it asks if I want to install it. Click OK and nothing seems to happen. The bundle is not installed and no errors on the screen or in the log.
John DeSoi, Ph.D.
I am super new to posting to lists in general, so please excuse any
breach of etiquette.
I love TextMate, and have been a faithful user since way back. It
lacks for nothing, as far as I'm concerned, but I do have one
Currently, I am using the Text bundle to trim trailing spaces on save.
The settings are like this:
Semantic Class: callback.document.will-save
Output: Replace Document
Caret Placement: Heuristic
This works beautifully. The only issue I have is that no matter where
I am in the document, after save my cursor (caret) is placed at the
very end of the document, and the document is scrolled to that point.
In a longer file, with frequent saves, I have to scroll back and find
my place every time.
I tried different options for Caret Placement and for Output (in the
bundle), but the result remains the same.
My question is twofold: is there something else I could be doing, and
also I'm curious if there are any plans to change this behavior (or
make trimming a built-in option, so to speak), to where the view
doesn't scroll? Seems like this is a common option to want to have.