https://github.com/zesterer/zte
Zesterer's Text Editor
https://github.com/zesterer/zte
rust text-editor
Last synced: 9 months ago
JSON representation
Zesterer's Text Editor
- Host: GitHub
- URL: https://github.com/zesterer/zte
- Owner: zesterer
- Created: 2019-07-11T18:25:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-04T16:52:03.000Z (almost 2 years ago)
- Last Synced: 2025-02-04T00:57:29.559Z (11 months ago)
- Topics: rust, text-editor
- Language: Rust
- Size: 603 KB
- Stars: 21
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ZTE
Zesterer's Text Editor
# 
## What
ZTE is a personal project. I grew frustrated with existing text editors and wanted something that worked exactly as I liked. This is not designed to be a general-purpose text editor with lots of fancy bells and whistles - it's supposed to work as I want it to and no more besides.
## Features
- Multi-pane editor
- Clipboard support
- Buffers are independent of editors
- Buffer switching and opening
- Automatic indentation
- Syntax highlighting for
- `.rs`
- `.toml`
- `.glsl`
- `.ron`
- `.md`
- `.log`
- `.tao`
## Keybindings
### Text manipulation
Within an editor pane, 'standard' non-modal keybindings apply:
- Arrow keys + page up + page down to move around the text
- Ctrl + arrow keys to move around the text word-wise
- Shift + arrow keys to select characters
- Shift + ctrl + arrow keys to select words
- `Ctrl + X`: Cut
- `Ctrl + C`: Copy
- `Ctrl + V`: Paste
- `Ctrl + D`: Duplicate line or selection
The DE clipboard will be used where possible.
### Editor pane manipulation
- `Alt + W/A/S/D`: Switch to the next editor pane in the given direction
- `Alt + Shift + W/A/S/D`: Create a new editor pane in the given direction
- `Alt + Q`: Close the current editor pane
### Buffer manipulation
- `Ctrl + O`: Open a file in a new buffer (or reuse an existing buffer if the file is already open)
- `Ctrl + S`: Save the current buffer
- `Ctrl + N`: Create a new buffer (currently not useful until saving buffers with new names is implemented, use `Ctrl + O` instead to create a new file)
- `Ctrl + B`: Switch the current editor pane between recent buffers
- `Ctrl + Q`: Close the current buffer (unsaved data will be lost)
### Misc
- `Esc`: Cancel the current action (or close the editor)