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.
| Key | Action | Action ID |
|---|---|---|
C-n | New | file.new |
C-s | Save | file.save |
C-S-s | Save As… | file.save_as |
C-w | Close | file.close |
C-S-w | Close All Tabs | file.close_all |
C-S-t | Reopen Closed Tab | file.reopen_closed |
C-f | Find… | edit.find |
C-h | Find & Replace | edit.replace |
C-S-f | Search in Workspace | search.workspace |
C-g | Number | nav.goto_line |
C-d | Select All Occurrences | edit.select_all_occurrences |
C-S-d | Duplicate Line | edit.duplicate_line |
C-S-k | Cut Line | cut_line |
C-j | Join Lines | edit.join_lines |
C-/ | Comment | edit.toggle_comment |
C-m | Jump to Matching Bracket | edit.match_bracket |
Where your Notepad++ features went
| In Notepad++ | In Vix |
|---|---|
| Tabs, and reopening the last session | Tabs; the last session reopens by default4 |
| Find in Files, Replace in Files | Workspace search and replace (Ctrl+Shift+F above)5 |
| Macro recording and saved macros | Edit → Macro → Record, Play and Save…6 |
| Column mode | Column selection: Edit → Select → Column Select Up/Down, Alt+Shift+Up/Down by default7 |
| Multi-editing | Multiple carets and select all occurrences7 |
| Encoding menu | File → Reopen with Encoding… and Save with Encoding…; the encoding is kept byte for byte8 |
| EOL conversion | Line endings are detected and kept, and the Edit menu converts them (edit.eol_lf, edit.eol_crlf)9 |
| Session snapshot and periodic backup | Hot exit: unsaved buffers come back after a crash10 |
| Compare plugin | Compare With File, side by side11 |
| Opening very large files | The large file viewer12 |
| Plugins Admin | Rhai scripts and plugins13 |
| Syntax highlighting | Tree-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
- Migrating from another editor.
- Vix for Sublime Text users: the keymap this page recommends.
- Macros, File encodings and Multiple cursors.
Vix™ and Vix IDE™ are trademarks.
-
F1lists the active keymap’s keys:tui/tests/integration/keymaps.rs,help_overlay_includes_the_active_keymap_chords. ↩ -
A
keybindings.tomlentry wins over the active keymap:tui/tests/integration/keymaps.rs,key_override_wins_over_a_builtin_keymap_binding. ↩ -
restore_sessiondefaults totrueincrates/vix-settings/src/lib.rs; the round trip:tui/tests/integration/workspace.rs,session_snapshot_and_restore_round_trip. ↩ -
tui/tests/integration/workspace.rs,workspace_search_finds_matches_across_filesandworkspace_replace_rewrites_files. ↩ -
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. ↩ -
tui/tests/integration/editing.rs,select_all_occurrences_creates_multi_carets,ctrl_d_adds_a_caret_and_edits_all_occurrencesandcolumn_select_block_edits_multiple_lines. ↩ ↩2 -
crates/vix-encoding/src/lib.rs,every_choice_round_trips_byte_for_byteandunmappable_characters_refuse_to_encode; the choosers:tui/tests/integration/editing.rs,encoding_choosers_convert_and_reopen. ↩ -
Detection:
tui/tests/integration/editing.rs,line_ending_detects_crlf; conversion:text_transforms_squeeze_eol_and_rot13. ↩ -
tui/tests/integration/hot_exit.rs,a_crashed_buffer_round_trips_through_its_backup. ↩ -
tui/tests/integration/compare.rs,opens_both_files_side_by_side_with_marks. ↩ -
tui/tests/integration/large_file.rs,open_in_large_file_viewer_navigates_a_multi_megabyte_file. ↩ -
Rhai scripts add palette commands and key bindings:
tui/tests/integration/scripting.rs,script_command_appears_in_the_command_paletteanda_scripts_bind_key_request_actually_fires_through_on_key; plugins are enabled and disabled from a chooser:plugin_chooser_enables_and_disables_a_plugin. ↩ -
The grammars compiled in by default are the
syntax-commonfeature intui/Cargo.toml. ↩ -
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. ↩ -
Breakpoints and the debugger actions:
tui/tests/integration/debugger.rs,edit_breakpoint_sets_condition_hit_count_and_log_message. ↩ -
Stage and commit, blame:
tui/tests/integration/git.rs,git_panel_stages_and_commitsandgit_blame_annotates_the_current_line. ↩ -
tui/tests/integration/terminals.rs,several_terminals_each_get_their_own_keys. ↩ -
persistent_undodefaults totrueincrates/vix-settings/src/lib.rs; the tree view:tui/tests/integration/undo_tree.rs,moving_the_selection_previews_and_enter_keeps_the_state. ↩ -
Release targets for macOS, Linux and Windows on x86-64 and ARM:
dist-workspace.toml. ↩ -
Experimental.
tui/tests/remote_ui.rs,open_remote_connects_saves_survives_a_lost_connection_and_reconnects; see remote editing. ↩