Paste frequent text with short cuts in Notepad++ [Hack Your Day]

I’ve been ranting on and on about how I love Notepad++, and recently I’ve started looking ore and more at, let me share a cool feature I found which lets you create keyboard shortcuts for pasting anything really. This helps my productivity to no end, especially when writing html or css code.

I use comments a lot when first creating a design so I know where I am later on too. Creating a comment in html means you have to write the following code <!-- Comment Here -->. This can get a bit tedious, especially at the beginning, when I add a comment below all my div containers, and also at their closing tag. For this reason I created a macro to paste comment tags quickly.

In Notepad++, just go to the macro menu and choose start recording. Tye the desired text anywhere on screen, in my example I wrote <!-- -->, and then go to the macro menu again, and click stop recording. You will need to go to the menu again and click “save currently recorded macro”. You can now set the key combination for it, I use a combination of the control and shift key, plus a letter usually.

Original post here: Daniel

22 May 2008 | Desktop Software, Notepad++, Productivity, Short Cut | Comments

Comments:

  1.  
  2.  
  3.