lua/magictt/core/options.lua.
Line Numbers
Magictt uses hybrid line numbers for efficient navigation:- Relative line numbers make jumping with motion commands (like
5jor10k) more intuitive - The absolute number on the cursor line helps you know exactly where you are in the file
Tabs & Indentation
- Tab size: 4 spaces (aligns with Prettier defaults)
- Expand tabs: Tabs are converted to spaces for consistency across editors
- Auto-indent: New lines automatically inherit the indentation of the previous line
Line Wrapping
Search Settings
- Searching for
/hellomatches “hello”, “Hello”, and “HELLO” - Searching for
/Helloonly matches “Hello” (case-sensitive)
Cursor Line
Appearance
- True colors: Enables 24-bit RGB colors (requires a modern terminal)
- Dark background: Sets colorschemes to use dark variants
- Sign column: Always shows the sign column (for git signs, diagnostics, etc.) to prevent text shifting
Clipboard
Editing Behavior
Split Windows
- Vertical splits open to the right of the current window
- Horizontal splits open below the current window
File Management
File Explorer
LSP Diagnostics Configuration
Magictt configures how LSP diagnostics (errors, warnings, hints) are displayed:- Virtual text: Shows diagnostic messages inline with a bullet prefix and 4-space spacing
- Signs: Displays icons in the sign column for each diagnostic
- Underline: Underlines problematic code
- Insert mode: Diagnostics don’t update while typing (reduces distraction)
- Severity sort: Sorts diagnostics by severity (errors first)
Diagnostic signs (icons) are configured separately in
lua/magictt/lsp.lua. See LSP Setup for more details.Related Configuration
Keymaps
View all keyboard shortcuts and bindings
LSP Setup
Learn about language server configuration