Editing
Tabs, splits, Tree-sitter highlighting, multiple cursors, folding, Vim keys and more.
Tabs, groups and files#
- Tabs, split editor groups, back/forward navigation and session restore.
- File explorer with file-type icons, git status colors, drag and drop, filter, and collapse all.
- Quick open (
cmd+p), go to symbol, go to tab and a command palette (cmd+shift+p). - Auto save on focus change or after a delay.
- Whole-window zoom with
cmd+=,cmd+-andcmd+0.
Syntax highlighting#
Hm highlights with Tree-sitter for Go, TypeScript/JavaScript, Python, Rust, Java, C, C++, C#, Zig, Lua, Ruby, PHP, Protobuf, YAML, TOML, JSON, Bash, Make, Dockerfile, CSS, HTML, Markdown, SQL and common config files.
Editing#
- Multiple cursors and column selection:
alt+clickadds a cursor,alt+shift+dragselects a column,cmd+dadds the next occurrence. - Find and replace with regex, in the file or in a selection.
- Code folding, soft wrap, indent guides, auto-closing brackets and quotes.
- Auto indent (
none,keeporadvanced), tabs or spaces, and trimming trailing whitespace on save. - Markdown preview.
- An optional Vim keymap.
editor:
auto_indent: advanced # none | keep | advanced
tab_width: 4
insert_spaces: trueThemes#
Themes include Tokyo Night, and Hm can follow the system's light or dark setting.
Edit this page on GitHub