Advertisement
Guest User

Macro for notepad++ E+ Folding

a guest
Sep 4th, 2014
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.92 KB | None | 0 0
  1. <NotepadPlus>
  2.     <InternalCommands />
  3.     <Macros>
  4.         <Macro name="Trim Trailing and save" Ctrl="no" Alt="yes" Shift="yes" Key="83">
  5.             <Action type="2" message="0" wParam="42024" lParam="0" sParam="" />
  6.             <Action type="2" message="0" wParam="41006" lParam="0" sParam="" />
  7.         </Macro>
  8.         <Macro name="Add brackets to Eplus classes" Ctrl="no" Alt="no" Shift="no" Key="0">
  9.             <Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
  10.             <Action type="3" message="1601" wParam="0" lParam="0" sParam="(^[\w][^!]+.*Name$)([^=;]+;(\r\n)?[^=\r\n]+)$" />
  11.             <Action type="3" message="1625" wParam="0" lParam="2" sParam="" />
  12.             <Action type="3" message="1602" wParam="0" lParam="0" sParam="\1 #[\2 ]#" />
  13.             <Action type="3" message="1702" wParam="0" lParam="768" sParam="" />
  14.             <Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
  15.             <Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
  16.             <Action type="3" message="1601" wParam="0" lParam="0" sParam="=$" />
  17.             <Action type="3" message="1625" wParam="0" lParam="2" sParam="" />
  18.             <Action type="3" message="1602" wParam="0" lParam="0" sParam="= #{" />
  19.             <Action type="3" message="1702" wParam="0" lParam="768" sParam="" />
  20.             <Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
  21.             <Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
  22.             <Action type="3" message="1601" wParam="0" lParam="0" sParam=";(.*)([\r\n]+!-.*=)" />
  23.             <Action type="3" message="1625" wParam="0" lParam="2" sParam="" />
  24.             <Action type="3" message="1602" wParam="0" lParam="0" sParam=";\1 }#\2" />
  25.             <Action type="3" message="1702" wParam="0" lParam="768" sParam="" />
  26.             <Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
  27.             <Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
  28.             <Action type="3" message="1601" wParam="0" lParam="0" sParam=";([^!]+)#$" />
  29.             <Action type="3" message="1625" wParam="0" lParam="2" sParam="" />
  30.             <Action type="3" message="1602" wParam="0" lParam="0" sParam="; !-\1#" />
  31.             <Action type="3" message="1702" wParam="0" lParam="768" sParam="" />
  32.             <Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
  33.         </Macro>
  34.     </Macros>
  35.     <UserDefinedCommands>
  36.         <Command name="Launch in Firefox" Ctrl="yes" Alt="yes" Shift="yes" Key="88">firefox &quot;$(FULL_CURRENT_PATH)&quot;</Command>
  37.         <Command name="Launch in IE" Ctrl="yes" Alt="yes" Shift="yes" Key="73">iexplore &quot;$(FULL_CURRENT_PATH)&quot;</Command>
  38.         <Command name="Launch in Chrome" Ctrl="yes" Alt="yes" Shift="yes" Key="82">chrome &quot;$(FULL_CURRENT_PATH)&quot;</Command>
  39.         <Command name="Launch in Safari" Ctrl="yes" Alt="yes" Shift="yes" Key="70">safari &quot;$(FULL_CURRENT_PATH)&quot;</Command>
  40.         <Command name="Get php help" Ctrl="no" Alt="yes" Shift="no" Key="112">http://www.php.net/%20$(CURRENT_WORD)</Command>
  41.         <Command name="Google Search" Ctrl="no" Alt="yes" Shift="no" Key="113">http://www.google.com/search?q=$(CURRENT_WORD)</Command>
  42.         <Command name="Wikipedia Search" Ctrl="no" Alt="yes" Shift="no" Key="114">http://en.wikipedia.org/wiki/Special:Search?search=$(CURRENT_WORD)</Command>
  43.         <Command name="Open file" Ctrl="no" Alt="yes" Shift="no" Key="116">$(NPP_DIRECTORY)\notepad++.exe $(CURRENT_WORD)</Command>
  44.         <Command name="Open in another instance" Ctrl="no" Alt="yes" Shift="no" Key="117">$(NPP_DIRECTORY)\notepad++.exe $(CURRENT_WORD) -nosession -multiInst</Command>
  45.         <Command name="Send via Outlook" Ctrl="yes" Alt="yes" Shift="yes" Key="79">outlook /a &quot;$(FULL_CURRENT_PATH)&quot;</Command>
  46.     </UserDefinedCommands>
  47.     <PluginCommands />
  48.     <ScintillaKeys />
  49. </NotepadPlus>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement