docs/blog/editing/index.md
February 11, 2026
The core text editing capabilities that make Fresh feel like a modern editor in your terminal.
Place your cursor on a word, press Ctrl+W to select it, then Ctrl+D to select the next occurrence. Repeat to select more. Type to replace them all simultaneously.
<div class="showcase-demo"> </div>Ctrl+H opens find-and-replace with live highlighting as you type. Supports regex with capture groups ($1, $2), find-in-selection, and a confirm-each toggle.
Alt+↑ and Alt+↓ move the current line (or selected lines) up and down. Works with multi-cursor selections.
<div class="showcase-demo"> </div>Alt+Shift+Arrow creates rectangular column selections — useful for editing aligned data, CSV columns, or repetitive code patterns. Block selections convert to multi-cursors when you start typing.
<div class="showcase-demo"> </div>Triple-click to select an entire line — matching the behavior you'd expect from any modern editor.
<div class="showcase-demo"> </div>Select lines and sort them alphabetically via the command palette.
<div class="showcase-demo"> </div>Select text and press Alt+U for uppercase or Alt+L for lowercase. When nothing is selected, it converts the word under the cursor.
<div class="showcase-demo"> </div>Duplicate the current line instantly via the command palette. Works with selections too.
<div class="showcase-demo"> </div>Select lines and press Tab to indent, Shift+Tab to dedent. Respects per-language tab settings (spaces vs. tabs).
<div class="showcase-demo"> </div>