Editing Files
An editor pane edits one file, with Vim's keys. Its text lives in the daemon, in a buffer, as a terminal's screen does, and each window showing it keeps a copy that it changes as you type, so a key never waits for the daemon.
:e src/main.rs edit a file in a new tab
:|Editor src/main.rs the same, beside the focused pane
:w write it
:q close the pane
These pages cover the editor, each listed with its sections:
- Files and Buffers: Opening a file, Folders, Buffers, Writing, Recovery.
- Languages and Language Servers: Languages, Language packs, Language servers, Trusted folders, Completion.
- Registers, Macros, and Marks: Registers, Macros, Marks.
- Substituting and Lines: Substituting, Lines.
- The Editor's View: Git signs, Agents' changes, Line numbers, Tabs and indenting, The view, Rendered Markdown.
- Editor Keys: Keys, Moving, Shown as you type, Lit matches, Jumps, Changing, Insert mode, The mouse, Known limits.