A simple text editor built in Rust, designed for minimalism and efficiency.
Typewriter is a lightweight text editor developed using Rust, focusing on providing a straightforward and efficient text editing experience. The project is currently in its initial development stages.
git clone https://github.com/sricharanandra/typewriter.git
cd typewriter
In your command line, try
cargo run <optional_file_name>
Please note that files outside the project directory are to be named with their file destination source.
- Running
cargo runwithout specifying a file will open an empty buffer.
- Ctrl-Q: Quit the editor. If there are unsaved changes, you'll be prompted to press Ctrl-Q three more times to confirm.
- Ctrl-S: Save the current file. If the file is new, you will be prompted to enter a filename.
- Ctrl-F: Search for text in the file.
- Use the arrow keys to navigate between matches.
- Press Enter to confirm the search or Esc to cancel.
- Arrow Keys: Move the cursor up, down, left, or right.
- PageUp / PageDown: Move the view up or down by one screen height.
- Home: Move the cursor to the beginning of the current line.
- End: Move the cursor to the end of the current line.
- Backspace: Delete the character before the cursor.
- Delete: Delete the character at the cursor.
Any other character key will insert that character at the cursor's position.