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.
1. clear history
2. copy the digits 9:1 one at a time:
EXPECTED: 1:9 timeline
OBTAINED: the list won’t scroll above line 5
OS = Big Sur beta2 11.0 Beta (20A5323l)
TextMate 1 or 2, is there a way to auto-highlight all occurrences of
selected word?
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.
Thanks.
--
Sent from my mobile. Ignore the typos unless they're funny.
Hi all,
I've written a custom action in order to compete my PHP functions. By default only functions inside a file are completed, but my action can complete all functions inside a project folder!
I use theRuby TextMate::UI.complete to show the completion list.
Is there a way to have a fuzzy search? Now you have to type the all letters of a function. This is annoying when al lot of functions have the same (long) prefix.
Example function names:
prefix_more_name_1
prefix_more_name_2
prefix_more_name_3
It should be nice when you type pr3 you get prefix_more_name_3. No you have to type "prefix_more_name" completely...
== feek
What is the newest macOS version that will run (or “support") TextMate 1.5[.11 (1635)]?
(Reason to ask: I never bothered to update my customized LaTeX bundle to TextMate 2, shame on me!)
Is there a version of TM2 that runs on macOS 10.11.6? I have an older computer and that is the newest OS supported by Apple. I don’t yet feel like buying a new computer just run a particular program.
Jerry
[OT minirant]
My late 2008 MacBook Pro has the following features missing on recent models:
* Keys that move when you strike them.
* Keys that never, ever, jam or stick or fail to record a strike.
* Replaceable RAM. I have doubled my RAM twice. It’s super easy.
* Replaceable battery. I have replaced it twice. It’s super easy.
* Replaceable hard drive. I replaced the original with a SSD. It’s super easy.
* An ExpressCard 32 slot by which I do nightly backups to cycled micro SD cards.
* Wired ethernet; WiFi is considerably slower, as my ISP explained in a lengthy note.
* Audio in. I use it nearly daily.
* MagSafe power connector.
* Theft prevention attachment slot.
* DVD drive. (OK, I’ll grant that one might be obsolete but I still rip CDs.)
Is there a way to have a file type automatically use a different theme that is not the default one?
If I create a language bundle and include a theme, is there a setting to make the language files default to the theme included with the bundle?
Thanks,
John DeSoi, Ph.D.
Hi,
Because I can't keep my hands off utilities and am on a constant quest to understand development processes, I attempted to clone the latest git
repository and build TextMate. It seems that everything goes well until I reach the part where I build the actual executable, and get the following
errors:
[1/1] Generate ‘build.ninja’…
[159/923] Compile xib ‘Frameworks/OakAppKit/resources/English.lproj/CustomizeEncodings.xib’…
FAILED: /Users/Greg/build/TextMate/Frameworks/OakAppKit/resources/English.lproj/CustomizeEncodings.nib
xcrun ibtool --errors --warnings --notices --output-format human-readable-text --minimum-deployment-target 10.12 --compile
/Users/Greg/build/TextMate/Frameworks/OakAppKit/resources/English.lproj/CustomizeEncodings.nib
Frameworks/OakAppKit/resources/English.lproj/CustomizeEncodings.xib
xcrun: error: unable to find utility "ibtool", not a developer tool or in PATH
[161/923] Compile xib ‘'Frameworks/OakAppKit/resources/English.lproj/Pasteboard Selector.xib'’…
FAILED: /Users/Greg/build/TextMate/Frameworks/OakAppKit/resources/English.lproj/Pasteboard Selector.nib
xcrun ibtool --errors --warnings --notices --output-format human-readable-text --minimum-deployment-target 10.12 --compile
'/Users/Greg/build/TextMate/Frameworks/OakAppKit/resources/English.lproj/Pasteboard Selector.nib'
'Frameworks/OakAppKit/resources/English.lproj/Pasteboard Selector.xib'
xcrun: error: unable to find utility "ibtool", not a developer tool or in PATH
[162/923] Compile xcassets ‘Frameworks/OakAppKit/resources/OakAppKit.xcassets’…
FAILED: /Users/Greg/build/TextMate/Frameworks/OakAppKit/resources/Assets.car
xcrun actool --errors --warnings --notices --output-format human-readable-text --platform macosx --minimum-deployment-target 10.12 --compile
"$(dirname /Users/Greg/build/TextMate/Frameworks/OakAppKit/resources/Assets.car)" Frameworks/OakAppKit/resources/OakAppKit.xcassets
xcrun: error: unable to find utility "actool", not a developer tool or in PATH
ibtool and actool exist in /usr/bin and also a link to /usr/local/bin, both of which are in my shell path. I enter 'which ibtool' from the shell and
it can find the tool. Is there another path needed for the build which I don't have set? Generally Homebrew builds compile and run OK on my system...
--
| Greg Dunn | this is slowly taking me apart. |
| gregdunn(a)indy.net | grey would be the color if i |
| The Sultan of Slack(tm) | had a heart. |
| http://www.indy.net/~gregdunn/ | Trent Reznor |
I am using AS3 Bundle.
There is a difference between how the indentation rules work with TM1.5 and TM2.0.
In TM2.0 a new indent is applied each time I type a carriage return - where there was no ending ‘;'
In TM1.5 is lined up with the previous line - even where there was no ending ‘;’
The new behaviour (TM2) is quite annoying and really slows down my work, as I do not use the optional ‘;’ in as3.
I have checked the AS3 bundle rules on TM1.5 and TM 2.0 and they are the same.
Why is it different, or rather how can I fix it, please?
These are the rules. They are the same, just in a different order – and I have swapped order to see if it makes any difference. it does not.
//IN TM1.5
{
decreaseIndentPattern = '^(.*\*/)?\s*\}([^}{"'']*\{)?[;\s]*(//.*|/\*.*\*/\s*)?$|^\s*(public|final|dynamic|internal):\s*$';
increaseIndentPattern = '^.*\{[^}"'']*$|^\s*(public|final|dynamic|internal):\s*$';
indentNextLinePattern = '^(?!(.*[};:])?\s*(//|/\*.*\*/\s*$)).*[^\s;:{}]\s*$';
}
//in TM2
{ increaseIndentPattern = '^.*\{[^}"'']*$|^\s*(public|final|dynamic|internal):\s*$';
decreaseIndentPattern = '^(.*\*/)?\s*\}([^}{"'']*\{)?[;\s]*(//.*|/\*.*\*/\s*)?$|^\s*(public|final|dynamic|internal):\s*$';
indentNextLinePattern = '^(?!(.*[};:])?\s*(//|/\*.*\*/\s*$)).*[^\s;:{}]\s*$';
}
Hello
I’ve noticed a strange bug in Textmate when using an artist's Wacom Tablet.
Sometimes if I quickly click on a tab to select it, and the stylus moves slightly (as if the tab is only dragged a few pixels), the tab clicked becomes light in color and gets stuck. All tabs in the window become non-functional at that point, no text can be selected, other windows can be brought to the front but they are also frozen short of being draggable.
Quitting the app and restarting fixes it.
It's an easily reproducible problem if you have a tablet to test with.
Just felt I should point it out so maybe you guys can fix it.
Thanks