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 Notepad++ users

Notepad++ is a free Windows text editor: fast, tabbed, with macros, column editing, encoding conversion and a plugin manager. Vix keeps much of that everyday toolkit and adds a language server client, a debugger, a Git client and a terminal, in a terminal editor that also runs on macOS and Linux. This page shows which keymap to pick, where your Notepad++ features live in Vix, and where Notepad++ is still the better tool.

Claims about Notepad++ describe its documented defaults; see the Notepad++ User Manual. Every claim about Vix cites the test or file that checks it.

Pick a keymap

Vix has no Notepad++ keymap. The closest is the Sublime keymap: like Notepad++, it binds Ctrl+F to Find, Ctrl+H to Replace, Ctrl+Shift+F to Find in Files and Ctrl+G to Go to Line. Pick it from View → Keymap…, or set keymap = "sublime" in config.toml.1 The default Apple keymap is the other choice if you mostly use Ctrl+O, Ctrl+S and Ctrl+F. F1 lists every key the active keymap binds,2 and any key can be rebound in keybindings.toml (the counterpart of Notepad++’s Shortcut Mapper).3

These rows are copied from the generated Sublime keybindings reference; a test fails if a row here stops matching it. Compare each one with the key you remember from Notepad++ before relying on it: Ctrl+D, for one, selects every occurrence of the word here.

KeyActionAction ID
C-nNewfile.new
C-sSavefile.save
C-S-sSave As…file.save_as
C-wClosefile.close
C-S-wClose All Tabsfile.close_all
C-S-tReopen Closed Tabfile.reopen_closed
C-fFind…edit.find
C-hFind & Replaceedit.replace
C-S-fSearch in Workspacesearch.workspace
C-gNumbernav.goto_line
C-dSelect All Occurrencesedit.select_all_occurrences
C-S-dDuplicate Lineedit.duplicate_line
C-S-kCut Linecut_line
C-jJoin Linesedit.join_lines
C-/Commentedit.toggle_comment
C-mJump to Matching Bracketedit.match_bracket

Where your Notepad++ features went

In Notepad++In Vix
Tabs, and reopening the last sessionTabs; the last session reopens by default4
Find in Files, Replace in FilesWorkspace search and replace (Ctrl+Shift+F above)5
Macro recording and saved macrosEdit → Macro → Record, Play and Save…6
Column modeColumn selection: Edit → Select → Column Select Up/Down, Alt+Shift+Up/Down by default7
Multi-editingMultiple carets and select all occurrences7
Encoding menuFile → Reopen with Encoding… and Save with Encoding…; the encoding is kept byte for byte8
EOL conversionLine endings are detected and kept, and the Edit menu converts them (edit.eol_lf, edit.eol_crlf)9
Session snapshot and periodic backupHot exit: unsaved buffers come back after a crash10
Compare pluginCompare With File, side by side11
Opening very large filesThe large file viewer12
Plugins AdminRhai scripts and plugins13
Syntax highlightingTree-sitter highlighting14

On top of those, Vix has language servers (diagnostics, completion, rename),15 a debugger,16 a Git panel,17 integrated terminals,18 and persistent, branching undo.19 It runs on macOS, Linux and Windows,20 and edits remote folders over SSH.21

Where Notepad++ is the better choice

  • A native Windows window with mouse-first menus, toolbars and dialogs; Vix draws a character grid in a terminal.
  • Its plugin catalog, which covers far more than Vix’s Rhai scripts and plugins.
  • User-defined languages. Notepad++ lets you define highlighting for a new language from a dialog; Vix highlights the languages it has Tree-sitter grammars for.

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. restore_session defaults to true in crates/vix-settings/src/lib.rs; the round trip: tui/tests/integration/workspace.rs, session_snapshot_and_restore_round_trip. ↩

  5. tui/tests/integration/editing.rs, macro_records_and_replays_editor_keys; saved macros: crates/vix-macros/src/lib.rs, upsert_writes_and_replaces_by_name. ↩

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

  7. crates/vix-encoding/src/lib.rs, every_choice_round_trips_byte_for_byte and unmappable_characters_refuse_to_encode; the choosers: tui/tests/integration/editing.rs, encoding_choosers_convert_and_reopen. ↩

  8. Detection: tui/tests/integration/editing.rs, line_ending_detects_crlf; conversion: text_transforms_squeeze_eol_and_rot13. ↩

  9. tui/tests/integration/hot_exit.rs, a_crashed_buffer_round_trips_through_its_backup. ↩

  10. tui/tests/integration/compare.rs, opens_both_files_side_by_side_with_marks. ↩

  11. tui/tests/integration/large_file.rs, open_in_large_file_viewer_navigates_a_multi_megabyte_file. ↩

  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. The grammars compiled in by default are the syntax-common feature in tui/Cargo.toml. ↩

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

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

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

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

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

  19. Release targets for macOS, Linux and Windows on x86-64 and ARM: dist-workspace.toml. ↩

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