A simple and lightweight text editor for macOS built with SwiftUI.
VeylorEditor provides basic text editing functionalities, a clear user interface, and essential file management features.
It is designed to be a tool that "just works". Free from tracking, annoying features, or unnecessary complexity.
- File Operations: Create, open, and save text files.
- Save Status: The window title indicates unsaved changes.
- Font Controls: Increase or decrease the font size using menu commands or keyboard shortcuts.
- Real-time Status Bar: Displays the current cursor position (line and column) as well as the total character and line count.
- Keyboard Shortcuts:
- New File:
⌘N
- Open File:
⌘O
- Save File:
⌘S
- Increase Font Size:
⌘+
- Decrease Font Size:
⌘-
- New File:
- Swift: The programming language used to build the application.
- SwiftUI: The declarative UI framework for building the user interface.
- AppKit: Used for handling lower-level macOS-specific features like file panels and text views.
- Clone the repository:
git clone https://github.com/veylor-hq/editor
- Open in Xcode:
Navigate to the project directory and open
VeylorEditor.xcodeproj
in Xcode. - Run:
Select a macOS device and press the
Run
button (⌘R
) to build and launch the application.
- Markdown Preview: Integrate a live preview for Markdown files.
- VIM Mode: Add support for VIM keybindings.
- Command-line Launch: Enable launching the editor and opening a file directly from the terminal.
- MIT license, do whatever you want.