No description
Find a file
2026-02-26 13:47:29 +00:00
benches Fixed to_pos offset bug 2026-02-22 22:15:02 +00:00
src Don't use wrong cursor_id for refocus 2026-02-26 13:47:29 +00:00
.gitignore Began work on panes and buffers 2025-06-05 23:17:49 +01:00
Cargo.lock Switched to UTF-8 rope for buffer contents 2026-02-16 21:11:23 +00:00
Cargo.toml Switched to UTF-8 rope for buffer contents 2026-02-16 21:11:23 +00:00
README.md Better docs, temporarily disable markdown reflow 2026-02-19 22:32:10 +00:00

ZTE

Features

  • Buffers
  • Buffer switching
  • Prompt
  • Cursor selection
  • Basic cursor movement
  • Multiple panes
  • Pane creation/deletion
  • Open
  • Save
  • Save as
  • Move
  • Find
  • Search in buffer switcher
  • Syntax highlighting
  • Project search (including file path search)
  • Auto-indent (and related features)
  • Undo/redo
  • Ability to resize panes
  • Terminal buffers
  • Tabs

Todo

  • Replace

Issues to fix

  • Return should only complete block if matching delim has different ident

Keybindings

File & buffer manipulation

Buffers represent open files and are tracked independently of view panes.

Ctrl + n = New buffer
Ctrl + o = Open buffer
Ctrl + s = Save buffer
Ctrl + Shift + s = Save buffer as
Ctrl + m = Move buffer
Ctrl + b = Switch to buffer
Ctrl + q = Close buffer

Ctrl + t = New terminal pane (WIP)

Search and command prompt

Searching occurs across the repository that the current file resides in.

The command prompt provides access to more fine-grained commands.

Ctrl + Shift + o = Path search
Ctrl + Shift + f = Text search

Alt + Return = Open command prompt

Navigation & panes

Escape = Cancel current task or close editor

Alt + w = Select pane above
Alt + a = Select pane left
Alt + s = Select pane down
Alt + b = Select pane right

Alt + Shift + w = Create pane above
Alt + Shift + a = Create pane left
Alt + Shift + s = Create pane down
Alt + Shift + d = Create pane right

Alt + PageUp = Select tab above
Alt + PageDown = Select tab below

Alt + Shift + PageUp = Create tab above
Alt + Shift + PageDown = Create tab below

Alt + q = Close current pane

Alt + Equals = Grow current pane vertically
Alt + Subtract = Shrink current pane vertically

Editing

'Standard' non-modal editing controls apply, for the most-part

The mouse can be used to select and drag as one might expect

Ctrl + l = Go to line
Ctrl + Space = Select containing block
Ctrl + a = Select all
Ctrl + f = Open finder

PageUp = Scroll upward
PageDown = Scroll downward
Home = Scroll to top
End = Scroll to bottom

Ctrl + z = Undo
Ctrl + y = Redo
Ctrl + c = Copy
Ctrl + x = Cut
Ctrl + v = Paste
Ctrl + / = Comment line or selection
Ctrl + d = Duplicate line or selection

Search regex

When searching, a non-standard regex is supported in which:

  • Any inline whitespace matches any inline whitespace in the search
  • An inline regex expression can be included with @(...). For example, foo@([dl]) will match food and fool