Skip to content

Editing

rafageist edited this page Dec 2, 2026 · 2 revisions

Editing

  • Highlighting for Python, XML, HTML, JavaScript, CSS, SCSS, JSON, Markdown, YAML, TOML, SQL and shell scripts; QWeb's <t> and t-* directives are marked in XML and HTML.
  • Indentation is kept on Enter, one level more after a :.
  • Undo and redo (Ctrl+Z, Ctrl+Y), cut, copy, paste and select all (Ctrl+X, Ctrl+C, Ctrl+V, Ctrl+A).
  • The bottom border shows * for unsaved changes and the line and column, Borland style; F2 (or Ctrl+S) saves.
  • Line endings are kept: a file written with \r\n is edited and saved with \r\n.

Search

  • Find and Replace in the file (Ctrl+F, Ctrl+R): case, whole words, regular expressions, direction, origin, a prompt on each replacement, or change all. Ctrl+L searches again.
  • Find in files (Shift+F2 or Ctrl+Shift+F) across the folder: git's file list when it is a repository, else every file but those in caches, virtual environments and node_modules, and compiled Python files; at most 20,000 files, 2,000 matches and 20 seconds, and a notice says when a limit stopped it. Files open in an editor are searched as they are there, saved or not. Enter on a result opens it.
  • Go to line (Ctrl+G).

Completion

Python completion opens as you type; Ctrl+Space, Ctrl+N or Edit > Complete asks for it. Some terminals do not pass Ctrl+Space on: Ctrl+N always works (see Troubleshooting). See Python Intelligence.

Clone this wiki locally