Source: 爱上MAC | Software download link: Haste for Mac
Haste is a modern, lightweight text editor and writing tool designed specifically for macOS, renowned for its minimalist interface, smooth writing experience, and powerful native Markdown support. It focuses on helping users eliminate distractions and concentrate on content creation itself. This article will provide a detailed introduction to its core interface, complete workflow, and advanced tips.
I. Detailed Explanation of the Core Interface and Workspace
Haste’s interface follows the editing philosophy of “what you see is what you get,” placing the writing area at the visual center, with all functions presented in a convenient yet unobtrusive manner.
- Title Bar and Menu Bar: The top features the standard macOS menu bar, including all function entries such as File, Edit, Format, View, and Window.
- Central Editing Area (Workspace): Occupying the vast majority of the window space, this is the primary area for plain text or Markdown syntax input. The background is a soft, eye-friendly color, and the contrast between the cursor and text has been carefully calibrated.
- Status Bar (Bottom): Displays key information in real time, typically including from left to right:
- Current document word/character count statistics.
- Scroll percentage indicator.
- Current syntax highlighting mode (e.g., Markdown, plain text).
- File encoding format.
View > Show Sidebar or the shortcut Command + Option + S. The sidebar is typically used for document outline navigation (generated based on Markdown headings) or file management.View > Hide Format Bar to get a cleaner interface.II. Complete Workflow from Creation to Export
1. Create or Open a Project
- Create a new document: After launching Haste, a new blank document is created automatically. You can also create one at any time via the menu bar
File > Newor the shortcutCommand + N. - Open an existing document: Click the menu bar
File > Open...or use the shortcutCommand + O, then select the text file you want to edit in the Finder (such as .txt, .md, .markdown, etc.). - Save the document: When saving for the first time, use
File > SaveorCommand + S, and choose the storage location and file name. Haste saves in plain text format by default, but you can specify an extension such as .md in the save dialog.
2. Editing and Formatting Content
Haste encourages efficient writing and formatting using Markdown syntax.
- Basic text input: Type directly in the central editing area. Haste supports automatic pairing of symbols (such as quotes and brackets).
- Applying Markdown formatting:
- Headings: Type 1-6
#characters followed by a space at the beginning of a line, for example## Second-level heading. - Bold/Italic: Use
**text**for bold and*text*for italic. You can also select text and use the formatting toolbar buttons or shortcutsCommand + B(bold) andCommand + I(italic), and Haste will automatically add the syntax symbols for you. - Lists: Type
-or*followed by a space to create an unordered list; type a number followed by.and a space to create an ordered list. - Blockquotes and code blocks: Type
>at the beginning of a line to create a blockquote. Type three backticks```and press Enter to create a code block.
- Headings: Type 1-6
- Live preview (optional): Although Haste is an editor, you can use the menu bar
View > Preview Modeor the shortcutCommand + Shift + Pto view the rendered HTML in real time in a split view.
3. Document Organization and Navigation
- Using the outline for navigation: If the document contains Markdown headings, open the sidebar (
Command + Option + S) and click the “Outline” tab to clearly see the document structure. Click any heading to quickly jump to the corresponding location. - Find and Replace: Use
Command + Fto find within the current document; useCommand + Option + Fto find and replace. - Word Count: Displayed in real time in the bottom status bar. More detailed statistics can be viewed in the menu bar under
Tools > Word Count.
4. Final Document Export
Haste supports exporting documents in multiple formats.
- Make sure the document is saved (
Command + S). - Click the menu bar
File > Export.... - In the pop-up window, select the export format:
- Plain Text (.txt)
- HTML Document (.html): Converts Markdown into a complete HTML file.
- PDF Document (.pdf): Generates a beautifully typeset PDF file.
- Word Document (.docx)
- Choose the save location and click “Export”.
Tip: When exporting to HTML or PDF, Haste applies built-in, elegantly designed CSS styles, giving the output document excellent readability and visual appeal.
III. Advanced Tips for Common Features
- Multi-cursor editing: Hold the
Optionkey and click at different positions to create multiple cursors, enabling simultaneous editing of multiple text locations. - Line operations: Use
Command + Shift + Lto quickly select the current line (no need for precise mouse dragging). UseCommand + ]andCommand + [to increase or decrease the indentation of the current line or selected lines. - Document theme switching: In
Haste > Preferences > General, you can switch the editor’s appearance theme (such as light/dark), as well as adjust the font and font size, to create the most comfortable writing environment. - Focus Mode: Through the menu bar
View > Enter Focus Modeor the shortcutCommand + Shift + F, you can hide all interface elements (including the menu bar), leaving only the line of text you are currently editing highlighted, helping you become fully immersed in writing. - Custom snippets: In the “Snippets” option in Preferences, you can create custom text snippets. For example, type
sigand press Tab to automatically expand it into your full signature. This greatly improves the efficiency of entering repetitive content.
IV. Common Problems and Solutions
- Problem 1: When opening a .md file, Chinese characters appear as garbled text.
Solution: This is usually caused by a file encoding mismatch. Try using the menu bar
File > Reopen with Encoding..., then select the correct encoding (such as “Simplified Chinese (GB 18030)”, “Unicode (UTF-8)”, etc.). When saving, it is recommended to use UTF-8 encoding consistently. - Problem 2: The format of the exported PDF or HTML file is inconsistent with the preview in the editor.
Solution: First, check whether the Markdown syntax is correctly closed (for example, whether a code block is missing the closing backticks). Second, before exporting, you can try confirming the rendering effect in “Preview Mode” (
Command + Shift + P). Some complex syntax may require support from a specific Markdown parser. - Issue 3: Shortcut conflicts or no response.
Solution: Check whether macOS system shortcut settings (System Preferences > Keyboard > Shortcuts) or other global shortcut apps (such as Alfred, BetterTouchTool) are occupying the same shortcuts. You can also check or reset shortcuts in Haste’s preferences.
- Issue 4: The sidebar or formatting toolbar is missing. How do I get it back?
Solution: All show/hide controls for interface elements are under the
Viewmenu. UseCommand + Option + Sto toggle the sidebar, andCommand + Option + Tto toggle the formatting toolbar.
V. Haste for Mac Shortcuts Summary Table
| Function Category | Action Description | Shortcut (Mac) |
|---|---|---|
| File Operations | New Document | Command + N |
| Open Document | Command + O |
|
| Save Document | Command + S |
|
| Save As | Command + Shift + S |
|
| Export Document | Command + E |
|
| Editing Operations | Undo | Command + Z |
| Redo | Command + Shift + Z |
|
| Cut | Command + X |
|
| Copy | Command + C |
|
| Paste | Command + V |
|
| Select All | Command + A |
|
| Formatting Operations | Bold | Command + B |
| Italic | Command + I |
|
| Insert Link | Command + K |
|
| Increase Indent | Command + ] |
|
| View & Navigation | Find | Command + F |
| Find and Replace | Command + Option + F |
|
| Toggle Sidebar | Command + Option + S |
|
| Toggle Preview Mode | Command + Shift + P |
|
| Enter/Exit Focus Mode | Command + Shift + F |
|
| Other Useful | Select Current Line | Command + Shift + L |
| Show Word Count Statistics | Command + Shift + C |
|
| Duplicate Current Line (when nothing is selected) | Command + D |








