Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Vix™ for Atom users

Atom is discontinued. GitHub announced its sunset in June 2022 and archived the project and its repository that December. If you are still on Atom, or on a fork of it, this page is for moving to Vix: which keymap to pick, where each Atom feature you used lives in Vix, and what does not come across.

Claims about Atom describe the archived project as it was documented. Every claim about Vix cites the test or file that checks it.

Pick a keymap

Vix has no Atom keymap. The closest are the VSCode macOS and VSCode Windows keymaps (the two bind the same keys in a terminal): pick one from View → Keymap…, or set keymap = "vscode-macos" in config.toml.1 If your fingers know Sublime Text’s keys better, the Sublime keymap is the other choice. F1 lists every key the active keymap binds,2 and any key can be rebound in keybindings.toml.3

These rows are copied from the generated VS Code keybindings reference; a test fails if a row here stops matching it. Compare each one with the key you remember from Atom before relying on it.

KeyActionAction ID
C-pOpen…file.open
C-S-pCommand Palettetools.palette
C-bToggle Explorerview.explorer
C-S-eToggle Explorer Focusview.toggle_explorer_focus
C-fFind…edit.find
C-rFind & Replaceedit.replace
C-S-fSearch in Workspacesearch.workspace
C-/Commentedit.toggle_comment
C-S-lSelect All Occurrencesedit.select_all_occurrences
C-S-kCut Linecut_line
C-\Verticalview.split_vertical
`C-``Show/Hide Terminaltools.terminal
C-S-mDiagnostics…lsp.diagnostics
C-sSavefile.save
C-S-sSave As…file.save_as
C-wClosefile.close
C-S-tReopen Closed Tabfile.reopen_closed

In this keymap Ctrl+D adds the next occurrence of the word as another caret, one press at a time.4

Where your Atom features went

Atom shipped most of its features as bundled packages (the fuzzy finder, command palette, tree view, find and replace, and the GitHub package among them) and took the rest from its package registry, which was archived with the editor. In Vix the equivalents are built in:

In AtomIn Vix
Fuzzy finderThe file finder (Ctrl+P above) and the command palette, with @ for symbols, : for a line and > for commands5
Tree viewThe file explorer (Ctrl+B above)
Find and replace, project findFind, replace and workspace search and replace6
The GitHub package’s Git panelThe Git panel: stage, commit and blame7
Multiple cursorsSelect all occurrences, add the next one, column selection8
Language packagesTree-sitter highlighting9 and language servers10
Terminal packagesIntegrated terminals11
The Teletype packageCowork, opt-in and off in a default build12
init script and your own packagesRhai scripts and plugins13
ThemesBundled themes, picked from View → Theme14
config.csonconfig.toml; see Configuration

Vix also has a debugger for any Debug Adapter Protocol adapter,15 and persistent, branching undo.16

What does not come across

  • Packages. Atom packages were JavaScript or CoffeeScript on Electron; none of them run in Vix. Rhai scripts and plugins are a smaller, sandboxed extension system.
  • Settings, keymaps, snippets and styles are not imported. Copy settings by hand (see Migrating); Atom’s .cson snippets need converting to Vix’s JSON snippets (see Snippets).
  • A desktop window. Vix runs in a terminal; its desktop front ends are experimental.

See also


Vix™ and Vix IDE™ are trademarks.


  1. View → Keymap… sets the keymap setting: tui/tests/integration/keymaps.rs, view_keymap_submenu_actions_set_the_keymap. ↩

  2. F1 lists the active keymap’s keys: tui/tests/integration/keymaps.rs, help_overlay_includes_the_active_keymap_chords. ↩

  3. A keybindings.toml entry wins over the active keymap: tui/tests/integration/keymaps.rs, key_override_wins_over_a_builtin_keymap_binding. ↩

  4. tui/tests/integration/editing.rs, ctrl_d_adds_a_caret_and_edits_all_occurrences (VSCode macOS keymap). ↩

  5. The prefixes are Mode::from_input in crates/vix-palette/src/lib.rs. ↩

  6. Stage and commit, blame: tui/tests/integration/git.rs, git_panel_stages_and_commits and git_blame_annotates_the_current_line. ↩

  7. tui/tests/integration/editing.rs, select_all_occurrences_creates_multi_carets, ctrl_d_adds_a_caret_and_edits_all_occurrences and column_select_block_edits_multiple_lines. ↩

  8. The grammars compiled in by default are the syntax-common feature in tui/Cargo.toml. ↩

  9. Every LSP action against a mock server: tui/tests/integration/lsp.rs, every_lsp_action_applies_a_mock_servers_reply; servers start only in a trusted workspace: a_builtin_language_server_starts_only_in_a_trusted_workspace. ↩

  10. tui/tests/integration/terminals.rs, several_terminals_each_get_their_own_keys. ↩

  11. Compiled in only with the cowork Cargo feature, which the default full feature set in tui/Cargo.toml leaves out. See the Cowork specification. ↩

  12. Rhai scripts add palette commands and key bindings: tui/tests/integration/scripting.rs, script_command_appears_in_the_command_palette and a_scripts_bind_key_request_actually_fires_through_on_key; plugins are enabled and disabled from a chooser: plugin_chooser_enables_and_disables_a_plugin. ↩

  13. tui/tests/integration/menu.rs, view_theme_submenu_lists_bundled_themes. ↩

  14. Breakpoints and the debugger actions: tui/tests/integration/debugger.rs, edit_breakpoint_sets_condition_hit_count_and_log_message. ↩

  15. persistent_undo defaults to true in crates/vix-settings/src/lib.rs; the tree view: tui/tests/integration/undo_tree.rs, moving_the_selection_previews_and_enter_keeps_the_state. ↩