Skip to content

Instantly share code, notes, and snippets.

@nopeless
Last active September 30, 2025 13:23
Show Gist options
  • Save nopeless/b18fe37105fd165cd9c637d4a2a2b48b to your computer and use it in GitHub Desktop.
Save nopeless/b18fe37105fd165cd9c637d4a2a2b48b to your computer and use it in GitHub Desktop.
generated via an LLM (USE AT YOUR OWN RISK)
<?xml version="1.0" encoding="UTF-8" ?>
<NotepadPlus>
<!--
This shortcuts.xml file is configured to reflect many common Visual Studio Code keybindings.
- Some default Notepad++ shortcuts have been changed.
- Not all VS Code shortcuts can be mapped due to feature differences (e.g., integrated terminal, debugger).
- Multi-key shortcuts from VS Code (e.g., Ctrl+K Ctrl+C) cannot be mapped directly. A single-key alternative has been used where available.
-->
<InternalCommands>
<!-- General File Operations -->
<Shortcut id="41001" Ctrl="yes" Alt="no" Shift="no" Key="78" /> <!-- New File: Ctrl+N -->
<Shortcut id="41002" Ctrl="yes" Alt="no" Shift="no" Key="79" /> <!-- Open File: Ctrl+O -->
<Shortcut id="41006" Ctrl="yes" Alt="no" Shift="no" Key="83" /> <!-- Save: Ctrl+S -->
<Shortcut id="41008" Ctrl="yes" Alt="no" Shift="yes" Key="83" /> <!-- Save As: Ctrl+Shift+S -->
<Shortcut id="41007" Ctrl="no" Alt="no" Shift="no" Key="0" /> <!-- Save All: No single key equivalent in VSCode, default is Ctrl+K S. Removing NPP default Ctrl+Shift+S -->
<Shortcut id="41003" Ctrl="yes" Alt="no" Shift="no" Key="87" /> <!-- Close: Ctrl+W -->
<Shortcut id="41004" Ctrl="yes" Alt="no" Shift="yes" Key="87" /> <!-- Close All: Ctrl+Shift+W (VSCode's "Close Window") -->
<Shortcut id="41021" Ctrl="yes" Alt="no" Shift="yes" Key="84" /> <!-- Restore Recent Closed File: Ctrl+Shift+T -->
<!-- Editing -->
<Shortcut id="42003" Ctrl="yes" Alt="no" Shift="no" Key="90" /> <!-- Undo: Ctrl+Z -->
<Shortcut id="42004" Ctrl="yes" Alt="no" Shift="no" Key="89" /> <!-- Redo: Ctrl+Y -->
<Shortcut id="42004" Ctrl="yes" Alt="no" Shift="yes" Key="90" /> <!-- Redo: Ctrl+Shift+Z -->
<Shortcut id="42001" Ctrl="yes" Alt="no" Shift="no" Key="88" /> <!-- Cut: Ctrl+X -->
<Shortcut id="42002" Ctrl="yes" Alt="no" Shift="no" Key="67" /> <!-- Copy: Ctrl+C -->
<Shortcut id="42005" Ctrl="yes" Alt="no" Shift="no" Key="86" /> <!-- Paste: Ctrl+V -->
<Shortcut id="42007" Ctrl="yes" Alt="no" Shift="no" Key="65" /> <!-- Select All: Ctrl+A -->
<Shortcut id="42014" Ctrl="no" Alt="yes" Shift="no" Key="38" /> <!-- Move Line Up: Alt+Up -->
<Shortcut id="42015" Ctrl="no" Alt="yes" Shift="no" Key="40" /> <!-- Move Line Down: Alt+Down -->
<Shortcut id="42010" Ctrl="no" Alt="yes" Shift="yes" Key="40" /> <!-- Duplicate Line Down: Shift+Alt+Down -->
<Shortcut id="42008" Ctrl="yes" Alt="no" Shift="no" Key="221" /> <!-- Indent: Ctrl+] -->
<Shortcut id="42009" Ctrl="yes" Alt="no" Shift="no" Key="219" /> <!-- Unindent: Ctrl+[ -->
<Shortcut id="42022" Ctrl="yes" Alt="no" Shift="no" Key="191" /> <!-- Toggle Line Comment: Ctrl+/ -->
<Shortcut id="42023" Ctrl="no" Alt="yes" Shift="yes" Key="65" /> <!-- Block Comment: Shift+Alt+A -->
<Shortcut id="42057" Ctrl="yes" Alt="no" Shift="yes" Key="13" /> <!-- Insert Line Above: Ctrl+Shift+Enter -->
<Shortcut id="42058" Ctrl="yes" Alt="no" Shift="no" Key="13" /> <!-- Insert Line Below: Ctrl+Enter -->
<!-- Search & Navigation -->
<Shortcut id="43001" Ctrl="yes" Alt="no" Shift="no" Key="70" /> <!-- Find: Ctrl+F -->
<Shortcut id="43003" Ctrl="yes" Alt="no" Shift="no" Key="72" /> <!-- Replace: Ctrl+H -->
<Shortcut id="43002" Ctrl="no" Alt="no" Shift="no" Key="114" /> <!-- Find Next: F3 -->
<Shortcut id="43010" Ctrl="no" Alt="no" Shift="yes" Key="114" /> <!-- Find Previous: Shift+F3 -->
<Shortcut id="43013" Ctrl="yes" Alt="no" Shift="yes" Key="70" /> <!-- Find in Files: Ctrl+Shift+F -->
<Shortcut id="43013" Ctrl="yes" Alt="no" Shift="yes" Key="72" /> <!-- Replace in Files: Ctrl+Shift+H (opens same dialog) -->
<Shortcut id="43004" Ctrl="yes" Alt="no" Shift="no" Key="71" /> <!-- Go to Line: Ctrl+G -->
<Shortcut id="43009" Ctrl="yes" Alt="no" Shift="yes" Key="220" /> <!-- Go to Matching Brace: Ctrl+Shift+\ -->
<!-- View -->
<Shortcut id="44022" Ctrl="no" Alt="yes" Shift="no" Key="90" /> <!-- Toggle Word Wrap: Alt+Z -->
<Shortcut id="44023" Ctrl="yes" Alt="no" Shift="no" Key="187" /> <!-- Zoom In: Ctrl+= -->
<Shortcut id="44023" Ctrl="yes" Alt="no" Shift="no" Key="107" /> <!-- Zoom In: Ctrl+Numpad+ -->
<Shortcut id="44024" Ctrl="yes" Alt="no" Shift="no" Key="189" /> <!-- Zoom Out: Ctrl+- -->
<Shortcut id="44024" Ctrl="yes" Alt="no" Shift="no" Key="109" /> <!-- Zoom Out: Ctrl+Numpad- -->
<Shortcut id="44033" Ctrl="yes" Alt="no" Shift="no" Key="96" /> <!-- Restore Default Zoom: Ctrl+Numpad0 -->
<Shortcut id="44032" Ctrl="no" Alt="no" Shift="no" Key="122" /> <!-- Toggle Full Screen: F11 -->
<Shortcut id="10001" Ctrl="yes" Alt="no" Shift="no" Key="220" /> <!-- Split Editor (Move to Other View): Ctrl+\ -->
<Shortcut id="44072" Ctrl="yes" Alt="no" Shift="no" Key="49" /> <!-- Focus View 1 (Toggle): Ctrl+1 -->
<Shortcut id="44072" Ctrl="yes" Alt="no" Shift="no" Key="50" /> <!-- Focus View 2 (Toggle): Ctrl+2 -->
<Shortcut id="50004" Ctrl="yes" Alt="no" Shift="no" Key="34" /> <!-- Next Tab: Ctrl+PageDown -->
<Shortcut id="50003" Ctrl="yes" Alt="no" Shift="no" Key="33" /> <!-- Previous Tab: Ctrl+PageUp -->
<!-- Panels -->
<Shortcut id="44085" Ctrl="yes" Alt="no" Shift="no" Key="66" /> <!-- Toggle Sidebar (Folder as Workspace): Ctrl+B -->
<Shortcut id="43045" Ctrl="yes" Alt="no" Shift="no" Key="74" /> <!-- Toggle Panel (Search Results): Ctrl+J -->
<Shortcut id="44084" Ctrl="yes" Alt="no" Shift="no" Key="84" /> <!-- Go to Symbol in File (Function List): Ctrl+T (NPP default is Ctrl+Alt+Shift+F) -->
<!-- Folding -->
<Shortcut id="44030" Ctrl="yes" Alt="no" Shift="yes" Key="219" /> <!-- Fold: Ctrl+Shift+[ -->
<Shortcut id="44031" Ctrl="yes" Alt="no" Shift="yes" Key="221" /> <!-- Unfold: Ctrl+Shift+] -->
<!-- Command Palette (approximate) -->
<Shortcut id="48009" Ctrl="no" Alt="no" Shift="no" Key="112" /> <!-- Command Palette (Shortcut Mapper): F1 -->
<Shortcut id="48009" Ctrl="yes" Alt="no" Shift="yes" Key="80" /> <!-- Command Palette (Shortcut Mapper): Ctrl+Shift+P -->
<Shortcut id="50010" Ctrl="no" Alt="no" Shift="no" Key="0" />
<Shortcut id="50011" Ctrl="no" Alt="no" Shift="no" Key="0" />
</InternalCommands>
<Macros>
<Macro name="Trim Trailing Space and Save" Ctrl="no" Alt="yes" Shift="yes" Key="83">
<Action type="2" message="0" wParam="42024" lParam="0" sParam="" />
<Action type="2" message="0" wParam="41006" lParam="0" sParam="" />
</Macro>
</Macros>
<UserDefinedCommands>
<Command name="Get PHP help" Ctrl="no" Alt="yes" Shift="no" Key="112">https://www.php.net/$(CURRENT_WORD)</Command>
<Command name="Wikipedia Search" Ctrl="no" Alt="yes" Shift="no" Key="114">https://en.wikipedia.org/wiki/Special:Search?search=$(CURRENT_WORD)</Command>
<Command name="Open selected file path in new instance" Ctrl="no" Alt="yes" Shift="no" Key="117">$(NPP_FULL_FILE_PATH) $(CURRENT_WORD) -nosession -multiInst</Command>
</UserDefinedCommands>
<PluginCommands />
<ScintillaKeys>
<!-- Scintilla commands map directly to the editor component for actions not in the main menu -->
<ScintillaKey ScintillaID="2315" Ctrl="yes" Alt="no" Shift="yes" Key="75" /> <!-- Delete Line: Ctrl+Shift+K -->
<ScintillaKey ScintillaID="2454" Ctrl="yes" Alt="no" Shift="no" Key="76" /> <!-- Select Line: Ctrl+L -->
<ScintillaKey ScintillaID="2318" Ctrl="no" Alt="yes" Shift="yes" Key="38" /> <!-- Duplicate Line Up: Shift+Alt+Up -->
<ScintillaKey ScintillaID="2595" Ctrl="yes" Alt="no" Shift="no" Key="68" /> <!-- Add Selection to Next Find Match (Multi-Cursor): Ctrl+D -->
<ScintillaKey ScintillaID="2335" Ctrl="yes" Alt="no" Shift="no" Key="8" /> <!-- Delete Word Left: Ctrl+Backspace -->
<ScintillaKey ScintillaID="2336" Ctrl="yes" Alt="no" Shift="no" Key="46" /> <!-- Delete Word Right: Ctrl+Delete -->
</ScintillaKeys>
</NotepadPlus>
@AWeheid
Copy link

AWeheid commented Aug 9, 2025

Awesome! Almost everything I used in VSCode is available in Notepad++! You bring me back to Notepad++ :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment