Some non-visible stuff.
Mouse Gestures
- ⌘-click to add a new caret.
- ⌥-click close buttons to close other tabs.
- Hold ⌃ when dropping file to text view to insert its path.
Holding ⌥ to “close other” also works in the file browser or when using ⌘T (and ⌘T now does multi-select).
One exception to “⌥ closes other” is when single-clicking the icon of a bundle (e.g. .app
) in the file browser. In this case the single-click works as “Show Package Contents”.
Completion (⎋)
The current word suffix is taken into consideration when hitting escape.
For example in this case:
enum mark_t { kErrorMarkType, kWarningMarkType };
mark_t m = ‸MarkType;
The resulting line will become:
mark_t m = kWarning‸MarkType;
Other
Possible to enter e.g. main.{cc,h}
in a Save As dialog for brace expansion (saves as first expansion, background tabs are created for further expansions).
⌘T can filter on full path by including /
, extension by starting with .
, can go to a line by suffixing with a line specification (see elsewhere for syntax)
Using ⌘T with find clipboard containing «file»:«line»
will use that as default text.