ZepMode_Standard) provides a familiar editing experience similar to notepad or common text editors. This mode uses conventional keyboard shortcuts that work across most desktop applications.
Standard mode is designed to feel like a typical text editor. It always stays in insert mode and uses standard shortcuts for clipboard operations.
Overview
Standard mode features:- Always in insert mode (no mode switching)
- Standard clipboard shortcuts (Ctrl+C, Ctrl+V, Ctrl+X)
- Shift-based text selection
- Familiar undo/redo (Ctrl+Z, Ctrl+Y)
- Insert cursor type by default
- Undo operations grouped by continuous typing
Basic Editing
Text Input
Text Input
Insertion and Deletion
- Type to insert text at cursor
<Backspace>- Delete character before cursor<Del>- Delete character under cursor or selected text<Return>- Insert newline<Tab>- Insert tab character
Navigation
Arrow Keys
Arrow Keys
Line Navigation
Line Navigation
Text Selection
Selection Commands
Selection Commands
Hold
Shift while navigating to select text:Character Selection
<Shift-Left>- Extend selection left<Shift-Right>- Extend selection right<Shift-Up>- Extend selection up<Shift-Down>- Extend selection down
Word Selection
<Ctrl-Shift-Left>- Extend selection left by word<Ctrl-Shift-Right>- Extend selection right by word
Select All
<Ctrl-A>- Select all text in buffer
Clipboard Operations
Copy, Cut, and Paste
Copy, Cut, and Paste
Undo and Redo
History Navigation
History Navigation
Additional Features
Font and File Operations
Font and File Operations
Mode Switching
Escape Key
Escape Key
Unlike Vim mode, pressing
<Escape> in Standard mode simply returns to insert mode (which is already the current mode). This prevents confusion for users who might accidentally press Escape.Implementation Details
Standard mode is implemented in
src/mode_standard.cpp:4-21 with a focus on simplicity and familiarity. The mode sets the InsertModeGroupUndo and StayInInsertMode flags to provide notepad-like behavior.Key Differences from Vim Mode
| Feature | Standard Mode | Vim Mode |
|---|---|---|
| Default state | Always insert mode | Normal mode |
| Cursor type | Insert (vertical bar) | Block in normal, bar in insert |
| Selection | Shift + arrows | Visual mode (v/V) |
| Clipboard | Ctrl+C/V/X | y/p/P with registers |
| Undo grouping | Group by typing session | Per-command |
Usage Example
Related
Vim Mode
Learn about the alternative Vim editing mode
Keymapping
Customize standard mode keybindings
