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 IntelliJ and JetBrains users

IntelliJ IDEA and the other JetBrains IDEs analyze code with their own engines and offer deep refactorings, database tools and framework support. Vix is a terminal editor that gets its language features from language servers and ships a debugger, a Git client and a terminal in one binary. This page shows which of your IntelliJ keys work in Vix’s two IntelliJ keymaps, what is different, and where a JetBrains IDE is still the better tool.

Claims about JetBrains IDEs describe their documented defaults; see the IntelliJ IDEA documentation. Every claim about Vix cites the test or file that checks it.

Turn on an IntelliJ keymap

Pick View → Keymap… → IntelliJ macOS or IntelliJ Windows, or set keymap = "intellij-macos" or "intellij-windows" in config.toml.1 In a terminal, Ctrl stands in for Cmd on macOS. F1 lists every key the active keymap binds.2

Your keys

These rows are copied from the generated keybindings references; a test fails if a row here stops matching them. The keys every keymap shares (F2 rename, F12 go to definition, Ctrl+Space completion, Alt+Left back) are in the shared bindings.

IntelliJ macOS

From the IntelliJ macOS reference:

KeyActionAction ID
C-S-aCommand Palettetools.palette
C-oGo to Symbolnav.goto_symbol
C-S-oOpen…file.open
C-A-oGo to Symbol in Workspacenav.goto_workspace_symbol
C-lNumbernav.goto_line
C-bGo to Definitionnav.goto_definition
C-fFind…edit.find
C-rFind & Replaceedit.replace
C-gFind Nextedit.find_next
C-S-gFind Previousedit.find_prev
C-S-fSearch in Workspacesearch.workspace
C-S-rSearch and Replace in Workspacesearch.workspace_replace
C-dDuplicate Lineedit.duplicate_line
C-/Commentedit.toggle_comment
C-A-lFormat Documentlsp.format
C-,Settings…vix.settings
C-sSavefile.save
C-S-sSave As…file.save_as
C-wClosefile.close

IntelliJ Windows

From the IntelliJ Windows reference:

KeyActionAction ID
C-S-aCommand Palettetools.palette
C-nGo to Symbolnav.goto_symbol
C-S-nOpen…file.open
C-A-oGo to Symbol in Workspacenav.goto_workspace_symbol
C-gNumbernav.goto_line
C-bGo to Definitionnav.goto_definition
C-fFind…edit.find
C-rFind & Replaceedit.replace
C-S-fSearch in Workspacesearch.workspace
C-S-rSearch and Replace in Workspacesearch.workspace_replace
C-dDuplicate Lineedit.duplicate_line
C-/Commentedit.toggle_comment
C-A-lFormat Documentlsp.format
C-sSavefile.save
C-S-sSave As…file.save_as
C-wClosefile.close

The two keymaps differ in the “go to” family: Ctrl+O / Ctrl+L on macOS, Ctrl+N / Ctrl+G on Windows.3

What is different

  • Language features come from language servers. Completion, rename, references, code actions, call hierarchy and formatting work through LSP, and the usual server for a language starts once you trust the workspace.4 Install the server yourself (rust-analyzer, jdtls, pyright, …); see Language servers.
  • The debugger is menu-driven. Breakpoints, conditions, hit counts and log messages are set from the Run menu, for any Debug Adapter Protocol adapter.5
  • Local history is the undo tree. Undo history persists across sessions and branches, and Edit → Undo Tree… browses it.6
  • Settings are TOML, in config.toml (Ctrl+, runs Settings… in the macOS keymap); see Configuration.

What Vix adds

  • It runs in a terminal, so it works over SSH and in tmux; remote folders open with File → Open Remote….7
  • A Git panel that stages and commits, and blame.8
  • Integrated terminals.9
  • Search and replace across the workspace, with results you can edit in place.10

Where a JetBrains IDE is the better choice

  • Code analysis and refactoring for the languages it targets, especially Java and Kotlin, go further than a language server.
  • Framework, database and profiling tools, which Vix does not attempt at the same depth.
  • A desktop GUI with visual diff and merge, and graphical debugger views.

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. tui/tests/integration/keymaps.rs, intellij_go_to_family_differs_by_platform. ↩

  4. 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. ↩

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

  6. 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. ↩

  7. Experimental. tui/tests/remote_ui.rs, open_remote_connects_saves_survives_a_lost_connection_and_reconnects; see remote editing. ↩

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

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