Textmate command line3/2/2024 I've tried removing and reinstalling the `mate` command. It seems to be the communication / connecting between mate and TM that causes this delay somehow. If TM hasn't been activated in a while (even though supposedly running according to the Dock dot) then this seems more likely. Swap also doesn't seem to be an issue, my swapfile has size 0 on a 32GB Macbook Pro, with 16GB free. If I close the document and retry immediately afterwards, then no delay seems to exist for a while. menu, no such delay happens.ĭuring such a delay, if I click on the already running TM in the dock to activate it, the desired document that `mate` is trying to open immediately appears. If I open the files directly through TM's File -> Open. 30 short lines of code), so it cannot be the file size making a difference. TM in all these instances is already running, but doesn't necessarily have any open windows. \end in LaTeX).Ĭomment Toggle (⌘/) - toggle comment characters around the current line or selection.When opening (existing) files from Terminal.app using the `mate` command, it occasionally (but not always) takes a fairly long time (more than 5secs) to open the file in TextMate. Insert Close Element (⌥⌘.) - by default this inserts the appropriate closing tag (HTML) but is overloaded in some contexts to insert whatever constitutes a close element (e.g. doing the HTML conversion and setting up a basic style sheet before showing it). ![]() Preview Document (⌃⌥⌘P) - by default this opens the Web Preview, but it has been overloaded for some markup languages for a preview more suited for that language (i.e. Generally this is done in-place, overwriting the current document.Ĭontinue «Something» (⌅) - continue the current construct on the next line e.g. for HTML run it through tidy, for Markdown convert it to HTML, for an XML property list convert it to the more readable ASCII version, etc. open/close tags in HTML, begin/end environment in LaTeX.Ĭonvert to «Something» (⌃⇧H) - convert the document into something which makes sense, e.g. Wrap in «Something» (⌃⇧W) - wrap the selection in what makes sense for the current document type, e.g. Generally show errors as a tool tip, but for more complex validation, HTML output is sometimes used. Validate Syntax (⌃⇧V) - run the syntax through whatever form of syntax checker exist for the current document type. ![]() Run (⌘R) - run the current source (script) or product from building a project.ĭocumentation for Word (⌃H) - lookup the current word (or “unit”) in the documentation (often online). line comment, bullet point, etc.)īuild (⌘B) - build the current source/project. ⌅ Insert a newline and start a new “item” (e.g. ⌥⌘↩ Insert a new line above the current line ⌘⌥↩ Move to end of line and insert potential end-of-line symbol ( in many sources. ⌘↩ Move to end of line and insert a newline ⇧↩ Create a function/method body with previous word as name ![]() ⌥F2 will bring up the Context Menu (like right-clicking) so you can easily correct the spelling of the current word or use conversion commands on a selection. ⌥⌘A (Text → Edit Each Line in Selection) lets you insert text at the end of each line in the current selection. ⌃⌘↑↓ (Text → Move Selection → Line Up/Down) Moves the current Selection line-wise. ⌃⌘←→ (Text → Move Selection → Column Left/Right) Moves the current Selection character-wise Insert Open/Close Tag (⌃”, Quotation Marks, etc.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |