#editor #text #work

app zte

A buffer/window-driven text editor that takes inspiration from Howl

5 releases

0.1.4 May 31, 2022
0.1.3 Feb 14, 2022
0.1.2 Jan 11, 2022
0.1.1 Oct 2, 2020
0.1.0 Oct 2, 2020

#37 in Text editors

Download history 3/week @ 2022-03-03 14/week @ 2022-03-10 16/week @ 2022-03-17 1/week @ 2022-03-31 2/week @ 2022-04-07 12/week @ 2022-04-28 37/week @ 2022-05-05 64/week @ 2022-05-12 17/week @ 2022-05-19 40/week @ 2022-05-26 55/week @ 2022-06-02 2/week @ 2022-06-09 4/week @ 2022-06-16

105 downloads per month

GPL-3.0-or-later

340KB
3K SLoC

ZTE

Zesterer's Text Editor

ZTE editing Rust code

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

Keybindings

Text manipulation

Within an editor pane, 'standard' non-modal keybindings apply:

  • Arrow keys + page up + page down to move around the text

  • Control + arrow keys to move around the text word-wise

  • Shift + arrow keys to select text

  • Ctrl + X: Cut

  • Ctrl + C: Copy

  • Ctrl + V: Paste

  • Ctrl + D: Duplicate line or selection

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 to a new buffer

  • Ctrl + Q: Close the current buffer (unsaved data will be lost)

Misc

  • Esc: Cancel the current action (or close the editor)

Dependencies

~8MB
~156K SLoC