---
title: "Textamate  Resources"
author: "wellee"
date: "2011-03-22T00:38:38Z"
tags: ["Blog", "HTML"]
categories: ["非技术"]
slug: "textamate-resources"
draft: false
lastmod: "2011-03-22T00:39:48Z"
id: 970058
url: "https://wellee.iteye.com/blog/970058"
---

教程

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^&gt;                     &lt;%= %&gt; (再按一下变成 &lt;% %&gt;, 再按一下试试,再按一下呢?)  
^l                             =&gt;  
ESC                        auto completion

**html:**  
alt+cmd+.               enter closing tag