Snippet above makes
p key into a modifier key. This only works for old Karabiner on El Captain. I am still not certain how it will look like in Sierra.
- You can probably use this to achieve this behaviour on Sierra but I have not tested it.