Skip to content

Basic text editor for MacOS written in SwiftUI Free from tracking, annoying features, or unnecessary complexity.

Notifications You must be signed in to change notification settings

veylor-hq/editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

VeylorEditor

Demo

[Note] Click on image.
NURElHMMTT8

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.

✨ Features

  • 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: ⌘-

🛠️ Technologies Used

  • 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.

🚀 How to Build and Run

  1. Clone the repository:
    git clone https://github.com/veylor-hq/editor
  2. Open in Xcode: Navigate to the project directory and open VeylorEditor.xcodeproj in Xcode.
  3. Run: Select a macOS device and press the Run button (⌘R) to build and launch the application.

✅ TODO

  • 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.

License

  • MIT license, do whatever you want.

About

Basic text editor for MacOS written in SwiftUI Free from tracking, annoying features, or unnecessary complexity.

Topics

Resources

Stars

Watchers

Forks

Languages