Textamate Resources

教程

http://projects.serenity.de/textmate/tutorials/basics/

 

 

http://hi.baidu.com/talltwintowers/blog/item/c6ae450eff7575ec37d12253.html

我最常用的textmate快捷键

真的非常喜欢用textmate

view:
F1                            Fold current block
cmd+t                       open file in a new tab
cmd+w                     close current tab/window
shift+cmd+[/]           move to left/right tab 
tab / ^tab                 在左边文件夹侧栏与右边编辑窗口间切换

selection:
^w                            select current word
shift^l                       select current line (of course, use shift^left/right to select until head/end of line)

edit:
cmd+return              Move to the end of line and insert a newline     
shift+cmd+return     Move to the end of line, insert a ; and then insert a newline
^k                             Kill until end of line (^y Yank it back!)
shift^k                      Kill the whole line   (^y Yank it back!)
cmd+backspace      delete until head of line
cmd+delete             delete until end of line
shift^d                      duplicate current line
cmd] /cmd[               indent / indent back
cmd /                        toggle comment

input:
shift^>                     <%= %> (再按一下变成 <% %>, 再按一下试试,再按一下呢?)
^l                             =>
ESC                        auto completion


html:
alt+cmd+.               enter closing tag

你可能感兴趣的:(html,Blog)