3 ms·
Can someone explain the difference between command-p and command-t?
by togasystems 14y ago
Can someone explain the difference between command-p and command-t?
- rhizome 14y agoOn my nearly-vanilla install, cmd-t doesn't do anything.
- jmelloy 14y agoTraditionally, command-P prints and command-t opens a new tab.
- sandyarmstrong 14y agoNeither of these are the case in Sublime Text 2. cmd-n opens a new tab and cmd+shift+n opens a new window.
- sandyarmstrong 14y agoOn OS X, they appear to do the same thing. On Windows, ctrl-t doesn't seem to do anything. I don't have Sublime set up on Linux so I can test there. I suspect the author has an older configuration since he's been using it for almost 2 years, and that the keybinding probably changed since then to cmd-p.
- ryanmacg 14y agoSublime has both cmd-t and cmd-p in the OS X version, the general thinking for this seems to be related to other editors (such as Textmate) having used cmd-t. By having this in Sublime by default switching becomes easier.
- veidr 14y agoIIRC, ⌘P was Sublime's original mapping, and then ⌘T was added on Mac because the then-extremely-popular TextMate had a well-known ⌘T function that was similar.
- manojlds 14y agoAnd the famous CommandT plugin for vim inspired from Textmate.
- heelhook 14y agoThey do the same thing, they are defined as: { "keys": ["super+t"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }, { "keys": ["super+p"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },