Skip to content

Instantly share code, notes, and snippets.


Kristoffer Rene Eckhoff Doff3n

View GitHub Profile
kand / Nested Paragraph Systems in CQ5
Last active Aug 27, 2018
Sometimes nested paragraph systems are needed for special layout type components in CQ5. Here is a custom paragraph system that will overcome the issues related to nesting out of the box paragraph systems.
View Nested Paragraph Systems in CQ5
Set up your file structure for the innerParsys component:
-> parsys
-> new
- _cq_editConfig.xml
- .content.xml
- _cq_editConfig.xml
- .content.xml
- parsys.jsp
jpoehls / gist:2030795
Created Mar 13, 2012
Using CTRL+W to close tabs in Visual Studio
View gist:2030795

In Tools | Options | Keyboard...

  1. Add CTRL+W as a Global shortcut for Window.CloseDocumentWindow
  2. Remove the CTRL+W shortcut for Edit.SelectCurrentWord

The caveat to this is if you are used to using CTRL+W to select the current word. If you do, find another shortcut that works for that.