nanorust 0.1.0

A terminal-based text editor written in Rust, inspired by GNU nano
Documentation
//! # Nano Rust Editor
//!
//! A terminal-based text editor written in Rust that emulates the functionality
//! and ease-of-use of GNU nano.
//!
//! ## Features
//!
//! - Full nano-compatible keybindings
//! - Syntax highlighting for multiple languages
//! - Undo/redo support
//! - Search and replace functionality
//! - Cut, copy, and paste operations
//! - Auto-indent and text formatting
//! - UTF-8 support
//!
//! ## Example
//!
//! ```no_run
//! use nanorust::{Editor, Config};
//!
//! fn main() -> nanorust::Result<()> {
//!     // Create editor with default configuration
//!     let mut editor = Editor::new()?;
//!     
//!     // Run the editor
//!     editor.run()?;
//!     
//!     Ok(())
//! }
//! ```

// Core modules
pub mod buffer;
pub mod editor;
pub mod terminal;
pub mod input;
pub mod display;
pub mod commands;
pub mod config;

// Feature modules
pub mod edit;
pub mod file;
pub mod search;
pub mod syntax;

// Error handling
pub mod error;

// Re-export commonly used types
pub use error::{EditorError, Result};
pub use editor::Editor;
pub use config::Config;