• Textmate 快捷键总结 - [技术]

    2008-08-04

    版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明
    http://phoenixtoday.blogbus.com/logs/26994984.html

    This blog will be my first English blog, cause my friend Matty who is living in Chicago and aslo a ThoughtWorker asked me to write some blog in English that he can read.

     This blog is about my frequently used Textmate shortcuts, and I will keep adding to the list when I find something new

     Since I have joined Mingle team for more than 2 months, now I can remember some shortcuts and also shortcuts can improve your development speed. But the most import benefit of using shortcuts is that when you are used to it, you can esaily keep on thinking about how to write code instead of stopping for a little while and click mouse to find the code in your IDE project. Now the below is my summary of Textmate's shortcuts for Ruby on Rails.

    ctrl + shift + <    : input html tags
    ctrl + shift + <    : input <% %>
    cmd + ctrl + atl + p    : preview html
    ctrl + alt + cmd + v    : show the recent copies
    cmd + ctrl + r    : show file localtion
    ctrl + shift + v    : show syntax error
    ctrl + alt + cmd + d : hide / show file browser

    ctrl + shift + k    : delete one line
    ctrl + shift + a    : show context menu
    ctrl + shift + f    : search in project
    cmd + t    : find file
    cmd + shift + t    : find method
    ctrl + shift + d    : copy one line
    ctrl + cmd + w   : close all open tabs
    ctrl + l                 : input "=>" symbol (this is expecially good for RoR)

    Second part is the most frequently used shortcuts I found, and the first part is the diffcult ones that I can't remember at first. Haha, I'm slow. Enjoy ! Hoping this can be a little helpful to you     


    收藏到:Del.icio.us