I'm using TextMate mostly for XHTML/CSS work.
I recently switched to a Mac Pro from a Mac Mini and now have a proper Apple UK keyboard.
unfortunately the # is lurking under opt+3 and I find that an awkward key combo for such an often used character.
I've tried using TextPander with some success but it won't expand a snippet when the caret is not in empty space, so getting h3#header1 requires some jiggling.
are there any snippets or shortcuts I'm missing in TM that will append a # to an element in CSS without me having to contort my fingers to get option+3 so often?
TIA
On Aug 21, 2007, at 3:58 PM, Tony Crockford wrote:
I recently switched to a Mac Pro from a Mac Mini and now have a proper Apple UK keyboard.
unfortunately the # is lurking under opt+3 and I find that an awkward key combo for such an often used character.
You could swap keyboard layouts using other apps if you wish. I'm not sure where from you switched to the UK keyboard.
There are some apps for hacking keyboards at MacUpdate at <http:// www.macupdate.com/search.php?arch=all&keywords=keyboard&os=macosx>. What about playing with Uklele or UK.keylayout ?
Takaaki
On 21 Aug 2007, at 09:50, Takaaki Kato wrote:
On Aug 21, 2007, at 3:58 PM, Tony Crockford wrote:
I recently switched to a Mac Pro from a Mac Mini and now have a proper Apple UK keyboard.
unfortunately the # is lurking under opt+3 and I find that an awkward key combo for such an often used character.
You could swap keyboard layouts using other apps if you wish. I'm not sure where from you switched to the UK keyboard.
There are some apps for hacking keyboards at MacUpdate at <http:// www.macupdate.com/search.php?arch=all&keywords=keyboard&os=macosx>. What about playing with Uklele or UK.keylayout ?
it's more about the fact that there's no printed # key on my Mac keyboard, and it's where the £ key is but got at with option, so it's an awkward left hand key combo. I suppose i could use the right option key and then it's a two handed combo, more like the PC keyboard which has the # with the ~ on the right near the return key.
maybe I should remap it from the 3 key to the pipe/backslash key and draw it on...
;o)
Tony Crockford wrote:
I recently switched to a Mac Pro from a Mac Mini and now have a proper^H^H^H^H^H^Hterrible Apple UK keyboard.
The real solution: buy a real keyboard, or switch your keyboard layout to a decent one, namely, the US layout. European keyboard layouts are just absolutely infuriating for writing any kind of code. ;)
are there any snippets or shortcuts I'm missing in TM that will append a # to an element in CSS without me having to contort my fingers to get option+3 so often?
You can make one yourself, pretty trivially. Start w/ a macro. :)
On 21 Aug 2007, at 09:52, Jacob Rus wrote:
Tony Crockford wrote:
I recently switched to a Mac Pro from a Mac Mini and now have a proper^H^H^H^H^H^Hterrible Apple UK keyboard.
The real solution: buy a real keyboard, or switch your keyboard layout to a decent one, namely, the US layout. European keyboard layouts are just absolutely infuriating for writing any kind of code. ;)
looks like switching to the US layout might help its he shift3 not option3.
any suggestions for keyboards then?
I like the mac keyboard as it has the apple keys in the right place, but I'll admit to preferring my Microsoft IBM style layout and key spacing, except for the ctrl alt and windows keys being oddly mapped...
i'll try the macro thing too - didn't think of that, thanks.
On Aug 21, 2007, at 5:09 AM, Tony Crockford wrote:
I'll admit to preferring my Microsoft IBM style layout and key spacing, except for the ctrl alt and windows keys being oddly mapped...
The mapping for modifier keys can be changed in the System Prefs. If your ctrl & alt keys are mapped weird (i.e. reversed) you can swap them out there (Keyboard & Mouse > Modifier Keys...).
- Cliff
On 21 Aug 2007, at 13:16, Cliff Pruitt wrote:
On Aug 21, 2007, at 5:09 AM, Tony Crockford wrote:
I'll admit to preferring my Microsoft IBM style layout and key spacing, except for the ctrl alt and windows keys being oddly mapped...
The mapping for modifier keys can be changed in the System Prefs. If your ctrl & alt keys are mapped weird (i.e. reversed) you can swap them out there (Keyboard & Mouse > Modifier Keys...).
yeah.
I went through all that, but I'm getting old and never having touch typed i look at the keyboard a lot, so if the key has one visual clue yet does something else it slows me down.
I'll just have to get used to it I suppose.
;)
Actually Apples UK layout isn't normal,
A normal UK keyboard layout has " on 2 (at least this nasty Dell one does), the Apple UK keyboard has @ on 2 however.
Also the UK Apple keyboard has the wonderful symbols for command/shift/tab/return/enter/page up etc
I won't have a bad word said about it :) and it is far superior for programming than a regular UK layout, had to switch this Dell to US to get anywhere with it