Skip to content

Latest commit

 

History

History
36 lines (32 loc) · 1.58 KB

README.md

File metadata and controls

36 lines (32 loc) · 1.58 KB

XLV (45) Editor

XLV is a lightweight minimal vim text editor written in Rust

Please note that this project is for learning purposes not to be assumed otherwise

Folder Structure

xlv/
│
├── src/
│   ├── editor/            # Core editor functionality
│   │   ├── mod.rs         # Editor module entry point
│   │   ├── buffer.rs      # Buffer management (for files)
│   │   ├── cursor.rs      # Cursor movement and positioning
│   │   ├── input.rs       # Input handling (keystrokes)
│   │   ├── renderer.rs    # Rendering text to terminal/screen
│   │   └── mode.rs        # Editor modes (normal, insert, visual)
│   ├── ui/                # UI components
│   │   ├── mod.rs         # UI module entry point
│   │   └── status_bar.rs  # Status bar display
│   ├── term/              # Terminal abstraction layer
│   │   ├── mod.rs         # Terminal module entry point
│   │   └── ansi.rs        # ANSI escape code handling for rendering
│   ├── config/            # Configuration and settings
│   │   ├── mod.rs         # Config module entry point
│   │   └── keymap.rs      # Key mappings for editor shortcuts
│   ├── main.rs            # Entry point of the program
│   └── lib.rs             # Library entry point
│
├── tests/                 # Unit and integration tests
├── Cargo.toml             # Rust dependencies and project metadata
└── README.md              # Project description