Posts Tagged ‘textmate’

some useful shortcuts of textmate which different from your mind

April 6th, 2010

redo ⇧⌘Z——-not ⌘Y
paste previous ⇧⌘V
duplicate line / selection ⌃⇧D
select word ⌃W
select enclosing brackets ⇧⌘B
select current scope ⌃⌥B
find next ⌘G
use selection for find ⌘E
use selection for replace ⇧⌘E
jump to selection ⌘J
spelling ⌘:
bigger / smaller font ⌘+ and ⌘-
fold current block F1
convert to uppercase ⌃U
move line up / down ⌃⌘↑ and ⌃⌘↓
shift left ⌥⇥ or ⌘[
edit each line in selection ⌥⌘A
indent line ⌥⌘[
go to file ⌘T
go to symbol ⇧⌘T

fix plist.bundle and keychain.bundle in Snow leopard

January 13th, 2010

after upgrade your Mac OS to Snow leopard, you maybe find out that the subversion and ruby or other bundles are not working any more. it thows errors like this

/Applications/TextMate.app/Contents/SharedSupport/Support/lib/osx/plist.bundle: dlopen(/Applications/TextMate.app/Contents/SharedSupport/Support/lib/osx/plist.bundle, 9): no suitable image found. Did find: (LoadError)
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/osx/plist.bundle: no matching architecture in universal wrapper - /Applications/TextMate.app/Contents/SharedSupport/Support/lib/osx/plist.bundle
from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:3
...

well, this’s mainyly because the plist.bundle(and keychain.bundle) in your TextMate is not supported in 64bit. simply fix this problem by upgrading these bundles to the lastest version in here. http://svn.textmate.org/trunk/Support/lib/osx

or by run

cd /Applications/TextMate.app/Contents/SharedSupport/Support/lib/osx/
svn export http://svn.textmate.org/trunk/Support/lib/osx/keychain.bundle
svn export http://svn.textmate.org/trunk/Support/lib/osx/plist.bundle