Skip to content

Vuta/kame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kame

A DIY text editor

demo.mov

Features - Motivation - Roadmap - Getting Started


Features

Here are some features that are present, planned, or in progress:

  • Insert / delete text
  • Saving files
  • Basic movement commands (cursor movement, etc.)
  • Incremental search
  • Undo / Redo
  • Syntax highlighting (planned)

Motivation

This project is meant to be a minimal, from-scratch text editor for learning and experimentation. The idea is to understand editor internals, build up from simple building blocks (buffer management, cursor movement, text insertion/deletion), and then layer more features as needed.

Roadmap

Here are things that are either in progress or planned:

  • Syntax highlighting
  • Word wrap
  • Directory/file browser integration
  • User configuration

Getting Started

Requirements

  • Rust toolchain (rustc, cargo)
  • A modern OS (Unix / Linux / macOS; Windows may need adjustments)

Installation

Clone the repository:

git clone https://github.com/Vuta/kame.git
cd kame

Build:

cargo build --release

Usage

Run the editor:

./target/release/kame <path-to-file>

Basic commands (to be implemented / in progress):

  • Move cursor: Ctrl-f/b/p/n - a/e
  • Insert / delete text
  • Save file: Ctrl-s
  • Incremental search: Ctrl-r & enter to jump to result
  • Undo / Redo: Ctrl-u / Ctrl-g

(As features are added, commands will evolve.)


About

A DIY text editor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages