What are some useful TextMate shortcuts? [closed]

2019-03-07 10:38发布

Macs are renowned (or bemoaned) for having an extensive number of shortcuts. However, OS X itself pales in comparison to the shortcut lists in TextMate and its bundles.

What are some useful keyboard shortcuts you use?

30条回答
小情绪 Triste *
2楼-- · 2019-03-07 11:14

Look word up in dictionary, in any Cocoa app (not just Textmate): ctrl + cmd + D

alt text

查看更多
聊天终结者
3楼-- · 2019-03-07 11:15

Copy and Paste Clipboard: + SHIFT + V

查看更多
Evening l夕情丶
4楼-- · 2019-03-07 11:16

Titleize selected text: CONTROL + OPTION + U

Will turn:

Lorem ipsum dolor sit amet, consectetur adipisicing elit.

Into:

Lorem Ipsum Dolor Sit Amet, Consectetur Adipisicing Elit.

查看更多
爱情/是我丢掉的垃圾
5楼-- · 2019-03-07 11:17

Personally two of my favourite shortcuts are:

  • ⌃⇧L (that's ctrl+shift+L): Which wraps the currently selected text with a link to whatever's in the clipboard, and works for every text language I've tried it in.
  • ⌃⇧⌘L (that's ctrl+shift+cmd+L): Which googles for the selected text and links to the top result.

The are both super useful for writing text and blogging, (and stackoverflow).

Codewise, I think that I prefer snippets to key shortcuts. Being able to type if⇥ etc., in almost any language is ridiculously useful, and the consistent interface is what keeps me using TextMate.

I also found this quite amusing. But I prefer to learn my shortcuts in small steps, and often find that just looking in the gear menu (⌃⎋) works.

查看更多
男人必须洒脱
6楼-- · 2019-03-07 11:18

Esc auto completes common words in the document you are working in.

For example if you are using a function alot called LongFuntionNameThatChecksStuff, you can type Lon and pressEsc and it should auto complete.

查看更多
唯我独甜
7楼-- · 2019-03-07 11:20

Upcase selected text: CONTROL + SHIFT + U

Will turn:

Lorem ipsum dolor sit amet, consectetur adipisicing elit.

Into:

LOREM IPSUM DOLOR SIT AMET, CONSECTETUR ADIPISICING ELIT.

查看更多
登录 后发表回答