<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Notepad++ on MarkJacobsen.net</title><link>https://test.markjacobsen.net/tags/notepad++/</link><description>Recent content in Notepad++ on MarkJacobsen.net</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Mon, 12 Oct 2015 18:22:00 +0000</lastBuildDate><atom:link href="https://test.markjacobsen.net/tags/notepad++/index.xml" rel="self" type="application/rss+xml"/><item><title>Access a Console (including CYGWIN) from Notepad++</title><link>https://test.markjacobsen.net/2015/10/access-a-console-including-cygwin-from-notepad/</link><pubDate>Mon, 12 Oct 2015 18:22:00 +0000</pubDate><guid>https://test.markjacobsen.net/2015/10/access-a-console-including-cygwin-from-notepad/</guid><description>&lt;p&gt;If you’re regularly in Notepad++ you may find the &lt;a href="http://sourceforge.net/projects/nppconsole/" target="_blank"&gt;NPPConsole&lt;/a&gt; to be a huge help. With it you can access a windows console or even cygwin if you prefer (I do). To get started…&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://sourceforge.net/projects/nppconsole/" target="_blank"&gt;Download the NPPConsole Plugin&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Extract the dll to your n++/plugins directory&lt;/li&gt;
&lt;li&gt;Restart Notepad++ if it was already running&lt;/li&gt;
&lt;li&gt;Use the Plugin Manager to make sure the plugin is available&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If you want to just use the Windows console (DOS) you should be all set. To integrate with CYGWIN…&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Choose Plugins -&amp;gt; NppConsole -&amp;gt; About…&lt;/li&gt;
&lt;li&gt;In “Command to run” enter: C:\cygwin\bin\bash.exe ${–login -i}&lt;/li&gt;
&lt;li&gt;In Line number pattern after file name enter: :${LINE}&lt;/li&gt;
&lt;/ol&gt;</description></item><item><title>Remove Duplicate Lines in Notepad++</title><link>https://test.markjacobsen.net/2015/04/remove-duplicate-lines-in-notepad/</link><pubDate>Thu, 02 Apr 2015 18:31:00 +0000</pubDate><guid>https://test.markjacobsen.net/2015/04/remove-duplicate-lines-in-notepad/</guid><description>&lt;p&gt;If you’ve ever had the need to remove the duplicate lines from a long list of entries like so…&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;hi
bye
hi
guy
bye
hi
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;… and are looking for this…&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;hi
bye
guy
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You can use the find/replace feature in Notepad++ to do it if you use the regex funcationality. Here’s the find string…&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;^(.*?)$\s+?^(?=.*^\1$)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Just replace with a zero length string.&lt;/p&gt;
&lt;p&gt;If you’d like to read up on the details I &lt;a href="http://stackoverflow.com/questions/3958350/removing-duplicate-rows-in-notepad" target="_blank"&gt;found this tip here&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>